This commit is contained in:
2018-09-14 23:34:36 +08:00
parent 272ce679dc
commit 60b2b76e95
5 changed files with 40 additions and 104 deletions
+1 -1
View File
@@ -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);
}