| 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 |
"\u0930\u0935\u093f\u0935\u093e\u0930", |
|
12 |
"\u0938\u094b\u092e\u0935\u093e\u0930", |
|
13 |
"\u092e\u0902\u0917\u0932\u0935\u093e\u0930", |
|
14 |
"\u092c\u0941\u0927\u0935\u093e\u0930", |
|
15 |
"\u092c\u0943\u0939\u0938\u094d\u092a\u0924\u093f\u0935\u093e\u0930", |
|
16 |
"\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930", |
|
17 |
"\u0936\u0928\u093f\u0935\u093e\u0930" |
|
18 |
], |
|
19 |
"MONTH": [ |
|
20 |
"\u091c\u0928\u0935\u0930\u0940", |
|
21 |
"\u092b\u0930\u0935\u0930\u0940", |
|
22 |
"\u092e\u093e\u0930\u094d\u091a", |
|
23 |
"\u0905\u092a\u094d\u0930\u0948\u0932", |
|
24 |
"\u092e\u0908", |
|
25 |
"\u091c\u0942\u0928", |
|
26 |
"\u091c\u0941\u0932\u093e\u0908", |
|
27 |
"\u0905\u0917\u0938\u094d\u0924", |
|
28 |
"\u0938\u093f\u0924\u092e\u094d\u092c\u0930", |
|
29 |
"\u0905\u0915\u094d\u0924\u0942\u092c\u0930", |
|
30 |
"\u0928\u0935\u092e\u094d\u092c\u0930", |
|
31 |
"\u0926\u093f\u0938\u092e\u094d\u092c\u0930" |
|
32 |
], |
|
33 |
"SHORTDAY": [ |
|
34 |
"\u0930\u0935\u093f.", |
|
35 |
"\u0938\u094b\u092e.", |
|
36 |
"\u092e\u0902\u0917\u0932.", |
|
37 |
"\u092c\u0941\u0927.", |
|
38 |
"\u092c\u0943\u0939.", |
|
39 |
"\u0936\u0941\u0915\u094d\u0930.", |
|
40 |
"\u0936\u0928\u093f." |
|
41 |
], |
|
42 |
"SHORTMONTH": [ |
|
43 |
"\u091c\u0928\u0935\u0930\u0940", |
|
44 |
"\u092b\u0930\u0935\u0930\u0940", |
|
45 |
"\u092e\u093e\u0930\u094d\u091a", |
|
46 |
"\u0905\u092a\u094d\u0930\u0948\u0932", |
|
47 |
"\u092e\u0908", |
|
48 |
"\u091c\u0942\u0928", |
|
49 |
"\u091c\u0941\u0932\u093e\u0908", |
|
50 |
"\u0905\u0917\u0938\u094d\u0924", |
|
51 |
"\u0938\u093f\u0924\u092e\u094d\u092c\u0930", |
|
52 |
"\u0905\u0915\u094d\u0924\u0942\u092c\u0930", |
|
53 |
"\u0928\u0935\u092e\u094d\u092c\u0930", |
|
54 |
"\u0926\u093f\u0938\u092e\u094d\u092c\u0930" |
|
55 |
], |
|
56 |
"fullDate": "EEEE, d MMMM y", |
|
57 |
"longDate": "d MMMM y", |
|
58 |
"medium": "dd-MM-yyyy h:mm:ss a", |
|
59 |
"mediumDate": "dd-MM-yyyy", |
|
60 |
"mediumTime": "h:mm:ss a", |
|
61 |
"short": "d-M-yy h:mm a", |
|
62 |
"shortDate": "d-M-yy", |
|
63 |
"shortTime": "h:mm a" |
|
64 |
}, |
|
65 |
"NUMBER_FORMATS": { |
|
66 |
"CURRENCY_SYM": "\u20b9", |
|
67 |
"DECIMAL_SEP": ".", |
|
68 |
"GROUP_SEP": ",", |
|
69 |
"PATTERNS": [ |
|
70 |
{ |
|
71 |
"gSize": 2, |
|
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": 2, |
|
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": "hi-in", |
|
97 |
"pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} |
|
98 |
}); |
|
99 |
}]); |