| author | ymh <ymh.work@gmail.com> |
| Sat, 05 Apr 2014 03:51:11 +0200 | |
| changeset 166 | 0f99a7fff851 |
| parent 47 | b07f8d11f2b8 |
| permissions | -rwxr-xr-x |
|
166
0f99a7fff851
upgrade js lib + add confirmation message on leaving page with edits
ymh <ymh.work@gmail.com>
parents:
47
diff
changeset
|
1 |
'use strict'; |
| 47 | 2 |
angular.module("ngLocale", [], ["$provide", function($provide) { |
3 |
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; |
|
4 |
$provide.value("$locale", { |
|
5 |
"DATETIME_FORMATS": { |
|
6 |
"AMPMS": [ |
|
7 |
"AM", |
|
8 |
"PM" |
|
9 |
], |
|
10 |
"DAY": [ |
|
11 |
"zondag", |
|
12 |
"maandag", |
|
13 |
"dinsdag", |
|
14 |
"woensdag", |
|
15 |
"donderdag", |
|
16 |
"vrijdag", |
|
17 |
"zaterdag" |
|
18 |
], |
|
19 |
"MONTH": [ |
|
20 |
"januari", |
|
21 |
"februari", |
|
22 |
"maart", |
|
23 |
"april", |
|
24 |
"mei", |
|
25 |
"juni", |
|
26 |
"juli", |
|
27 |
"augustus", |
|
28 |
"september", |
|
29 |
"oktober", |
|
30 |
"november", |
|
31 |
"december" |
|
32 |
], |
|
33 |
"SHORTDAY": [ |
|
34 |
"zo", |
|
35 |
"ma", |
|
36 |
"di", |
|
37 |
"wo", |
|
38 |
"do", |
|
39 |
"vr", |
|
40 |
"za" |
|
41 |
], |
|
42 |
"SHORTMONTH": [ |
|
43 |
"jan.", |
|
44 |
"feb.", |
|
45 |
"mrt.", |
|
46 |
"apr.", |
|
47 |
"mei", |
|
48 |
"jun.", |
|
49 |
"jul.", |
|
50 |
"aug.", |
|
51 |
"sep.", |
|
52 |
"okt.", |
|
53 |
"nov.", |
|
54 |
"dec." |
|
55 |
], |
|
56 |
"fullDate": "EEEE d MMMM y", |
|
57 |
"longDate": "d MMMM y", |
|
58 |
"medium": "d MMM y HH:mm:ss", |
|
59 |
"mediumDate": "d MMM y", |
|
60 |
"mediumTime": "HH:mm:ss", |
|
61 |
"short": "dd-MM-yy HH:mm", |
|
62 |
"shortDate": "dd-MM-yy", |
|
63 |
"shortTime": "HH:mm" |
|
64 |
}, |
|
65 |
"NUMBER_FORMATS": { |
|
66 |
"CURRENCY_SYM": "\u20ac", |
|
67 |
"DECIMAL_SEP": ",", |
|
68 |
"GROUP_SEP": ".", |
|
69 |
"PATTERNS": [ |
|
70 |
{ |
|
71 |
"gSize": 3, |
|
72 |
"lgSize": 3, |
|
73 |
"macFrac": 0, |
|
74 |
"maxFrac": 3, |
|
75 |
"minFrac": 0, |
|
76 |
"minInt": 1, |
|
77 |
"negPre": "-", |
|
78 |
"negSuf": "", |
|
79 |
"posPre": "", |
|
80 |
"posSuf": "" |
|
81 |
}, |
|
82 |
{ |
|
83 |
"gSize": 3, |
|
84 |
"lgSize": 3, |
|
85 |
"macFrac": 0, |
|
86 |
"maxFrac": 2, |
|
87 |
"minFrac": 2, |
|
88 |
"minInt": 1, |
|
89 |
"negPre": "\u00a4\u00a0", |
|
90 |
"negSuf": "-", |
|
91 |
"posPre": "\u00a4\u00a0", |
|
92 |
"posSuf": "" |
|
93 |
} |
|
94 |
] |
|
95 |
}, |
|
96 |
"id": "nl-cw", |
|
97 |
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} |
|
98 |
}); |
|
99 |
}]); |