b31aa612b80fbe57516dfad7815bb6ed306f89e9
[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.m.",
26       "p.m."
27     ],
28     "DAY": [
29       "Domingo",
30       "Lunes",
31       "Martes",
32       "Mi\u00e9rcoles",
33       "Jueves",
34       "Viernes",
35       "S\u00e1bado"
36     ],
37     "ERANAMES": [
38       "BCE",
39       "d.C."
40     ],
41     "ERAS": [
42       "BCE",
43       "d.C."
44     ],
45     "FIRSTDAYOFWEEK": 6,
46     "MONTH": [
47       "Qulla puquy",
48       "Hatun puquy",
49       "Pauqar waray",
50       "Ayriwa",
51       "Aymuray",
52       "Inti raymi",
53       "Anta Sitwa",
54       "Qhapaq Sitwa",
55       "Uma raymi",
56       "Kantaray",
57       "Ayamarq\u02bca",
58       "Kapaq Raymi"
59     ],
60     "SHORTDAY": [
61       "Dom",
62       "Lun",
63       "Mar",
64       "Mi\u00e9",
65       "Jue",
66       "Vie",
67       "Sab"
68     ],
69     "SHORTMONTH": [
70       "Qul",
71       "Hat",
72       "Pau",
73       "Ayr",
74       "Aym",
75       "Int",
76       "Ant",
77       "Qha",
78       "Uma",
79       "Kan",
80       "Aya",
81       "Kap"
82     ],
83     "STANDALONEMONTH": [
84       "Qulla puquy",
85       "Hatun puquy",
86       "Pauqar waray",
87       "Ayriwa",
88       "Aymuray",
89       "Inti raymi",
90       "Anta Sitwa",
91       "Qhapaq Sitwa",
92       "Uma raymi",
93       "Kantaray",
94       "Ayamarq\u02bca",
95       "Kapaq Raymi"
96     ],
97     "WEEKENDRANGE": [
98       5,
99       6
100     ],
101     "fullDate": "EEEE, d MMMM, y",
102     "longDate": "y MMMM d",
103     "medium": "y MMM d hh:mm:ss a",
104     "mediumDate": "y MMM d",
105     "mediumTime": "hh:mm:ss a",
106     "short": "dd/MM/y hh:mm a",
107     "shortDate": "dd/MM/y",
108     "shortTime": "hh:mm a"
109   },
110   "NUMBER_FORMATS": {
111     "CURRENCY_SYM": "Bs",
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": "qu-bo",
140   "localeID": "qu_BO",
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 }]);