From 236f2addcdfff0853529ac89e2661915a3e2684c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Sat, 22 Sep 2018 20:42:16 +0800 Subject: [PATCH] Update translate.js --- src/lib/js/translate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/js/translate.js b/src/lib/js/translate.js index 4006410..a79fae5 100644 --- a/src/lib/js/translate.js +++ b/src/lib/js/translate.js @@ -1,6 +1,6 @@ 'use strict'; -var systemLang = 'en'; +var systemLang = 'cn'; var systemDictionary = {}; function translateWord(text, lang, dictionary) { @@ -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 + '"},'); + console.log('"' + text + '": {"en": "' + text + '", "cn": "' + text + '"},'); } else if (typeof text !== 'string') { console.warn('Trying to translate non-text:' + text); }