Skip to content

Commit

Permalink
Update TRANSLATION.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakan authored Apr 16, 2019
1 parent 4a29486 commit d50fff0
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions TRANSLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ If you feel the original text could be improved, please send a PR.
## Text in Code Blocks

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

Example:

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

✅ ALSO OKAY (also text):

```js
// Ejemplo
const text = 'Hola mundo';
document.querySelector('.hello').innerHTML = text;
```

❌ DON'T (translate class):
❌ DON'T (translate string or class):

```js
// Ejemplo
Expand All @@ -52,14 +43,6 @@ const text = 'Hola mundo';
document.querySelector('.hola').innerHTML = text;
```

❌ DEFINITELY DON'T (translate variables):

```js
// Ejemplo
const texto = 'Hola mundo';
documento.querySelector('.hola').interiorHTML = texto;
```

## External Links

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.
Expand Down

0 comments on commit d50fff0

Please sign in to comment.