db5682f97b05c06b1139caecfb293cda64149831
[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       "TOO",
26       "MUU"
27     ],
28     "DAY": [
29       "Jumap\u00ediri",
30       "Jumat\u00e1tu",
31       "Juma\u00edne",
32       "Jumat\u00e1ano",
33       "Alam\u00edisi",
34       "Ijum\u00e1a",
35       "Jumam\u00f3osi"
36     ],
37     "ERANAMES": [
38       "K\u0268r\u0268sit\u0289 s\u0268 anavyaal",
39       "K\u0268r\u0268sit\u0289 akavyaalwe"
40     ],
41     "ERAS": [
42       "KSA",
43       "KA"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "K\u0289f\u00fangat\u0268",
48       "K\u0289naan\u0268",
49       "K\u0289keenda",
50       "Kwiikumi",
51       "Kwiinyamb\u00e1la",
52       "Kwiidwaata",
53       "K\u0289m\u0289\u0289nch\u0268",
54       "K\u0289v\u0268\u0268r\u0268",
55       "K\u0289saat\u0289",
56       "Kwiinyi",
57       "K\u0289saano",
58       "K\u0289sasat\u0289"
59     ],
60     "SHORTDAY": [
61       "P\u00edili",
62       "T\u00e1atu",
63       "\u00cdne",
64       "T\u00e1ano",
65       "Alh",
66       "Ijm",
67       "M\u00f3osi"
68     ],
69     "SHORTMONTH": [
70       "F\u00fangat\u0268",
71       "Naan\u0268",
72       "Keenda",
73       "Ik\u00fami",
74       "Inyambala",
75       "Idwaata",
76       "M\u0289\u0289nch\u0268",
77       "V\u0268\u0268r\u0268",
78       "Saat\u0289",
79       "Inyi",
80       "Saano",
81       "Sasat\u0289"
82     ],
83     "STANDALONEMONTH": [
84       "K\u0289f\u00fangat\u0268",
85       "K\u0289naan\u0268",
86       "K\u0289keenda",
87       "Kwiikumi",
88       "Kwiinyamb\u00e1la",
89       "Kwiidwaata",
90       "K\u0289m\u0289\u0289nch\u0268",
91       "K\u0289v\u0268\u0268r\u0268",
92       "K\u0289saat\u0289",
93       "Kwiinyi",
94       "K\u0289saano",
95       "K\u0289sasat\u0289"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "EEEE, d MMMM y",
102     "longDate": "d MMMM y",
103     "medium": "d MMM y h:mm:ss a",
104     "mediumDate": "d MMM y",
105     "mediumTime": "h:mm:ss a",
106     "short": "dd/MM/y h:mm a",
107     "shortDate": "dd/MM/y",
108     "shortTime": "h:mm a"
109   },
110   "NUMBER_FORMATS": {
111     "CURRENCY_SYM": "TSh",
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": "lag",
140   "localeID": "lag",
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 }]);