abfcd60dbd14bded80b389c8de7b859f3625c753
[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       "\u092e.\u092a\u0942.",
26       "\u092e.\u0928\u0902."
27     ],
28     "DAY": [
29       "\u0906\u0926\u093f\u0924\u094d\u092f\u0935\u093e\u0930",
30       "\u0938\u094b\u092e\u0935\u093e\u0930",
31       "\u092e\u0902\u0917\u0933\u093e\u0930",
32       "\u092c\u0941\u0927\u0935\u093e\u0930",
33       "\u0917\u0941\u0930\u0941\u0935\u093e\u0930",
34       "\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930",
35       "\u0936\u0928\u093f\u0935\u093e\u0930"
36     ],
37     "ERANAMES": [
38       "\u0915\u094d\u0930\u093f\u0938\u094d\u0924\u092a\u0942\u0930\u094d\u0935",
39       "\u0915\u094d\u0930\u093f\u0938\u094d\u0924\u0936\u0916\u093e"
40     ],
41     "ERAS": [
42       "\u0915\u094d\u0930\u093f\u0938\u094d\u0924\u092a\u0942\u0930\u094d\u0935",
43       "\u0915\u094d\u0930\u093f\u0938\u094d\u0924\u0936\u0916\u093e"
44     ],
45     "FIRSTDAYOFWEEK": 6,
46     "MONTH": [
47       "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940",
48       "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940",
49       "\u092e\u093e\u0930\u094d\u091a",
50       "\u090f\u092a\u094d\u0930\u093f\u0932",
51       "\u092e\u0947",
52       "\u091c\u0942\u0928",
53       "\u091c\u0941\u0932\u0948",
54       "\u0913\u0917\u0938\u094d\u091f",
55       "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930",
56       "\u0913\u0915\u094d\u091f\u094b\u092c\u0930",
57       "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930",
58       "\u0921\u093f\u0938\u0947\u0902\u092c\u0930"
59     ],
60     "SHORTDAY": [
61       "\u0930\u0935\u093f",
62       "\u0938\u094b\u092e",
63       "\u092e\u0902\u0917\u0933",
64       "\u092c\u0941\u0927",
65       "\u0917\u0941\u0930\u0941",
66       "\u0936\u0941\u0915\u094d\u0930",
67       "\u0936\u0928\u093f"
68     ],
69     "SHORTMONTH": [
70       "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940",
71       "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940",
72       "\u092e\u093e\u0930\u094d\u091a",
73       "\u090f\u092a\u094d\u0930\u093f\u0932",
74       "\u092e\u0947",
75       "\u091c\u0942\u0928",
76       "\u091c\u0941\u0932\u0948",
77       "\u0913\u0917\u0938\u094d\u091f",
78       "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930",
79       "\u0913\u0915\u094d\u091f\u094b\u092c\u0930",
80       "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930",
81       "\u0921\u093f\u0938\u0947\u0902\u092c\u0930"
82     ],
83     "STANDALONEMONTH": [
84       "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940",
85       "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940",
86       "\u092e\u093e\u0930\u094d\u091a",
87       "\u090f\u092a\u094d\u0930\u093f\u0932",
88       "\u092e\u0947",
89       "\u091c\u0942\u0928",
90       "\u091c\u0941\u0932\u0948",
91       "\u0913\u0917\u0938\u094d\u091f",
92       "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930",
93       "\u0913\u0915\u094d\u091f\u094b\u092c\u0930",
94       "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930",
95       "\u0921\u093f\u0938\u0947\u0902\u092c\u0930"
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-yy h:mm a",
107     "shortDate": "d-M-yy",
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": "kok-in",
140   "localeID": "kok_IN",
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 }]);