PageSourceSearch

https://rekrutacja.pedagogium.pl/pdg-irk-app/content/script/angularjs/i18n/angular-locale_pl.js

js pedagogium.pl collected 2026-10-04 13:33:24 UTC 2,754 bytes, 123 lines download raw bytes

1'use strict';
2angular.module("ngLocale", [], ["$provide", function($provide) {
3var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
4function getDecimals(n) {
5  n = n + '';
6  var i = n.indexOf('.');
7  return (i == -1) ? 0 : n.length - i - 1;
8}
9
10function 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      "niedziela",
30      "poniedzia\u0142ek",
31      "wtorek",
32      "\u015broda",
33      "czwartek",
34      "pi\u0105tek",
35      "sobota"
36    ],
37    "ERANAMES": [
38      "p.n.e.",
39      "n.e."
40    ],
41    "ERAS": [
42      "p.n.e.",
43      "n.e."
44    ],
45    "MONTH": [
46      "stycznia",
47      "lutego",
48      "marca",
49      "kwietnia",
50      "maja",
51      "czerwca",
52      "lipca",
53      "sierpnia",
54      "wrze\u015bnia",
55      "pa\u017adziernika",
56      "listopada",
57      "grudnia"
58    ],
59    "SHORTDAY": [
60      "niedz.",
61      "pon.",
62      "wt.",
63      "\u015br.",
64      "czw.",
65      "pt.",
66      "sob."
67    ],
68    "SHORTMONTH": [
69      "sty",
70      "lut",
71      "mar",
72      "kwi",
73      "maj",
74      "cze",
75      "lip",
76      "sie",
77      "wrz",
78      "pa\u017a",
79      "lis",
80      "gru"
81    ],
82    "fullDate": "EEEE, d MMMM y",
83    "longDate": "d MMMM y",
84    "medium": "d MMM y HH:mm:ss",
85    "mediumDate": "d MMM y",
86    "mediumTime": "HH:mm:ss",
87    "short": "dd.MM.y HH:mm",
88    "shortDate": "dd.MM.y",
89    "shortTime": "HH:mm"
90  },
91  "NUMBER_FORMATS": {
92    "CURRENCY_SYM": "z\u0142",
93    "DECIMAL_SEP": ",",
94    "GROUP_SEP": "\u00a0",
95    "PATTERNS": [
96      {
97        "gSize": 3,
98        "lgSize": 3,
99        "maxFrac": 3,
100        "minFrac": 0,
101        "minInt": 1,
102        "negPre": "-",
103        "negSuf": "",
104        "posPre": "",
105        "posSuf": ""
106      },
107      {
108        "gSize": 3,
109        "lgSize": 3,
110        "maxFrac": 2,
111        "minFrac": 2,
112        "minInt": 1,
113        "negPre": "-",
114        "negSuf": "\u00a0\u00a4",
115        "posPre": "",
116        "posSuf": "\u00a0\u00a4"
117      }
118    ]
119  },
120  "id": "pl",
121  "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;  }  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 != 1 && i % 10 >= 0 && i % 10 <= 1 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 12 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}
122});
123}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.