513d701038af722150382d5fef00bdc217940689
[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       "dopo\u0142dnja",
26       "popo\u0142dnju"
27     ],
28     "DAY": [
29       "njed\u017aela",
30       "p\u00f3nd\u017aela",
31       "wutora",
32       "srjeda",
33       "\u0161tw\u00f3rtk",
34       "pjatk",
35       "sobota"
36     ],
37     "ERANAMES": [
38       "p\u0159ed Chrystowym narod\u017aenjom",
39       "po Chrystowym narod\u017aenju"
40     ],
41     "ERAS": [
42       "p\u0159.Chr.n.",
43       "po Chr.n."
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "januara",
48       "februara",
49       "m\u011brca",
50       "apryla",
51       "meje",
52       "junija",
53       "julija",
54       "awgusta",
55       "septembra",
56       "oktobra",
57       "nowembra",
58       "decembra"
59     ],
60     "SHORTDAY": [
61       "nje",
62       "p\u00f3n",
63       "wut",
64       "srj",
65       "\u0161tw",
66       "pja",
67       "sob"
68     ],
69     "SHORTMONTH": [
70       "jan.",
71       "feb.",
72       "m\u011br.",
73       "apr.",
74       "mej.",
75       "jun.",
76       "jul.",
77       "awg.",
78       "sep.",
79       "okt.",
80       "now.",
81       "dec."
82     ],
83     "STANDALONEMONTH": [
84       "januar",
85       "februar",
86       "m\u011brc",
87       "apryl",
88       "meja",
89       "junij",
90       "julij",
91       "awgust",
92       "september",
93       "oktober",
94       "nowember",
95       "december"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "EEEE, d. MMMM y",
102     "longDate": "d. MMMM y",
103     "medium": "d.M.y H:mm:ss",
104     "mediumDate": "d.M.y",
105     "mediumTime": "H:mm:ss",
106     "short": "d.M.yy H:mm 'hod\u017a'.",
107     "shortDate": "d.M.yy",
108     "shortTime": "H:mm 'hod\u017a'."
109   },
110   "NUMBER_FORMATS": {
111     "CURRENCY_SYM": "\u20ac",
112     "DECIMAL_SEP": ",",
113     "GROUP_SEP": ".",
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": "hsb",
140   "localeID": "hsb",
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 }]);