c6691f9f2f0ea8b0852aba0323e9144573586746
[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       "A.M.",
26       "P.M."
27     ],
28     "DAY": [
29       "Mb\u1ecds\u1ecb \u1ee4ka",
30       "M\u1ecdnde",
31       "Tiuzdee",
32       "Wenezdee",
33       "T\u1ecd\u1ecdzdee",
34       "Fra\u1ecbdee",
35       "Sat\u1ecddee"
36     ],
37     "ERANAMES": [
38       "Tupu Kristi",
39       "Af\u1ecd Kristi"
40     ],
41     "ERAS": [
42       "T.K.",
43       "A.K."
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "Jen\u1ee5war\u1ecb",
48       "Febr\u1ee5war\u1ecb",
49       "Maach\u1ecb",
50       "Eprel",
51       "Mee",
52       "Juun",
53       "Jula\u1ecb",
54       "\u1eccg\u1ecd\u1ecdst",
55       "Septemba",
56       "\u1eccktoba",
57       "Novemba",
58       "Disemba"
59     ],
60     "SHORTDAY": [
61       "\u1ee4ka",
62       "M\u1ecdn",
63       "Tiu",
64       "Wen",
65       "T\u1ecd\u1ecd",
66       "Fra\u1ecb",
67       "Sat"
68     ],
69     "SHORTMONTH": [
70       "Jen",
71       "Feb",
72       "Maa",
73       "Epr",
74       "Mee",
75       "Juu",
76       "Jul",
77       "\u1eccg\u1ecd",
78       "Sep",
79       "\u1ecckt",
80       "Nov",
81       "Dis"
82     ],
83     "STANDALONEMONTH": [
84       "Jen\u1ee5war\u1ecb",
85       "Febr\u1ee5war\u1ecb",
86       "Maach\u1ecb",
87       "Eprel",
88       "Mee",
89       "Juun",
90       "Jula\u1ecb",
91       "\u1eccg\u1ecd\u1ecdst",
92       "Septemba",
93       "\u1eccktoba",
94       "Novemba",
95       "Disemba"
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": "\u20a6",
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",
133         "negSuf": "",
134         "posPre": "\u00a4",
135         "posSuf": ""
136       }
137     ]
138   },
139   "id": "ig-ng",
140   "localeID": "ig_NG",
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 }]);