Update translate.js
This commit is contained in:
parent
9f11e015ac
commit
272ce679dc
@ -21,7 +21,7 @@ function translateWord(text, lang, dictionary) {
|
||||
}
|
||||
}
|
||||
} else if (typeof text === 'string' && !text.match(/_tooltip$/)) {
|
||||
console.log('"' + text + '": {"en": "' + text + '", "de": "' + text + '", "ru": "' + text + '", "pt": "' + text + '", "nl": "' + text + '", "fr": "' + text + '", "es": "' + text + '", "pl": "' + text + '", "it": "' + text + '"},');
|
||||
console.log('"' + text + '": {"en": "' + text + '", "cn": "' + text + '"},');
|
||||
} else if (typeof text !== 'string') {
|
||||
console.warn('Trying to translate non-text:' + text);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user