META-INF.resources.bower_components.globalize-languages.ja.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["ja"] = $.extend(true, {}, en, {
name: "ja",
englishName: "Japanese",
nativeName: "日本語",
language: "ja",
numberFormat: {
percent: {
pattern: ["-n%", "n%"]
},
currency: {
pattern: ["-$n", "$n"],
decimals: 0,
symbol: "¥"
}
},
calendars: {
standard: $.extend(true, {}, standard, {
days: {
names: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"],
namesAbbr: ["日", "月", "火", "水", "木", "金", "土"],
namesShort: ["日", "月", "火", "水", "木", "金", "土"]
},
months: {
names: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""],
namesAbbr: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""]
},
AM: ["午前", "午前", "午前"],
PM: ["午後", "午後", "午後"],
eras: [{"name": "西暦", "start": null, "offset": 0}],
patterns: {
d: "yyyy/MM/dd",
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'月'"
}
}),
Japanese: $.extend(true, {}, standard, {
name: "Japanese",
days: {
names: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"],
namesAbbr: ["日", "月", "火", "水", "木", "金", "土"],
namesShort: ["日", "月", "火", "水", "木", "金", "土"]
},
months: {
names: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""],
namesAbbr: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""]
},
AM: ["午前", "午前", "午前"],
PM: ["午後", "午後", "午後"],
eras: [{"name": "平成", "start": null, "offset": 1867}, {
"name": "昭和",
"start": -1812153600000,
"offset": 1911
}, {"name": "大正", "start": -1357603200000, "offset": 1925}, {
"name": "明治",
"start": 60022080000,
"offset": 1988
}],
twoDigitYearMax: 99,
patterns: {
d: "gg y/M/d",
D: "gg y'年'M'月'd'日'",
t: "H:mm",
T: "H:mm:ss",
f: "gg y'年'M'月'd'日' H:mm",
F: "gg y'年'M'月'd'日' H:mm:ss",
M: "M'月'd'日'",
Y: "gg y'年'M'月'"
}
})
}
}, cultures["ja"]);
culture.calendar = culture.calendars.standard;
})(jQuery);