Translate to polish

This commit is contained in:
marcin 2020-10-14 11:57:00 +02:00
parent 1897f5567b
commit 0e115bb808
2 changed files with 549 additions and 567 deletions

View File

@ -1,24 +1,6 @@
'use strict'; 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) { angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; var PLURAL_CATEGORY = {ZERO: "zero", ONE: "jeden", TWO: "dwa", FEW: "trochę", MANY: "wiele", OTHER: "pozostałe"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_precision) {
var v = opt_precision;
if (undefined === v) {
v = Math.min(getDecimals(n), 3);
}
var base = Math.pow(10, v);
var f = ((n * base) | 0) % base;
return {v: v, f: f};
}
$provide.value("$locale", { $provide.value("$locale", {
"DATETIME_FORMATS": { "DATETIME_FORMATS": {
"AMPMS": [ "AMPMS": [
@ -26,17 +8,17 @@ $provide.value("$locale", {
"PM" "PM"
], ],
"DAY": [ "DAY": [
"Sunday", "Niedziela",
"Monday", "Poniedziałek",
"Tuesday", "Wtorek",
"Wednesday", "Środa",
"Thursday", "Czwartek",
"Friday", "Piątek",
"Saturday" "Sobota"
], ],
"ERANAMES": [ "ERANAMES": [
"Before Christ", "przed Chrystusem",
"Anno Domini" "roku Pańskiego"
], ],
"ERAS": [ "ERAS": [
"BC", "BC",
@ -44,73 +26,73 @@ $provide.value("$locale", {
], ],
"FIRSTDAYOFWEEK": 6, "FIRSTDAYOFWEEK": 6,
"MONTH": [ "MONTH": [
"January", "Styczeń",
"February", "Luty",
"March", "Marzec",
"April", "Kwiecień",
"May", "Maj",
"June", "Czerwic",
"July", "Lipiec",
"August", "Sierpień",
"September", "Wrzesień",
"October", "Październik",
"November", "Listopad",
"December" "Grudzień"
], ],
"SHORTDAY": [ "SHORTDAY": [
"Sun", "N",
"Mon", "Pn",
"Tue", "Wt",
"Wed", "Śr",
"Thu", "Cz",
"Fri", "Pt",
"Sat" "So"
], ],
"SHORTMONTH": [ "SHORTMONTH": [
"Jan", "Sty",
"Feb", "Lut",
"Mar", "Mar",
"Apr", "Kwi",
"May", "Maj",
"Jun", "Cze",
"Jul", "Lip",
"Aug", "Sie",
"Sep", "Wrz",
"Oct", "Paź",
"Nov", "Lis",
"Dec" "Gru"
], ],
"STANDALONEMONTH": [ "STANDALONEMONTH": [
"January", "Styczeń",
"February", "Luty",
"March", "Marzec",
"April", "Kwiecień",
"May", "Maj",
"June", "Czerwiec",
"July", "Lipiec",
"August", "Sierpień",
"September", "Wrzesień",
"October", "Październik",
"November", "Listopad",
"December" "Grudzień"
], ],
"WEEKENDRANGE": [ "WEEKENDRANGE": [
5, 5,
6 6
], ],
"fullDate": "EEEE, MMMM d, y", "fullDate": "EEEE d MMMM y",
"longDate": "MMMM d, y", "longDate": "d MMMM y",
"medium": "MMM d, y h:mm:ss a", "medium": "d MMM y HH:mm:ss",
"mediumDate": "MMM d, y", "mediumDate": "d MMM y",
"mediumTime": "h:mm:ss a", "mediumTime": "HH:mm:ss",
"short": "M/d/yy h:mm a", "short": "dd-MM-yyyy HH:mm",
"shortDate": "MM/dd/yyyy", "shortDate": "dd-MM-yyyy",
"shortTime": "h:mm a" "shortTime": "HH:mm"
}, },
"NUMBER_FORMATS": { "NUMBER_FORMATS": {
"CURRENCY_SYM": "$", "CURRENCY_SYM": "",
"DECIMAL_SEP": ".", "DECIMAL_SEP": ",",
"GROUP_SEP": ",", "GROUP_SEP": ".",
"PATTERNS": [ "PATTERNS": [
{ {
"gSize": 3, "gSize": 3,
@ -136,8 +118,8 @@ $provide.value("$locale", {
} }
] ]
}, },
"id": "en", "id": "pl",
"localeID": "en", "localeID": "pl",
"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;} "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
}); });
}]); }]);

File diff suppressed because it is too large Load Diff