2e1c1fc2428eccc9e156e7c9edcc89c039b9b187
[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       "Dimas",
30       "Tene\u014b",
31       "Talata",
32       "Alarbay",
33       "Aramisay",
34       "Arjuma",
35       "Sibiti"
36     ],
37     "ERANAMES": [
38       "Ari\u014buu Yeesu",
39       "Atoo\u014be Yeesu"
40     ],
41     "ERAS": [
42       "ArY",
43       "AtY"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "Sanvie",
48       "F\u00e9birie",
49       "Mars",
50       "Aburil",
51       "Mee",
52       "Sue\u014b",
53       "S\u00fauyee",
54       "Ut",
55       "Settembar",
56       "Oktobar",
57       "Novembar",
58       "Disambar"
59     ],
60     "SHORTDAY": [
61       "Dim",
62       "Ten",
63       "Tal",
64       "Ala",
65       "Ara",
66       "Arj",
67       "Sib"
68     ],
69     "SHORTMONTH": [
70       "Sa",
71       "Fe",
72       "Ma",
73       "Ab",
74       "Me",
75       "Su",
76       "S\u00fa",
77       "Ut",
78       "Se",
79       "Ok",
80       "No",
81       "De"
82     ],
83     "STANDALONEMONTH": [
84       "Sanvie",
85       "F\u00e9birie",
86       "Mars",
87       "Aburil",
88       "Mee",
89       "Sue\u014b",
90       "S\u00fauyee",
91       "Ut",
92       "Settembar",
93       "Oktobar",
94       "Novembar",
95       "Disambar"
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": "CFA",
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": "dyo-sn",
140   "localeID": "dyo_SN",
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 }]);