7b66c440e4146d1ee8555b48ab0b5162f8d85a75
[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       "AM",
26       "PM"
27     ],
28     "DAY": [
29       "A\u014bp\u00e9tuwak\u021fa\u014b",
30       "A\u014bp\u00e9tuwa\u014b\u017ei",
31       "A\u014bp\u00e9tunu\u014bpa",
32       "A\u014bp\u00e9tuyamni",
33       "A\u014bp\u00e9tutopa",
34       "A\u014bp\u00e9tuzapta\u014b",
35       "Ow\u00e1\u014bgyu\u017ea\u017eapi"
36     ],
37     "ERANAMES": [
38       "BCE",
39       "CE"
40     ],
41     "ERAS": [
42       "BCE",
43       "CE"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "Wi\u00f3the\u021fika W\u00ed",
48       "Thiy\u00f3\u021feyu\u014bka W\u00ed",
49       "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed",
50       "P\u021fe\u017e\u00edt\u021fo W\u00ed",
51       "\u010cha\u014bw\u00e1pet\u021fo W\u00ed",
52       "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed",
53       "\u010cha\u014bp\u021f\u00e1sapa W\u00ed",
54       "Was\u00fat\u021fu\u014b W\u00ed",
55       "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed",
56       "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed",
57       "Wan\u00edyetu W\u00ed",
58       "T\u021fah\u00e9kap\u0161u\u014b W\u00ed"
59     ],
60     "SHORTDAY": [
61       "A\u014bp\u00e9tuwak\u021fa\u014b",
62       "A\u014bp\u00e9tuwa\u014b\u017ei",
63       "A\u014bp\u00e9tunu\u014bpa",
64       "A\u014bp\u00e9tuyamni",
65       "A\u014bp\u00e9tutopa",
66       "A\u014bp\u00e9tuzapta\u014b",
67       "Ow\u00e1\u014bgyu\u017ea\u017eapi"
68     ],
69     "SHORTMONTH": [
70       "Wi\u00f3the\u021fika W\u00ed",
71       "Thiy\u00f3\u021feyu\u014bka W\u00ed",
72       "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed",
73       "P\u021fe\u017e\u00edt\u021fo W\u00ed",
74       "\u010cha\u014bw\u00e1pet\u021fo W\u00ed",
75       "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed",
76       "\u010cha\u014bp\u021f\u00e1sapa W\u00ed",
77       "Was\u00fat\u021fu\u014b W\u00ed",
78       "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed",
79       "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed",
80       "Wan\u00edyetu W\u00ed",
81       "T\u021fah\u00e9kap\u0161u\u014b W\u00ed"
82     ],
83     "STANDALONEMONTH": [
84       "Wi\u00f3the\u021fika W\u00ed",
85       "Thiy\u00f3\u021feyu\u014bka W\u00ed",
86       "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed",
87       "P\u021fe\u017e\u00edt\u021fo W\u00ed",
88       "\u010cha\u014bw\u00e1pet\u021fo W\u00ed",
89       "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed",
90       "\u010cha\u014bp\u021f\u00e1sapa W\u00ed",
91       "Was\u00fat\u021fu\u014b W\u00ed",
92       "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed",
93       "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed",
94       "Wan\u00edyetu W\u00ed",
95       "T\u021fah\u00e9kap\u0161u\u014b W\u00ed"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "EEEE, MMMM d, y",
102     "longDate": "MMMM d, y",
103     "medium": "MMM d, y h:mm:ss a",
104     "mediumDate": "MMM d, y",
105     "mediumTime": "h:mm:ss a",
106     "short": "M/d/yy h:mm a",
107     "shortDate": "M/d/yy",
108     "shortTime": "h:mm a"
109   },
110   "NUMBER_FORMATS": {
111     "CURRENCY_SYM": "$",
112     "DECIMAL_SEP": ".",
113     "GROUP_SEP": ",",
114     "PATTERNS": [
115       {
116         "gSize": 3,
117         "lgSize": 3,
118         "maxFrac": 3,
119         "minFrac": 0,
120         "minInt": 1,
121         "negPre": "-",
122         "negSuf": "",
123         "posPre": "",
124         "posSuf": ""
125       },
126       {
127         "gSize": 3,
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": "lkt",
140   "localeID": "lkt",
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 }]);