From 272ce679dccd8fdcfc9f400109e3d40bb4c20357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Fri, 14 Sep 2018 23:30:14 +0800 Subject: [PATCH] Update translate.js --- src/js/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/translate.js b/src/js/translate.js index c797f63..a46bc7e 100644 --- a/src/js/translate.js +++ b/src/js/translate.js @@ -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); }