0c07e7250943187026a3579b6902630983eca41b
[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       "n tufat",
26       "n tmeddit"
27     ],
28     "DAY": [
29       "Yanass",
30       "Sanass",
31       "Kra\u1e0dass",
32       "Ku\u1e93ass",
33       "Samass",
34       "S\u1e0disass",
35       "Sayass"
36     ],
37     "ERANAMES": [
38       "send talalit n \u0190isa",
39       "seld talalit n \u0190isa"
40     ],
41     "ERAS": [
42       "snd. T.\u0190",
43       "sld. T.\u0190"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "Yennayer",
48       "Fu\u1e5bar",
49       "Me\u0263res",
50       "Yebrir",
51       "Mayyu",
52       "Yunyu",
53       "Yulyu",
54       "\u0194uct",
55       "Ctembe\u1e5b",
56       "Tube\u1e5b",
57       "Nunembe\u1e5b",
58       "Du\u01e7embe\u1e5b"
59     ],
60     "SHORTDAY": [
61       "Yan",
62       "San",
63       "Kra\u1e0d",
64       "Ku\u1e93",
65       "Sam",
66       "S\u1e0dis",
67       "Say"
68     ],
69     "SHORTMONTH": [
70       "Yen",
71       "Fur",
72       "Me\u0263",
73       "Yeb",
74       "May",
75       "Yun",
76       "Yul",
77       "\u0194uc",
78       "Cte",
79       "Tub",
80       "Nun",
81       "Du\u01e7"
82     ],
83     "STANDALONEMONTH": [
84       "Yennayer",
85       "Fu\u1e5bar",
86       "Me\u0263res",
87       "Yebrir",
88       "Mayyu",
89       "Yunyu",
90       "Yulyu",
91       "\u0194uct",
92       "Ctembe\u1e5b",
93       "Tube\u1e5b",
94       "Nunembe\u1e5b",
95       "Du\u01e7embe\u1e5b"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "EEEE d MMMM y",
102     "longDate": "d MMMM y",
103     "medium": "d MMM, y HH:mm:ss",
104     "mediumDate": "d MMM, y",
105     "mediumTime": "HH:mm:ss",
106     "short": "d/M/y HH:mm",
107     "shortDate": "d/M/y",
108     "shortTime": "HH:mm"
109   },
110   "NUMBER_FORMATS": {
111     "CURRENCY_SYM": "din",
112     "DECIMAL_SEP": ",",
113     "GROUP_SEP": "\u00a0",
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": "-",
133         "negSuf": "\u00a4",
134         "posPre": "",
135         "posSuf": "\u00a4"
136       }
137     ]
138   },
139   "id": "kab",
140   "localeID": "kab",
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 }]);