6c4fd512753cf1b8c8a4c11d5bad2c9661649a73
[portal/sdk.git] /
1 'use strict';
2 angular.module("ngLocale", [], ["$provide", function($provide) {
3 var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
4 function getDecimals(n) {
5   n = n + '';
6   var i = n.indexOf('.');
7   return (i == -1) ? 0 : n.length - i - 1;
8 }
9
10 function getVF(n, opt_precision) {
11   var v = opt_precision;
12
13   if (undefined === v) {
14     v = Math.min(getDecimals(n), 3);
15   }
16
17   var base = Math.pow(10, v);
18   var f = ((n * base) | 0) % base;
19   return {v: v, f: f};
20 }
21
22 $provide.value("$locale", {
23   "DATETIME_FORMATS": {
24     "AMPMS": [
25       "\u09aa\u09c2\u09f0\u09cd\u09ac\u09be\u09b9\u09cd\u09a3",
26       "\u0985\u09aa\u09f0\u09be\u09b9\u09cd\u09a3"
27     ],
28     "DAY": [
29       "\u09a6\u09c7\u0993\u09ac\u09be\u09f0",
30       "\u09b8\u09cb\u09ae\u09ac\u09be\u09f0",
31       "\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09f0",
32       "\u09ac\u09c1\u09a7\u09ac\u09be\u09f0",
33       "\u09ac\u09c3\u09b9\u09b7\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09f0",
34       "\u09b6\u09c1\u0995\u09cd\u09f0\u09ac\u09be\u09f0",
35       "\u09b6\u09a8\u09bf\u09ac\u09be\u09f0"
36     ],
37     "ERANAMES": [
38       "BCE",
39       "CE"
40     ],
41     "ERAS": [
42       "BCE",
43       "CE"
44     ],
45     "FIRSTDAYOFWEEK": 6,
46     "MONTH": [
47       "\u099c\u09be\u09a8\u09c1\u09f1\u09be\u09f0\u09c0",
48       "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1\u09f1\u09be\u09f0\u09c0",
49       "\u09ae\u09be\u09f0\u09cd\u099a",
50       "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2",
51       "\u09ae\u09c7",
52       "\u099c\u09c1\u09a8",
53       "\u099c\u09c1\u09b2\u09be\u0987",
54       "\u0986\u0997\u09b7\u09cd\u099f",
55       "\u099b\u09c7\u09aa\u09cd\u09a4\u09c7\u09ae\u09cd\u09ac\u09f0",
56       "\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09f0",
57       "\u09a8\u09f1\u09c7\u09ae\u09cd\u09ac\u09f0",
58       "\u09a1\u09bf\u099a\u09c7\u09ae\u09cd\u09ac\u09f0"
59     ],
60     "SHORTDAY": [
61       "\u09f0\u09ac\u09bf",
62       "\u09b8\u09cb\u09ae",
63       "\u09ae\u0999\u09cd\u0997\u09b2",
64       "\u09ac\u09c1\u09a7",
65       "\u09ac\u09c3\u09b9\u09b7\u09cd\u09aa\u09a4\u09bf",
66       "\u09b6\u09c1\u0995\u09cd\u09f0",
67       "\u09b6\u09a8\u09bf"
68     ],
69     "SHORTMONTH": [
70       "\u099c\u09be\u09a8\u09c1",
71       "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1",
72       "\u09ae\u09be\u09f0\u09cd\u099a",
73       "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2",
74       "\u09ae\u09c7",
75       "\u099c\u09c1\u09a8",
76       "\u099c\u09c1\u09b2\u09be\u0987",
77       "\u0986\u0997",
78       "\u09b8\u09c7\u09aa\u09cd\u099f",
79       "\u0985\u0995\u09cd\u099f\u09cb",
80       "\u09a8\u09ad\u09c7",
81       "\u09a1\u09bf\u09b8\u09c7"
82     ],
83     "STANDALONEMONTH": [
84       "\u099c\u09be\u09a8\u09c1\u09f1\u09be\u09f0\u09c0",
85       "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1\u09f1\u09be\u09f0\u09c0",
86       "\u09ae\u09be\u09f0\u09cd\u099a",
87       "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2",
88       "\u09ae\u09c7",
89       "\u099c\u09c1\u09a8",
90       "\u099c\u09c1\u09b2\u09be\u0987",
91       "\u0986\u0997\u09b7\u09cd\u099f",
92       "\u099b\u09c7\u09aa\u09cd\u09a4\u09c7\u09ae\u09cd\u09ac\u09f0",
93       "\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09f0",
94       "\u09a8\u09f1\u09c7\u09ae\u09cd\u09ac\u09f0",
95       "\u09a1\u09bf\u099a\u09c7\u09ae\u09cd\u09ac\u09f0"
96     ],
97     "WEEKENDRANGE": [
98       6,
99       6
100     ],
101     "fullDate": "EEEE, d MMMM, y",
102     "longDate": "d MMMM, y",
103     "medium": "dd-MM-y h.mm.ss a",
104     "mediumDate": "dd-MM-y",
105     "mediumTime": "h.mm.ss a",
106     "short": "d-M-y h.mm. a",
107     "shortDate": "d-M-y",
108     "shortTime": "h.mm. a"
109   },
110   "NUMBER_FORMATS": {
111     "CURRENCY_SYM": "\u20b9",
112     "DECIMAL_SEP": ".",
113     "GROUP_SEP": ",",
114     "PATTERNS": [
115       {
116         "gSize": 2,
117         "lgSize": 3,
118         "maxFrac": 3,
119         "minFrac": 0,
120         "minInt": 1,
121         "negPre": "-",
122         "negSuf": "",
123         "posPre": "",
124         "posSuf": ""
125       },
126       {
127         "gSize": 2,
128         "lgSize": 3,
129         "maxFrac": 2,
130         "minFrac": 2,
131         "minInt": 1,
132         "negPre": "-\u00a4\u00a0",
133         "negSuf": "",
134         "posPre": "\u00a4\u00a0",
135         "posSuf": ""
136       }
137     ]
138   },
139   "id": "as",
140   "localeID": "as",
141   "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;}
142 });
143 }]);