META-INF.resources.bower_components.globalize-languages.zh.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-globalize Show documentation
Show all versions of jwebmp-globalize Show documentation
The JWebSwing implementation for a full Globalization
The newest version!
(function ($) {
var cultures = Globalize.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["zh"] = $.extend(true, {}, en, {
name: "zh",
englishName: "Chinese",
nativeName: "中文",
language: "zh",
numberFormat: {
percent: {
pattern: ["-n%", "n%"]
},
currency: {
pattern: ["$-n", "$n"],
symbol: "¥"
}
},
calendars: {
standard: $.extend(true, {}, standard, {
days: {
names: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
namesAbbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
namesShort: ["日", "一", "二", "三", "四", "五", "六"]
},
months: {
names: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],
namesAbbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""]
},
AM: ["上午", "上午", "上午"],
PM: ["下午", "下午", "下午"],
eras: [{"name": "公元", "start": null, "offset": 0}],
patterns: {
d: "yyyy/M/d",
D: "yyyy'年'M'月'd'日'",
t: "H:mm",
T: "H:mm:ss",
f: "yyyy'年'M'月'd'日' H:mm",
F: "yyyy'年'M'月'd'日' H:mm:ss",
M: "M'月'd'日'",
Y: "yyyy'年'M'月'"
}
})
}
}, cultures["zh"]);
culture.calendar = culture.calendars.standard;
})(jQuery);