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) {
6 var i = n.indexOf('.');
7 return (i == -1) ? 0 : n.length - i - 1;
10 function getVF(n, opt_precision) {
11 var v = opt_precision;
13 if (undefined === v) {
14 v = Math.min(getDecimals(n), 3);
17 var base = Math.pow(10, v);
18 var f = ((n * base) | 0) % base;
22 $provide.value("$locale", {
29 "\u043d\u0435\u0434\u0456\u043b\u044f",
30 "\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a",
31 "\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a",
32 "\u0441\u0435\u0440\u0435\u0434\u0430",
33 "\u0447\u0435\u0442\u0432\u0435\u0440",
34 "\u043f\u02bc\u044f\u0442\u043d\u0438\u0446\u044f",
35 "\u0441\u0443\u0431\u043e\u0442\u0430"
38 "\u0434\u043e \u043d\u0430\u0448\u043e\u0457 \u0435\u0440\u0438",
39 "\u043d\u0430\u0448\u043e\u0457 \u0435\u0440\u0438"
42 "\u0434\u043e \u043d.\u0435.",
47 "\u0441\u0456\u0447\u043d\u044f",
48 "\u043b\u044e\u0442\u043e\u0433\u043e",
49 "\u0431\u0435\u0440\u0435\u0437\u043d\u044f",
50 "\u043a\u0432\u0456\u0442\u043d\u044f",
51 "\u0442\u0440\u0430\u0432\u043d\u044f",
52 "\u0447\u0435\u0440\u0432\u043d\u044f",
53 "\u043b\u0438\u043f\u043d\u044f",
54 "\u0441\u0435\u0440\u043f\u043d\u044f",
55 "\u0432\u0435\u0440\u0435\u0441\u043d\u044f",
56 "\u0436\u043e\u0432\u0442\u043d\u044f",
57 "\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430",
58 "\u0433\u0440\u0443\u0434\u043d\u044f"
70 "\u0441\u0456\u0447.",
71 "\u043b\u044e\u0442.",
72 "\u0431\u0435\u0440.",
73 "\u043a\u0432\u0456\u0442.",
74 "\u0442\u0440\u0430\u0432.",
75 "\u0447\u0435\u0440\u0432.",
76 "\u043b\u0438\u043f.",
77 "\u0441\u0435\u0440\u043f.",
78 "\u0432\u0435\u0440.",
79 "\u0436\u043e\u0432\u0442.",
80 "\u043b\u0438\u0441\u0442.",
81 "\u0433\u0440\u0443\u0434."
84 "\u0421\u0456\u0447\u0435\u043d\u044c",
85 "\u041b\u044e\u0442\u0438\u0439",
86 "\u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c",
87 "\u041a\u0432\u0456\u0442\u0435\u043d\u044c",
88 "\u0422\u0440\u0430\u0432\u0435\u043d\u044c",
89 "\u0427\u0435\u0440\u0432\u0435\u043d\u044c",
90 "\u041b\u0438\u043f\u0435\u043d\u044c",
91 "\u0421\u0435\u0440\u043f\u0435\u043d\u044c",
92 "\u0412\u0435\u0440\u0435\u0441\u0435\u043d\u044c",
93 "\u0416\u043e\u0432\u0442\u0435\u043d\u044c",
94 "\u041b\u0438\u0441\u0442\u043e\u043f\u0430\u0434",
95 "\u0413\u0440\u0443\u0434\u0435\u043d\u044c"
101 "fullDate": "EEEE, d MMMM y '\u0440'.",
102 "longDate": "d MMMM y '\u0440'.",
103 "medium": "d MMM y '\u0440'. HH:mm:ss",
104 "mediumDate": "d MMM y '\u0440'.",
105 "mediumTime": "HH:mm:ss",
106 "short": "dd.MM.yy HH:mm",
107 "shortDate": "dd.MM.yy",
111 "CURRENCY_SYM": "\u20b4",
113 "GROUP_SEP": "\u00a0",
133 "negSuf": "\u00a0\u00a4",
135 "posSuf": "\u00a0\u00a4"
141 "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}