Skip to content

Commit d50fff0

Browse files
authored
Update TRANSLATION.md
1 parent 4a29486 commit d50fff0

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

TRANSLATION.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ If you feel the original text could be improved, please send a PR.
1515
## Text in Code Blocks
1616

1717
- Translate comments in code blocks.
18-
- Translate example strings (optionally).
19-
- Don't translate variable names, ids, classes.
18+
- Don't translate strings, variable names, ids, classes, etc.
2019

2120
Example:
2221

@@ -34,15 +33,7 @@ const text = 'Hello, world';
3433
document.querySelector('.hello').innerHTML = text;
3534
```
3635

37-
✅ ALSO OKAY (also text):
38-
39-
```js
40-
// Ejemplo
41-
const text = 'Hola mundo';
42-
document.querySelector('.hello').innerHTML = text;
43-
```
44-
45-
❌ DON'T (translate class):
36+
❌ DON'T (translate string or class):
4637

4738
```js
4839
// Ejemplo
@@ -52,14 +43,6 @@ const text = 'Hola mundo';
5243
document.querySelector('.hola').innerHTML = text;
5344
```
5445

55-
❌ DEFINITELY DON'T (translate variables):
56-
57-
```js
58-
// Ejemplo
59-
const texto = 'Hola mundo';
60-
documento.querySelector('.hola').interiorHTML = texto;
61-
```
62-
6346
## External Links
6447

6548
If an external link is to Wikipedia, e.g. https://en.wikipedia.org/wiki/JavaScript, and a version of that article exists in your language that is of decent quality, consider linking to that version instead.

0 commit comments

Comments
 (0)