be8968d5ca2c79496fecc1d475a2e18693d8087d
[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       "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c",
26       "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c"
27     ],
28     "DAY": [
29       "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59",
30       "\u2d30\u2d62\u2d4f\u2d30\u2d59",
31       "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59",
32       "\u2d30\u2d3d\u2d55\u2d30\u2d59",
33       "\u2d30\u2d3d\u2d61\u2d30\u2d59",
34       "\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59",
35       "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59"
36     ],
37     "ERANAMES": [
38       "\u2d37\u2d30\u2d5c \u2d4f \u2d44\u2d49\u2d59\u2d30",
39       "\u2d37\u2d3c\u2d3c\u2d49\u2d54 \u2d4f \u2d44\u2d49\u2d59\u2d30"
40     ],
41     "ERAS": [
42       "\u2d37\u2d30\u2d44",
43       "\u2d37\u2d3c\u2d44"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54",
48       "\u2d31\u2d55\u2d30\u2d62\u2d55",
49       "\u2d4e\u2d30\u2d55\u2d5a",
50       "\u2d49\u2d31\u2d54\u2d49\u2d54",
51       "\u2d4e\u2d30\u2d62\u2d62\u2d53",
52       "\u2d62\u2d53\u2d4f\u2d62\u2d53",
53       "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63",
54       "\u2d56\u2d53\u2d5b\u2d5c",
55       "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54",
56       "\u2d3d\u2d5c\u2d53\u2d31\u2d54",
57       "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54",
58       "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54"
59     ],
60     "SHORTDAY": [
61       "\u2d30\u2d59\u2d30",
62       "\u2d30\u2d62\u2d4f",
63       "\u2d30\u2d59\u2d49",
64       "\u2d30\u2d3d\u2d55",
65       "\u2d30\u2d3d\u2d61",
66       "\u2d30\u2d59\u2d49\u2d4e",
67       "\u2d30\u2d59\u2d49\u2d39"
68     ],
69     "SHORTMONTH": [
70       "\u2d49\u2d4f\u2d4f",
71       "\u2d31\u2d55\u2d30",
72       "\u2d4e\u2d30\u2d55",
73       "\u2d49\u2d31\u2d54",
74       "\u2d4e\u2d30\u2d62",
75       "\u2d62\u2d53\u2d4f",
76       "\u2d62\u2d53\u2d4d",
77       "\u2d56\u2d53\u2d5b",
78       "\u2d5b\u2d53\u2d5c",
79       "\u2d3d\u2d5c\u2d53",
80       "\u2d4f\u2d53\u2d61",
81       "\u2d37\u2d53\u2d4a"
82     ],
83     "STANDALONEMONTH": [
84       "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54",
85       "\u2d31\u2d55\u2d30\u2d62\u2d55",
86       "\u2d4e\u2d30\u2d55\u2d5a",
87       "\u2d49\u2d31\u2d54\u2d49\u2d54",
88       "\u2d4e\u2d30\u2d62\u2d62\u2d53",
89       "\u2d62\u2d53\u2d4f\u2d62\u2d53",
90       "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63",
91       "\u2d56\u2d53\u2d5b\u2d5c",
92       "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54",
93       "\u2d3d\u2d5c\u2d53\u2d31\u2d54",
94       "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54",
95       "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54"
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": "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": "\u00a4",
134         "posPre": "",
135         "posSuf": "\u00a4"
136       }
137     ]
138   },
139   "id": "shi-tfng",
140   "localeID": "shi_Tfng",
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 }]);