mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 23:50:23 +00:00
Modify the script that writes the locales so all characters above \u007f are escaped Includes the updated locale files after running the closureI18nExtractor. Closes #2417
98 lines
No EOL
2.1 KiB
JavaScript
98 lines
No EOL
2.1 KiB
JavaScript
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": {
|
|
"0": "PD",
|
|
"1": "MD"
|
|
},
|
|
"DAY": {
|
|
"0": "e diel",
|
|
"1": "e h\u00ebn\u00eb",
|
|
"2": "e mart\u00eb",
|
|
"3": "e m\u00ebrkur\u00eb",
|
|
"4": "e enjte",
|
|
"5": "e premte",
|
|
"6": "e shtun\u00eb"
|
|
},
|
|
"MONTH": {
|
|
"0": "janar",
|
|
"1": "shkurt",
|
|
"2": "mars",
|
|
"3": "prill",
|
|
"4": "maj",
|
|
"5": "qershor",
|
|
"6": "korrik",
|
|
"7": "gusht",
|
|
"8": "shtator",
|
|
"9": "tetor",
|
|
"10": "n\u00ebntor",
|
|
"11": "dhjetor"
|
|
},
|
|
"SHORTDAY": {
|
|
"0": "Die",
|
|
"1": "H\u00ebn",
|
|
"2": "Mar",
|
|
"3": "M\u00ebr",
|
|
"4": "Enj",
|
|
"5": "Pre",
|
|
"6": "Sht"
|
|
},
|
|
"SHORTMONTH": {
|
|
"0": "Jan",
|
|
"1": "Shk",
|
|
"2": "Mar",
|
|
"3": "Pri",
|
|
"4": "Maj",
|
|
"5": "Qer",
|
|
"6": "Kor",
|
|
"7": "Gsh",
|
|
"8": "Sht",
|
|
"9": "Tet",
|
|
"10": "N\u00ebn",
|
|
"11": "Dhj"
|
|
},
|
|
"fullDate": "EEEE, dd MMMM y",
|
|
"longDate": "dd MMMM y",
|
|
"medium": "yyyy-MM-dd h.mm.ss.a",
|
|
"mediumDate": "yyyy-MM-dd",
|
|
"mediumTime": "h.mm.ss.a",
|
|
"short": "yy-MM-dd h.mm.a",
|
|
"shortDate": "yy-MM-dd",
|
|
"shortTime": "h.mm.a"
|
|
},
|
|
"NUMBER_FORMATS": {
|
|
"CURRENCY_SYM": "Lek",
|
|
"DECIMAL_SEP": ",",
|
|
"GROUP_SEP": "\u00a0",
|
|
"PATTERNS": {
|
|
"0": {
|
|
"gSize": 3,
|
|
"lgSize": 3,
|
|
"macFrac": 0,
|
|
"maxFrac": 3,
|
|
"minFrac": 0,
|
|
"minInt": 1,
|
|
"negPre": "-",
|
|
"negSuf": "",
|
|
"posPre": "",
|
|
"posSuf": ""
|
|
},
|
|
"1": {
|
|
"gSize": 3,
|
|
"lgSize": 3,
|
|
"macFrac": 0,
|
|
"maxFrac": 2,
|
|
"minFrac": 2,
|
|
"minInt": 1,
|
|
"negPre": "\u00a4-",
|
|
"negSuf": "",
|
|
"posPre": "\u00a4",
|
|
"posSuf": ""
|
|
}
|
|
}
|
|
},
|
|
"id": "sq-al",
|
|
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
|
});
|
|
}]); |