49d87d4fb93a00d9a638813ff0218167512e63af
[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       "\u00c0\u00e1r\u1ecd\u0300",
26       "\u1ecc\u0300s\u00e1n"
27     ],
28     "DAY": [
29       "\u1eccj\u1ecd\u0301 \u00c0\u00eck\u00fa",
30       "\u1eccj\u1ecd\u0301 Aj\u00e9",
31       "\u1eccj\u1ecd\u0301 \u00ccs\u1eb9\u0301gun",
32       "\u1eccj\u1ecd\u0301r\u00fa",
33       "\u1eccj\u1ecd\u0301b\u1ecd",
34       "\u1eccj\u1ecd\u0301 \u1eb8t\u00ec",
35       "\u1eccj\u1ecd\u0301 \u00c0b\u00e1m\u1eb9\u0301ta"
36     ],
37     "ERANAMES": [
38       "Saju Kristi",
39       "Lehin Kristi"
40     ],
41     "ERAS": [
42       "SK",
43       "LK"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "O\u1e63\u00f9 \u1e62\u1eb9\u0301r\u1eb9\u0301",
48       "O\u1e63\u00f9 \u00c8r\u00e8l\u00e8",
49       "O\u1e63\u00f9 \u1eb8r\u1eb9\u0300n\u00e0",
50       "O\u1e63\u00f9 \u00ccgb\u00e9",
51       "O\u1e63\u00f9 \u1eb8\u0300bibi",
52       "O\u1e63\u00f9 \u00d2k\u00fadu",
53       "O\u1e63\u00f9 Ag\u1eb9m\u1ecd",
54       "O\u1e63\u00f9 \u00d2g\u00fan",
55       "O\u1e63\u00f9 Owewe",
56       "O\u1e63\u00f9 \u1ecc\u0300w\u00e0r\u00e0",
57       "O\u1e63\u00f9 B\u00e9l\u00fa",
58       "O\u1e63\u00f9 \u1ecc\u0300p\u1eb9\u0300"
59     ],
60     "SHORTDAY": [
61       "\u00c0\u00eck\u00fa",
62       "Aj\u00e9",
63       "\u00ccs\u1eb9\u0301gun",
64       "\u1eccj\u1ecd\u0301r\u00fa",
65       "\u1eccj\u1ecd\u0301b\u1ecd",
66       "\u1eb8t\u00ec",
67       "\u00c0b\u00e1m\u1eb9\u0301ta"
68     ],
69     "SHORTMONTH": [
70       "\u1e62\u1eb9\u0301r\u1eb9\u0301",
71       "\u00c8r\u00e8l\u00e8",
72       "\u1eb8r\u1eb9\u0300n\u00e0",
73       "\u00ccgb\u00e9",
74       "\u1eb8\u0300bibi",
75       "\u00d2k\u00fadu",
76       "Ag\u1eb9m\u1ecd",
77       "\u00d2g\u00fan",
78       "Owewe",
79       "\u1ecc\u0300w\u00e0r\u00e0",
80       "B\u00e9l\u00fa",
81       "\u1ecc\u0300p\u1eb9\u0300"
82     ],
83     "WEEKENDRANGE": [
84       5,
85       6
86     ],
87     "fullDate": "EEEE, d MMMM y",
88     "longDate": "d MMMM y",
89     "medium": "d MMM y h:mm:ss a",
90     "mediumDate": "d MMM y",
91     "mediumTime": "h:mm:ss a",
92     "short": "dd/MM/y h:mm a",
93     "shortDate": "dd/MM/y",
94     "shortTime": "h:mm a"
95   },
96   "NUMBER_FORMATS": {
97     "CURRENCY_SYM": "\u20a6",
98     "DECIMAL_SEP": ".",
99     "GROUP_SEP": ",",
100     "PATTERNS": [
101       {
102         "gSize": 3,
103         "lgSize": 3,
104         "maxFrac": 3,
105         "minFrac": 0,
106         "minInt": 1,
107         "negPre": "-",
108         "negSuf": "",
109         "posPre": "",
110         "posSuf": ""
111       },
112       {
113         "gSize": 3,
114         "lgSize": 3,
115         "maxFrac": 2,
116         "minFrac": 2,
117         "minInt": 1,
118         "negPre": "-\u00a4",
119         "negSuf": "",
120         "posPre": "\u00a4",
121         "posSuf": ""
122       }
123     ]
124   },
125   "id": "yo",
126   "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;}
127 });
128 }]);