http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gq.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gq.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gq.js index c7bab0e..b2b0b25 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gq.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gq.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "anno D\u00f3mini" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -31,46 +39,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y H:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-gq", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]);
http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gt.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gt.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gt.js index c6d1078..5b23ccb 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gt.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-gt.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "d/MM/yyyy HH:mm:ss", - "mediumDate": "d/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "d/MM/yy HH:mm", + "medium": "d/MM/y h:mm:ss a", + "mediumDate": "d/MM/y", + "mediumTime": "h:mm:ss a", + "short": "d/MM/yy h:mm a", "shortDate": "d/MM/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "Q", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-gt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-hn.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-hn.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-hn.js index 9b9023a..45f9572 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-hn.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-hn.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE dd 'de' MMMM 'de' y", "longDate": "dd 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "L", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-hn", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ic.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ic.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ic.js index 0f2bfa1..db19c0a 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ic.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ic.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "anno D\u00f3mini" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -31,36 +39,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y H:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +78,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +89,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +100,6 @@ $provide.value("$locale", { ] }, "id": "es-ic", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-mx.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-mx.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-mx.js index 7eb4087..8cbb81b 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-mx.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-mx.js @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "Anno Domini" + ], + "ERAS": [ + "a.C.", + "d.C." + ], "MONTH": [ "enero", "febrero", @@ -55,22 +63,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", + "medium": "dd/MM/y H:mm:ss", + "mediumDate": "dd/MM/y", + "mediumTime": "H:mm:ss", + "short": "dd/MM/yy H:mm", "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-mx", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ni.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ni.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ni.js index a93b701..26e7dbc 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ni.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ni.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "C$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-ni", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pa.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pa.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pa.js index 8496553..e175395 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pa.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pa.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "MM/dd/yyyy HH:mm:ss", - "mediumDate": "MM/dd/yyyy", - "mediumTime": "HH:mm:ss", - "short": "MM/dd/yy HH:mm", + "medium": "MM/dd/y h:mm:ss a", + "mediumDate": "MM/dd/y", + "mediumTime": "h:mm:ss a", + "short": "MM/dd/yy h:mm a", "shortDate": "MM/dd/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "B/.", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-pa", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pe.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pe.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pe.js index b88b21f..03a5827 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pe.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pe.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "d/MM/yy HH:mm", + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/MM/yy h:mm a", "shortDate": "d/MM/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "S/.", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-pe", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ph.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ph.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ph.js new file mode 100644 index 0000000..49fc847 --- /dev/null +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ph.js @@ -0,0 +1,105 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a. m.", + "p. m." + ], + "DAY": [ + "domingo", + "lunes", + "martes", + "mi\u00e9rcoles", + "jueves", + "viernes", + "s\u00e1bado" + ], + "ERANAMES": [ + "antes de Cristo", + "anno D\u00f3mini" + ], + "ERAS": [ + "a. C.", + "d. C." + ], + "MONTH": [ + "enero", + "febrero", + "marzo", + "abril", + "mayo", + "junio", + "julio", + "agosto", + "septiembre", + "octubre", + "noviembre", + "diciembre" + ], + "SHORTDAY": [ + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." + ], + "SHORTMONTH": [ + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." + ], + "fullDate": "EEEE, d 'de' MMMM 'de' y", + "longDate": "d 'de' MMMM 'de' y", + "medium": "d 'de' MMM 'de' y H:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b1", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "es-ph", + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pr.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pr.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pr.js index 2917c36..f26a9dd 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pr.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-pr.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "MM/dd/yyyy HH:mm:ss", - "mediumDate": "MM/dd/yyyy", - "mediumTime": "HH:mm:ss", - "short": "MM/dd/yy HH:mm", + "medium": "MM/dd/y h:mm:ss a", + "mediumDate": "MM/dd/y", + "mediumTime": "h:mm:ss a", + "short": "MM/dd/yy h:mm a", "shortDate": "MM/dd/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-pr", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-py.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-py.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-py.js index 6253d14..5ab4f6d 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-py.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-py.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Gs", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" } ] }, "id": "es-py", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-sv.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-sv.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-sv.js index 63f0756..6d8abbd 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-sv.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-sv.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-sv", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-us.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-us.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-us.js index c929595..2d17756 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-us.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-us.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "AM", + "PM" ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "MMM d, y h:mm:ss a", - "mediumDate": "MMM d, y", + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", "mediumTime": "h:mm:ss a", - "short": "M/d/yy h:mm a", - "shortDate": "M/d/yy", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-us", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-uy.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-uy.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-uy.js index f656e1a..e9e3006 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-uy.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-uy.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" } ] }, "id": "es-uy", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ve.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ve.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ve.js index 6641877..53db645 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ve.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-ve.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a.\u00a0m.", + "p.\u00a0m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "despu\u00e9s de Cristo" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -25,52 +33,51 @@ $provide.value("$locale", { "junio", "julio", "agosto", - "septiembre", + "setiembre", "octubre", "noviembre", "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y h:mm:ss a", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Bs", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-ve", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js index 91aba87..e24e68c 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -16,6 +16,14 @@ $provide.value("$locale", { "viernes", "s\u00e1bado" ], + "ERANAMES": [ + "antes de Cristo", + "anno D\u00f3mini" + ], + "ERAS": [ + "a. C.", + "d. C." + ], "MONTH": [ "enero", "febrero", @@ -31,36 +39,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d 'de' MMM 'de' y H:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +78,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +89,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +100,6 @@ $provide.value("$locale", { ] }, "id": "es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js index c763947..5fada63 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "enne keskp\u00e4eva", - "p\u00e4rast keskp\u00e4eva" + "AM", + "PM" ], "DAY": [ "p\u00fchap\u00e4ev", @@ -16,6 +34,14 @@ $provide.value("$locale", { "reede", "laup\u00e4ev" ], + "ERANAMES": [ + "enne meie aega", + "meie aja j\u00e4rgi" + ], + "ERAS": [ + "e.m.a.", + "m.a.j." + ], "MONTH": [ "jaanuar", "veebruar", @@ -55,8 +81,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy H:mm.ss", - "mediumDate": "dd.MM.yyyy", + "medium": "d. MMM y H:mm.ss", + "mediumDate": "d. MMM y", "mediumTime": "H:mm.ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +96,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +105,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", - "posSuf": "\u00a4" + "posSuf": "\u00a0\u00a4" } ] }, "id": "et-ee", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et.js index f996bba..76d9f7d 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "enne keskp\u00e4eva", - "p\u00e4rast keskp\u00e4eva" + "AM", + "PM" ], "DAY": [ "p\u00fchap\u00e4ev", @@ -16,6 +34,14 @@ $provide.value("$locale", { "reede", "laup\u00e4ev" ], + "ERANAMES": [ + "enne meie aega", + "meie aja j\u00e4rgi" + ], + "ERAS": [ + "e.m.a.", + "m.a.j." + ], "MONTH": [ "jaanuar", "veebruar", @@ -55,8 +81,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy H:mm.ss", - "mediumDate": "dd.MM.yyyy", + "medium": "d. MMM y H:mm.ss", + "mediumDate": "d. MMM y", "mediumTime": "H:mm.ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +96,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +105,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", - "posSuf": "\u00a4" + "posSuf": "\u00a0\u00a4" } ] }, "id": "et", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu-es.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu-es.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu-es.js index d5fe45a..e174891 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu-es.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu-es.js @@ -16,50 +16,58 @@ $provide.value("$locale", { "ostirala", "larunbata" ], + "ERANAMES": [ + "K.a.", + "K.o." + ], + "ERAS": [ + "K.a.", + "K.o." + ], "MONTH": [ - "urtarrila", - "otsaila", - "martxoa", - "apirila", - "maiatza", - "ekaina", - "uztaila", - "abuztua", - "iraila", - "urria", - "azaroa", - "abendua" + "urtarrilak", + "otsailak", + "martxoak", + "apirilak", + "maiatzak", + "ekainak", + "uztailak", + "abuztuak", + "irailak", + "urriak", + "azaroak", + "abenduak" ], "SHORTDAY": [ - "ig", - "al", - "as", - "az", - "og", - "or", - "lr" + "ig.", + "al.", + "ar.", + "az.", + "og.", + "or.", + "lr." ], "SHORTMONTH": [ - "urt", - "ots", - "mar", - "api", - "mai", - "eka", - "uzt", - "abu", - "ira", - "urr", - "aza", - "abe" + "urt.", + "ots.", + "mar.", + "api.", + "mai.", + "eka.", + "uzt.", + "abu.", + "ira.", + "urr.", + "aza.", + "abe." ], - "fullDate": "EEEE, y'eko' MMMM'ren' dd'a'", - "longDate": "y'eko' MMM'ren' dd'a'", + "fullDate": "y('e')'ko' MMMM d, EEEE", + "longDate": "y('e')'ko' MMMM d", "medium": "y MMM d HH:mm:ss", "mediumDate": "y MMM d", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y/MM/dd HH:mm", + "shortDate": "y/MM/dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +78,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "eu-es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu.js index 67faf10..6c968ff 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eu.js @@ -16,50 +16,58 @@ $provide.value("$locale", { "ostirala", "larunbata" ], + "ERANAMES": [ + "K.a.", + "K.o." + ], + "ERAS": [ + "K.a.", + "K.o." + ], "MONTH": [ - "urtarrila", - "otsaila", - "martxoa", - "apirila", - "maiatza", - "ekaina", - "uztaila", - "abuztua", - "iraila", - "urria", - "azaroa", - "abendua" + "urtarrilak", + "otsailak", + "martxoak", + "apirilak", + "maiatzak", + "ekainak", + "uztailak", + "abuztuak", + "irailak", + "urriak", + "azaroak", + "abenduak" ], "SHORTDAY": [ - "ig", - "al", - "as", - "az", - "og", - "or", - "lr" + "ig.", + "al.", + "ar.", + "az.", + "og.", + "or.", + "lr." ], "SHORTMONTH": [ - "urt", - "ots", - "mar", - "api", - "mai", - "eka", - "uzt", - "abu", - "ira", - "urr", - "aza", - "abe" + "urt.", + "ots.", + "mar.", + "api.", + "mai.", + "eka.", + "uzt.", + "abu.", + "ira.", + "urr.", + "aza.", + "abe." ], - "fullDate": "EEEE, y'eko' MMMM'ren' dd'a'", - "longDate": "y'eko' MMM'ren' dd'a'", + "fullDate": "y('e')'ko' MMMM d, EEEE", + "longDate": "y('e')'ko' MMMM d", "medium": "y MMM d HH:mm:ss", "mediumDate": "y MMM d", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y/MM/dd HH:mm", + "shortDate": "y/MM/dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +78,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "eu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo-cm.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo-cm.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo-cm.js new file mode 100644 index 0000000..e554625 --- /dev/null +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo-cm.js @@ -0,0 +1,123 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "k\u00edk\u00edr\u00edg", + "ng\u0259g\u00f3g\u0259le" + ], + "DAY": [ + "s\u0254\u0301nd\u0254", + "m\u0254\u0301ndi", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301b\u025b\u030c", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301l\u025b\u0301", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301nyi", + "f\u00falad\u00e9", + "s\u00e9rad\u00e9" + ], + "ERANAMES": [ + "os\u00fas\u00faa Y\u00e9sus kiri", + "\u00e1mvus Y\u00e9sus Kir\u00eds" + ], + "ERAS": [ + "oyk", + "ayk" + ], + "MONTH": [ + "ng\u0254n os\u00fa", + "ng\u0254n b\u025b\u030c", + "ng\u0254n l\u00e1la", + "ng\u0254n nyina", + "ng\u0254n t\u00e1na", + "ng\u0254n sam\u0259na", + "ng\u0254n zamgb\u00e1la", + "ng\u0254n mwom", + "ng\u0254n ebul\u00fa", + "ng\u0254n aw\u00f3m", + "ng\u0254n aw\u00f3m ai dzi\u00e1", + "ng\u0254n aw\u00f3m ai b\u025b\u030c" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "m\u0254\u0301n", + "smb", + "sml", + "smn", + "f\u00fal", + "s\u00e9r" + ], + "SHORTMONTH": [ + "ngo", + "ngb", + "ngl", + "ngn", + "ngt", + "ngs", + "ngz", + "ngm", + "nge", + "nga", + "ngad", + "ngab" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ewo-cm", + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo.js new file mode 100644 index 0000000..2c7c8d9 --- /dev/null +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ewo.js @@ -0,0 +1,123 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "k\u00edk\u00edr\u00edg", + "ng\u0259g\u00f3g\u0259le" + ], + "DAY": [ + "s\u0254\u0301nd\u0254", + "m\u0254\u0301ndi", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301b\u025b\u030c", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301l\u025b\u0301", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301nyi", + "f\u00falad\u00e9", + "s\u00e9rad\u00e9" + ], + "ERANAMES": [ + "os\u00fas\u00faa Y\u00e9sus kiri", + "\u00e1mvus Y\u00e9sus Kir\u00eds" + ], + "ERAS": [ + "oyk", + "ayk" + ], + "MONTH": [ + "ng\u0254n os\u00fa", + "ng\u0254n b\u025b\u030c", + "ng\u0254n l\u00e1la", + "ng\u0254n nyina", + "ng\u0254n t\u00e1na", + "ng\u0254n sam\u0259na", + "ng\u0254n zamgb\u00e1la", + "ng\u0254n mwom", + "ng\u0254n ebul\u00fa", + "ng\u0254n aw\u00f3m", + "ng\u0254n aw\u00f3m ai dzi\u00e1", + "ng\u0254n aw\u00f3m ai b\u025b\u030c" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "m\u0254\u0301n", + "smb", + "sml", + "smn", + "f\u00fal", + "s\u00e9r" + ], + "SHORTMONTH": [ + "ngo", + "ngb", + "ngl", + "ngn", + "ngt", + "ngs", + "ngz", + "ngm", + "nge", + "nga", + "ngad", + "ngab" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ewo", + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-af.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-af.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-af.js index c96ecde..73eb170 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-af.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-af.js @@ -16,6 +16,14 @@ $provide.value("$locale", { "\u062c\u0645\u0639\u0647", "\u0634\u0646\u0628\u0647" ], + "ERANAMES": [ + "\u0642\u0628\u0644 \u0627\u0632 \u0645\u06cc\u0644\u0627\u062f", + "\u0645\u06cc\u0644\u0627\u062f\u06cc" + ], + "ERAS": [ + "\u0642.\u0645.", + "\u0645." + ], "MONTH": [ "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0628\u0631\u0648\u0631\u06cc", @@ -58,19 +66,18 @@ $provide.value("$locale", { "medium": "d MMM y H:mm:ss", "mediumDate": "d MMM y", "mediumTime": "H:mm:ss", - "short": "yyyy/M/d H:mm", - "shortDate": "yyyy/M/d", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Rial", + "CURRENCY_SYM": "Af.", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u200e(\u00a4", - "negSuf": ")", + "negPre": "\u200e\u00a4-", + "negSuf": "", "posPre": "\u200e\u00a4", "posSuf": "" } ] }, "id": "fa-af", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-ir.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-ir.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-ir.js index 27099d7..643bb4d 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-ir.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa-ir.js @@ -16,6 +16,14 @@ $provide.value("$locale", { "\u062c\u0645\u0639\u0647", "\u0634\u0646\u0628\u0647" ], + "ERANAMES": [ + "\u0642\u0628\u0644 \u0627\u0632 \u0645\u06cc\u0644\u0627\u062f", + "\u0645\u06cc\u0644\u0627\u062f\u06cc" + ], + "ERAS": [ + "\u0642.\u0645.", + "\u0645." + ], "MONTH": [ "\u0698\u0627\u0646\u0648\u06cc\u0647\u0654", "\u0641\u0648\u0631\u06cc\u0647\u0654", @@ -58,8 +66,8 @@ $provide.value("$locale", { "medium": "d MMM y H:mm:ss", "mediumDate": "d MMM y", "mediumTime": "H:mm:ss", - "short": "yyyy/M/d H:mm", - "shortDate": "yyyy/M/d", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +78,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u200e(\u00a4", - "negSuf": ")", + "negPre": "\u200e\u00a4-", + "negSuf": "", "posPre": "\u200e\u00a4", "posSuf": "" } ] }, "id": "fa-ir", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa.js index c94c6c1..27d9492 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa.js +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fa.js @@ -16,6 +16,14 @@ $provide.value("$locale", { "\u062c\u0645\u0639\u0647", "\u0634\u0646\u0628\u0647" ], + "ERANAMES": [ + "\u0642\u0628\u0644 \u0627\u0632 \u0645\u06cc\u0644\u0627\u062f", + "\u0645\u06cc\u0644\u0627\u062f\u06cc" + ], + "ERAS": [ + "\u0642.\u0645.", + "\u0645." + ], "MONTH": [ "\u0698\u0627\u0646\u0648\u06cc\u0647\u0654", "\u0641\u0648\u0631\u06cc\u0647\u0654", @@ -58,8 +66,8 @@ $provide.value("$locale", { "medium": "d MMM y H:mm:ss", "mediumDate": "d MMM y", "mediumTime": "H:mm:ss", - "short": "yyyy/M/d H:mm", - "shortDate": "yyyy/M/d", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +78,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +89,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u200e(\u00a4", - "negSuf": ")", + "negPre": "\u200e\u00a4-", + "negSuf": "", "posPre": "\u200e\u00a4", "posSuf": "" } ] }, "id": "fa", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); -}]); \ No newline at end of file +}]); http://git-wip-us.apache.org/repos/asf/struts/blob/d586fd50/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ff-cm.js ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ff-cm.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ff-cm.js new file mode 100644 index 0000000..d45e784 --- /dev/null +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ff-cm.js @@ -0,0 +1,123 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "subaka", + "kikii\u0257e" + ], + "DAY": [ + "dewo", + "aa\u0253nde", + "mawbaare", + "njeslaare", + "naasaande", + "mawnde", + "hoore-biir" + ], + "ERANAMES": [ + "Hade Iisa", + "Caggal Iisa" + ], + "ERAS": [ + "H-I", + "C-I" + ], + "MONTH": [ + "siilo", + "colte", + "mbooy", + "see\u0257to", + "duujal", + "korse", + "morso", + "juko", + "siilto", + "yarkomaa", + "jolal", + "bowte" + ], + "SHORTDAY": [ + "dew", + "aa\u0253", + "maw", + "nje", + "naa", + "mwd", + "hbi" + ], + "SHORTMONTH": [ + "sii", + "col", + "mbo", + "see", + "duu", + "kor", + "mor", + "juk", + "slt", + "yar", + "jol", + "bow" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ff-cm", + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]);