Oscar Scholten pushed to branch feature/chinese-translation at cms-community / 
hippo-cms


Commits:
36afdd78 by Oscar Scholten at 2016-06-03T11:49:55+02:00
CMS-10127 Adding proper Chinese translations for date picker

- - - - -


1 changed file:

- 
api/src/main/java/org/hippoecm/frontend/plugins/yui/inc/hippo/281/datetime/datetime.js


Changes:

=====================================
api/src/main/java/org/hippoecm/frontend/plugins/yui/inc/hippo/281/datetime/datetime.js
=====================================
--- 
a/api/src/main/java/org/hippoecm/frontend/plugins/yui/inc/hippo/281/datetime/datetime.js
+++ 
b/api/src/main/java/org/hippoecm/frontend/plugins/yui/inc/hippo/281/datetime/datetime.js
@@ -313,12 +313,12 @@ if (!YAHOO.hippo.DateTime) {
                         cfg.setProperty("START_WEEKDAY",  ["1"]);
                     },
                     zh: function(cfg) {
-                        cfg.setProperty("MONTHS_LONG",    ["ZH", "ZH", "ZH", 
"ZH", "ZH", "ZH", "ZH", "ZH", "ZH", "ZH", "ZH", "ZH"]);
-                        cfg.setProperty("MONTHS_SHORT",   ["ZH", "ZH", "ZH", 
"ZH", "ZH", "ZH", "ZH", "ZH", "ZH", "ZH", "ZH", "ZH"]);
-                        cfg.setProperty("WEEKDAYS_LONG",  ["ZH", "ZH", "ZH", 
"ZH", "ZH", "ZH", "ZH"]);
-                        cfg.setProperty("WEEKDAYS_MEDIUM",["ZH", "ZH", "ZH", 
"ZH", "ZH", "ZH", "ZH"]);
-                        cfg.setProperty("WEEKDAYS_SHORT", ["ZH", "ZH", "ZH", 
"ZH", "ZH", "ZH", "ZH"]);
-                        cfg.setProperty("WEEKDAYS_1CHAR", ["Z", "Z", "Z", "Z", 
"Z", "Z", "Z"]);
+                        cfg.setProperty("MONTHS_LONG",    ["一月份", "二月份", 
"三月份", "四月份", "五月份", "六月份", "七月份", "八月份", "九月份", "十月份", "十一月份", "十二月份"]);
+                        cfg.setProperty("MONTHS_SHORT",   ["一月", "二月", "三月", 
"四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"]);
+                        cfg.setProperty("WEEKDAYS_LONG",  ["星期天", "星期一", 
"星期二", "星期三", "星期四", "星期五", "星期六"]);
+                        cfg.setProperty("WEEKDAYS_MEDIUM",["周日", "周一", "周二", 
"周三", "周四", "周五", "周六"]);
+                        cfg.setProperty("WEEKDAYS_SHORT", ["周日", "周一", "周二", 
"周三", "周四", "周五", "周六"]);
+                        cfg.setProperty("WEEKDAYS_1CHAR", ["日", "一", "二", "三", 
"四", "五", "六"]);
                         cfg.setProperty("START_WEEKDAY",  ["1"]);
                     }
                 }[lang];



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms/commit/36afdd785aefabf46558674679b3465f753e9377
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to