4b5472cc0bf6c02ff4f496df0f4566725c69ea34
[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       "a.",
26       "p."
27     ],
28     "DAY": [
29       "domenie",
30       "lunis",
31       "martars",
32       "miercus",
33       "joibe",
34       "vinars",
35       "sabide"
36     ],
37     "ERANAMES": [
38       "pdC",
39       "ddC"
40     ],
41     "ERAS": [
42       "pdC",
43       "ddC"
44     ],
45     "FIRSTDAYOFWEEK": 0,
46     "MONTH": [
47       "Zen\u00e2r",
48       "Fevr\u00e2r",
49       "Mar\u00e7",
50       "Avr\u00eel",
51       "Mai",
52       "Jugn",
53       "Lui",
54       "Avost",
55       "Setembar",
56       "Otubar",
57       "Novembar",
58       "Dicembar"
59     ],
60     "SHORTDAY": [
61       "dom",
62       "lun",
63       "mar",
64       "mie",
65       "joi",
66       "vin",
67       "sab"
68     ],
69     "SHORTMONTH": [
70       "Zen",
71       "Fev",
72       "Mar",
73       "Avr",
74       "Mai",
75       "Jug",
76       "Lui",
77       "Avo",
78       "Set",
79       "Otu",
80       "Nov",
81       "Dic"
82     ],
83     "STANDALONEMONTH": [
84       "Zen\u00e2r",
85       "Fevr\u00e2r",
86       "Mar\u00e7",
87       "Avr\u00eel",
88       "Mai",
89       "Jugn",
90       "Lui",
91       "Avost",
92       "Setembar",
93       "Otubar",
94       "Novembar",
95       "Dicembar"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "EEEE d 'di' MMMM 'dal' y",
102     "longDate": "d 'di' MMMM 'dal' y",
103     "medium": "dd/MM/y HH:mm:ss",
104     "mediumDate": "dd/MM/y",
105     "mediumTime": "HH:mm:ss",
106     "short": "dd/MM/yy HH:mm",
107     "shortDate": "dd/MM/yy",
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": "fur-it",
140   "localeID": "fur_IT",
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 }]);