From a9500e29dd5cd9c7bcb0459267e6b92e9f0ec602 Mon Sep 17 00:00:00 2001 From: Shengbin Meng Date: Tue, 28 Mar 2017 21:55:54 +0800 Subject: [PATCH] Add language "zh" as alias of "zh_CN" --- isso/js/app/i18n.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/isso/js/app/i18n.js b/isso/js/app/i18n.js index 1ec5ca2..461cbdb 100644 --- a/isso/js/app/i18n.js +++ b/isso/js/app/i18n.js @@ -2,8 +2,8 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/de", "app/i18n/en", "app/i18n/fa", "app/i18n/fi", "app/i18n/fr", "app/i18n/hr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", "app/i18n/es", - "app/i18n/vi", "app/i18n/zh_CN", "app/i18n/zh_TW"], - function(config, bg, cs, de, en, fa, fi, fr, hr, ru, it, eo, sv, nl, el, es, vi, zh_CN, zh_TW) { + "app/i18n/vi", "app/i18n/zh_CN", "app/i18n/zh_CN", "app/i18n/zh_TW"], + function(config, bg, cs, de, en, fa, fi, fr, hr, ru, it, eo, sv, nl, el, es, vi, zh, zh_CN, zh_TW) { "use strict"; @@ -23,6 +23,7 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/de", case "sv": case "nl": case "vi": + case "zh": case "zh_CN": case "zh_TW": return function(msgs, n) { @@ -71,6 +72,7 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/de", sv: sv, nl: nl, vi: vi, + zh: zh_CN, zh_CN: zh_CN, zh_TW: zh_TW };