b51f0f9ea92193afcf05031f93d65bcd377c14be
[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       "Zdat azal",
26       "\u1e0ceffir aza"
27     ],
28     "DAY": [
29       "Asamas",
30       "Aynas",
31       "Asinas",
32       "Akras",
33       "Akwas",
34       "Asimwas",
35       "Asi\u1e0dyas"
36     ],
37     "ERANAMES": [
38       "Zdat \u0190isa (TA\u0194)",
39       "\u1e0ceffir \u0190isa (TA\u0194)"
40     ],
41     "ERAS": [
42       "Z\u0190",
43       "\u1e0c\u0190"
44     ],
45     "FIRSTDAYOFWEEK": 5,
46     "MONTH": [
47       "Yennayer",
48       "Yebrayer",
49       "Mars",
50       "Ibrir",
51       "Mayyu",
52       "Yunyu",
53       "Yulyuz",
54       "\u0194uct",
55       "Cutanbir",
56       "K\u1e6duber",
57       "Nwanbir",
58       "Dujanbir"
59     ],
60     "SHORTDAY": [
61       "Asa",
62       "Ayn",
63       "Asn",
64       "Akr",
65       "Akw",
66       "Asm",
67       "As\u1e0d"
68     ],
69     "SHORTMONTH": [
70       "Yen",
71       "Yeb",
72       "Mar",
73       "Ibr",
74       "May",
75       "Yun",
76       "Yul",
77       "\u0194uc",
78       "Cut",
79       "K\u1e6du",
80       "Nwa",
81       "Duj"
82     ],
83     "STANDALONEMONTH": [
84       "Yennayer",
85       "Yebrayer",
86       "Mars",
87       "Ibrir",
88       "Mayyu",
89       "Yunyu",
90       "Yulyuz",
91       "\u0194uct",
92       "Cutanbir",
93       "K\u1e6duber",
94       "Nwanbir",
95       "Dujanbir"
96     ],
97     "WEEKENDRANGE": [
98       4,
99       5
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": "dh",
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": "tzm",
140   "localeID": "tzm",
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 }]);