META-INF.resources.bower_components.globalize-languages.zh-TW.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
(function ($) {
var cultures = Globalize.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["zh-TW"] = $.extend(true, {}, en, {
name: "zh-TW",
englishName: "Chinese (Traditional, Taiwan)",
nativeName: "中文(台灣)",
language: "zh-CHT",
numberFormat: {
percent: {
pattern: ["-n%", "n%"]
},
currency: {
pattern: ["-$n", "$n"],
symbol: "NT$"
}
},
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: "tt hh:mm",
T: "tt hh:mm:ss",
f: "yyyy'年'M'月'd'日' tt hh:mm",
F: "yyyy'年'M'月'd'日' tt hh:mm:ss",
M: "M'月'd'日'",
Y: "yyyy'年'M'月'"
}
}),
Taiwan: $.extend(true, {}, standard, {
name: "Taiwan",
days: {
names: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
namesAbbr: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
namesShort: ["日", "一", "二", "三", "四", "五", "六"]
},
months: {
names: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],
namesAbbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""]
},
AM: ["上午", "上午", "上午"],
PM: ["下午", "下午", "下午"],
eras: [{"name": "", "start": null, "offset": 1911}],
twoDigitYearMax: 99,
patterns: {
d: "yyyy/M/d",
D: "yyyy'年'M'月'd'日'",
t: "tt hh:mm",
T: "tt hh:mm:ss",
f: "yyyy'年'M'月'd'日' tt hh:mm",
F: "yyyy'年'M'月'd'日' tt hh:mm:ss",
M: "M'月'd'日'",
Y: "yyyy'年'M'月'"
}
})
}
}, cultures["zh-TW"]);
culture.calendar = culture.calendars.standard;
})(jQuery);