Skip to content

Commit c2136ce

Browse files
authored
Merge pull request isso-comments#532 from Kwpolska/update-polish-translation
Update Polish translation
2 parents 6092881 + f1dcd17 commit c2136ce

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed

isso/js/app/i18n.js

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
22
"app/i18n/de", "app/i18n/en", "app/i18n/fa", "app/i18n/fi",
33
"app/i18n/fr", "app/i18n/hr", "app/i18n/hu", "app/i18n/ru", "app/i18n/it",
4-
"app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR",
4+
"app/i18n/eo", "app/i18n/pl", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR",
55
"app/i18n/es", "app/i18n/vi", "app/i18n/zh_CN", "app/i18n/zh_CN", "app/i18n/zh_TW"],
6-
function(config, bg, cs, da, de, en, fa, fi, fr, hr, hu, ru, it, eo, sv, nl, el, es, vi, zh, zh_CN, zh_TW) {
6+
function(config, bg, cs, da, de, en, fa, fi, fr, hr, hu, ru, it, eo, pl, sv, nl, el, es, vi, zh, zh_CN, zh_TW) {
77

88
"use strict";
99

@@ -45,6 +45,16 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
4545
return typeof msgs[2] !== "undefined" ? msgs[2] : msgs[1];
4646
}
4747
};
48+
case "pl":
49+
return function(msgs, n) {
50+
if (n === 1) {
51+
return msgs[0];
52+
} else if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20)) {
53+
return msgs[1];
54+
} else {
55+
return typeof msgs[2] !== "undefined" ? msgs[2] : msgs[1];
56+
}
57+
};
4858
default:
4959
return null;
5060
}
@@ -73,6 +83,7 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
7383
it: it,
7484
hr: hr,
7585
hu: hu,
86+
pl: pl,
7687
ru: ru,
7788
sv: sv,
7889
nl: nl,

isso/js/app/i18n/pl.js

+15-10
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ define({
33
"postbox-author": "Imię/nick (opcjonalnie)",
44
"postbox-email": "E-mail (opcjonalnie)",
55
"postbox-website": "Strona (opcjonalnie)",
6-
"postbox-preview": "Visualizar",
6+
"postbox-preview": "Podgląd",
77
"postbox-edit": "Edytuj",
88
"postbox-submit": "Wyślij",
9-
"num-comments": "Jeden komentarz\n{{ n }} komentarzy",
10-
"no-comments": "Jeszcze nie ma komentarzy",
9+
"postbox-notification": "Otrzymuj powiadomienia o odpowiedziach na e-mail",
10+
11+
"num-comments": "Jeden komentarz\n{{ n }} komentarze\n{{ n }} komentarzy",
12+
"no-comments": "Nie ma jeszcze komentarzy",
13+
"atom-feed": "Kanał Atom",
14+
1115
"comment-reply": "Odpowiedz",
1216
"comment-edit": "Edytuj",
1317
"comment-save": "Zapisz",
@@ -16,14 +20,15 @@ define({
1620
"comment-close": "Zamknij",
1721
"comment-cancel": "Anuluj",
1822
"comment-deleted": "Komentarz usunięty.",
19-
"comment-queued": "Komentarz w kolejce do moderacji",
23+
"comment-queued": "Komentarz w kolejce do moderacji.",
2024
"comment-anonymous": "Anonim",
21-
"comment-hidden": "{{ n }} ukrytych",
25+
"comment-hidden": "{{ n }} ukryty\n{{ n }} ukryte\n{{ n }} ukrytych",
26+
2227
"date-now": "teraz",
23-
"date-minute": "minutę temu\n{{ n }} minut temu",
24-
"date-hour": "godzinę temu\n{{ n }} godzin temu",
28+
"date-minute": "minutę temu\n{{ n }} minuty temu\n{{ n }} minut temu",
29+
"date-hour": "godzinę temu\n{{ n }} godziny temu\n{{ n }} godzin temu",
2530
"date-day": "wczoraj\n{{ n }} dni temu",
26-
"date-week": "w ubiegłym tygodniu\n{{ n }} tygodni temu",
27-
"date-month": "w ubiegłym miesiącu\n{{ n }} miesięcy temu",
28-
"date-year": "w ubiegłym roku\n{{ n }} lat temu"
31+
"date-week": "w ubiegłym tygodniu\n{{ n }} tygodnie temu\n{{ n }} tygodni temu",
32+
"date-month": "w ubiegłym miesiącu\n{{ n }} miesiące temu\n{{ n }} miesięcy temu",
33+
"date-year": "w ubiegłym roku\n{{ n }} lata temu\n{{ n }} lat temu"
2934
});

0 commit comments

Comments
 (0)