META-INF.resources.bower_components.globalize-languages.cy.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["cy"] = $.extend(true, {}, en, {
name: "cy",
englishName: "Welsh",
nativeName: "Cymraeg",
language: "cy",
numberFormat: {
percent: {
pattern: ["-%n", "%n"]
},
currency: {
pattern: ["-$n", "$n"],
symbol: "£"
}
},
calendars: {
standard: $.extend(true, {}, standard, {
firstDay: 1,
days: {
names: ["Dydd Sul", "Dydd Llun", "Dydd Mawrth", "Dydd Mercher", "Dydd Iau", "Dydd Gwener", "Dydd Sadwrn"],
namesAbbr: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
namesShort: ["Su", "Ll", "Ma", "Me", "Ia", "Gw", "Sa"]
},
months: {
names: ["Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr", ""],
namesAbbr: ["Ion", "Chwe", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rhag", ""]
},
AM: ["a.m.", "a.m.", "A.M."],
PM: ["p.m.", "p.m.", "P.M."],
patterns: {
d: "dd/MM/yyyy",
D: "dd MMMM yyyy",
t: "HH:mm",
T: "HH:mm:ss",
f: "dd MMMM yyyy HH:mm",
F: "dd MMMM yyyy HH:mm:ss",
M: "dd MMMM",
Y: "MMMM yyyy"
}
})
}
}, cultures["cy"]);
culture.calendar = culture.calendars.standard;
})(jQuery);