912e21821e1114675d5992940962e4cd42e79292
[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       "pasepeeivi",
30       "vuossaarg\u00e2",
31       "majebaarg\u00e2",
32       "koskoho",
33       "tuor\u00e2stuv",
34       "v\u00e1stuppeeivi",
35       "l\u00e1vurduv"
36     ],
37     "ERANAMES": [
38       "BCE",
39       "CE"
40     ],
41     "ERAS": [
42       "BCE",
43       "CE"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "M01",
48       "M02",
49       "M03",
50       "M04",
51       "M05",
52       "M06",
53       "M07",
54       "M08",
55       "M09",
56       "M10",
57       "M11",
58       "M12"
59     ],
60     "SHORTDAY": [
61       "pa",
62       "vu",
63       "ma",
64       "ko",
65       "tu",
66       "v\u00e1",
67       "l\u00e1"
68     ],
69     "SHORTMONTH": [
70       "M01",
71       "M02",
72       "M03",
73       "M04",
74       "M05",
75       "M06",
76       "M07",
77       "M08",
78       "M09",
79       "M10",
80       "M11",
81       "M12"
82     ],
83     "STANDALONEMONTH": [
84       "u\u0111\u0111\u00e2ivem\u00e1\u00e1nu",
85       "kuov\u00e2m\u00e1\u00e1nu",
86       "njuh\u010d\u00e2m\u00e1\u00e1nu",
87       "cu\u00e1\u014buim\u00e1\u00e1nu",
88       "vyesim\u00e1\u00e1nu",
89       "kesim\u00e1\u00e1nu",
90       "syeinim\u00e1\u00e1nu",
91       "porgem\u00e1\u00e1nu",
92       "\u010doh\u010d\u00e2m\u00e1\u00e1nu",
93       "roovv\u00e2dm\u00e1\u00e1nu",
94       "skamm\u00e2m\u00e1\u00e1nu",
95       "juovl\u00e2m\u00e1\u00e1nu"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "y MMMM d, EEEE",
102     "longDate": "y MMMM d",
103     "medium": "y MMM d HH:mm:ss",
104     "mediumDate": "y MMM d",
105     "mediumTime": "HH:mm:ss",
106     "short": "y-MM-dd HH:mm",
107     "shortDate": "y-MM-dd",
108     "shortTime": "HH:mm"
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": "-\u00a4\u00a0",
133         "negSuf": "",
134         "posPre": "\u00a4\u00a0",
135         "posSuf": ""
136       }
137     ]
138   },
139   "id": "smn-fi",
140   "localeID": "smn_FI",
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 }]);