mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-18 01:05:54 +01:00
98 lines
1.9 KiB
JavaScript
98 lines
1.9 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": [
|
|
"fm",
|
|
"em"
|
|
],
|
|
"DAY": [
|
|
"s\u00f6ndag",
|
|
"m\u00e5ndag",
|
|
"tisdag",
|
|
"onsdag",
|
|
"torsdag",
|
|
"fredag",
|
|
"l\u00f6rdag"
|
|
],
|
|
"MONTH": [
|
|
"januari",
|
|
"februari",
|
|
"mars",
|
|
"april",
|
|
"maj",
|
|
"juni",
|
|
"juli",
|
|
"augusti",
|
|
"september",
|
|
"oktober",
|
|
"november",
|
|
"december"
|
|
],
|
|
"SHORTDAY": [
|
|
"s\u00f6n",
|
|
"m\u00e5n",
|
|
"tis",
|
|
"ons",
|
|
"tors",
|
|
"fre",
|
|
"l\u00f6r"
|
|
],
|
|
"SHORTMONTH": [
|
|
"jan",
|
|
"feb",
|
|
"mar",
|
|
"apr",
|
|
"maj",
|
|
"jun",
|
|
"jul",
|
|
"aug",
|
|
"sep",
|
|
"okt",
|
|
"nov",
|
|
"dec"
|
|
],
|
|
"fullDate": "EEEE'en' 'den' d:'e' MMMM y",
|
|
"longDate": "d MMMM y",
|
|
"medium": "d MMM y HH:mm:ss",
|
|
"mediumDate": "d MMM y",
|
|
"mediumTime": "HH:mm:ss",
|
|
"short": "yyyy-MM-dd HH:mm",
|
|
"shortDate": "yyyy-MM-dd",
|
|
"shortTime": "HH:mm"
|
|
},
|
|
"NUMBER_FORMATS": {
|
|
"CURRENCY_SYM": "kr",
|
|
"DECIMAL_SEP": ",",
|
|
"GROUP_SEP": "\u00a0",
|
|
"PATTERNS": [
|
|
{
|
|
"gSize": 3,
|
|
"lgSize": 3,
|
|
"macFrac": 0,
|
|
"maxFrac": 3,
|
|
"minFrac": 0,
|
|
"minInt": 1,
|
|
"negPre": "-",
|
|
"negSuf": "",
|
|
"posPre": "",
|
|
"posSuf": ""
|
|
},
|
|
{
|
|
"gSize": 3,
|
|
"lgSize": 3,
|
|
"macFrac": 0,
|
|
"maxFrac": 2,
|
|
"minFrac": 2,
|
|
"minInt": 1,
|
|
"negPre": "-",
|
|
"negSuf": "\u00a0\u00a4",
|
|
"posPre": "",
|
|
"posSuf": "\u00a0\u00a4"
|
|
}
|
|
]
|
|
},
|
|
"id": "sv-se",
|
|
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
|
});
|
|
}]); |