diff --git a/js/interface_localization.js b/js/interface_localization.js index 28e0d4b..83626bc 100644 --- a/js/interface_localization.js +++ b/js/interface_localization.js @@ -4,7 +4,7 @@ // uses Polyglot.js ( https://github.com/airbnb/polyglot.js ) to translate interface // translators: add your language code here such as "es" for Spanish, "ru" for Russian -var knownLanguages = ["en","es","nl","it","fr","ru","de","zh","ja","pt-BR","tr","uk","cs"]; +var knownLanguages = ["en","es","nl","it","fr","ru","de","zh-CN","ja","pt-BR","tr","uk","cs"]; if( $.Options.getOption('locLang','auto') == 'auto'){ // detect language with JavaScript @@ -845,8 +845,8 @@ if(preferredLanguage == "uk"){ }; } -if(preferredLanguage == "zh"){ - polyglot.locale("zh"); +if(preferredLanguage == "zh-CN"){ + polyglot.locale("zh-CN"); wordset = { "Actions ▼": "操作 ▼", "Active DHT nodes:": "活动的DHT节点: ", diff --git a/options.html b/options.html index c308014..2d4d6a4 100644 --- a/options.html +++ b/options.html @@ -75,7 +75,7 @@