0511efcd7f88b2f81396cf27377a3ca058c75fa5
[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       "I bik\u025b\u0302gl\u00e0",
26       "I \u0253ugaj\u0254p"
27     ],
28     "DAY": [
29       "\u014bgw\u00e0 n\u0254\u0302y",
30       "\u014bgw\u00e0 nja\u014bgumba",
31       "\u014bgw\u00e0 \u00fbm",
32       "\u014bgw\u00e0 \u014bg\u00ea",
33       "\u014bgw\u00e0 mb\u0254k",
34       "\u014bgw\u00e0 k\u0254\u0254",
35       "\u014bgw\u00e0 j\u00f4n"
36     ],
37     "ERANAMES": [
38       "bis\u016b bi Yes\u00f9 Kr\u01d0st\u00f2",
39       "i mb\u016bs Yes\u00f9 Kr\u01d0st\u00f2"
40     ],
41     "ERAS": [
42       "b.Y.K",
43       "m.Y.K"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "K\u0254nd\u0254\u014b",
48       "M\u00e0c\u025b\u0302l",
49       "M\u00e0t\u00f9mb",
50       "M\u00e0top",
51       "M\u0300puy\u025b",
52       "H\u00ecl\u00f2nd\u025b\u0300",
53       "Nj\u00e8b\u00e0",
54       "H\u00ecka\u014b",
55       "D\u00ecp\u0254\u0300s",
56       "B\u00ec\u00f2\u00f4m",
57       "M\u00e0y\u025bs\u00e8p",
58       "L\u00ecbuy li \u0144y\u00e8e"
59     ],
60     "SHORTDAY": [
61       "n\u0254y",
62       "nja",
63       "uum",
64       "\u014bge",
65       "mb\u0254",
66       "k\u0254\u0254",
67       "jon"
68     ],
69     "SHORTMONTH": [
70       "k\u0254n",
71       "mac",
72       "mat",
73       "mto",
74       "mpu",
75       "hil",
76       "nje",
77       "hik",
78       "dip",
79       "bio",
80       "may",
81       "li\u0253"
82     ],
83     "STANDALONEMONTH": [
84       "K\u0254nd\u0254\u014b",
85       "M\u00e0c\u025b\u0302l",
86       "M\u00e0t\u00f9mb",
87       "M\u00e0top",
88       "M\u0300puy\u025b",
89       "H\u00ecl\u00f2nd\u025b\u0300",
90       "Nj\u00e8b\u00e0",
91       "H\u00ecka\u014b",
92       "D\u00ecp\u0254\u0300s",
93       "B\u00ec\u00f2\u00f4m",
94       "M\u00e0y\u025bs\u00e8p",
95       "L\u00ecbuy li \u0144y\u00e8e"
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": "FCFA",
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": "\u00a0\u00a4",
134         "posPre": "",
135         "posSuf": "\u00a0\u00a4"
136       }
137     ]
138   },
139   "id": "bas-cm",
140   "localeID": "bas_CM",
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 }]);