From d50fff0a135ebcc6244851d17ceb6fcb5742c67e Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Tue, 16 Apr 2019 15:15:36 +0300 Subject: [PATCH] Update TRANSLATION.md --- TRANSLATION.md | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/TRANSLATION.md b/TRANSLATION.md index 0c7be4648..83402a602 100644 --- a/TRANSLATION.md +++ b/TRANSLATION.md @@ -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: @@ -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 @@ -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.