Merge pull request #543 from krtcom/feat_i18n_sk
add slovak translations
This commit is contained in:
commit
77871a8bab
@ -1,9 +1,9 @@
|
||||
define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
|
||||
"app/i18n/de", "app/i18n/en", "app/i18n/fa", "app/i18n/fi",
|
||||
"app/i18n/fr", "app/i18n/hr", "app/i18n/hu", "app/i18n/ru", "app/i18n/it",
|
||||
"app/i18n/eo", "app/i18n/pl", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR",
|
||||
"app/i18n/eo", "app/i18n/pl", "app/i18n/sk", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR",
|
||||
"app/i18n/es", "app/i18n/vi", "app/i18n/zh_CN", "app/i18n/zh_CN", "app/i18n/zh_TW"],
|
||||
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) {
|
||||
function(config, bg, cs, da, de, en, fa, fi, fr, hr, hu, ru, it, eo, pl, sk, sv, nl, el, es, vi, zh, zh_CN, zh_TW) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -55,6 +55,16 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
|
||||
return typeof msgs[2] !== "undefined" ? msgs[2] : msgs[1];
|
||||
}
|
||||
};
|
||||
case "sk":
|
||||
return function(msgs, n) {
|
||||
if (n === 1) {
|
||||
return msgs[0];
|
||||
} else if (n === 2 || n === 3 || n === 4) {
|
||||
return msgs[1];
|
||||
} else {
|
||||
return typeof msgs[2] !== "undefined" ? msgs[2] : msgs[1];
|
||||
}
|
||||
};
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
@ -85,6 +95,7 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
|
||||
hu: hu,
|
||||
pl: pl,
|
||||
ru: ru,
|
||||
sk: sk,
|
||||
sv: sv,
|
||||
nl: nl,
|
||||
vi: vi,
|
||||
|
29
isso/js/app/i18n/sk.js
Normal file
29
isso/js/app/i18n/sk.js
Normal file
@ -0,0 +1,29 @@
|
||||
define({
|
||||
"postbox-text": "Sem napíšte svoj komentár (minimálne 3 znaky)",
|
||||
"postbox-author": "Meno (nepovinné)",
|
||||
"postbox-email": "E-mail (nepovinný)",
|
||||
"postbox-website": "Web (nepovinný)",
|
||||
"postbox-preview": "Náhľad",
|
||||
"postbox-edit": "Upraviť",
|
||||
"postbox-submit": "Publikovať",
|
||||
"num-comments": "Jeden komentár\n{{ n }} komentáre\n{{ n }} komentárov",
|
||||
"no-comments": "Zatiaľ bez komentárov",
|
||||
"comment-reply": "Odpovedať",
|
||||
"comment-edit": "Upraviť",
|
||||
"comment-save": "Uložiť",
|
||||
"comment-delete": "Zmazať",
|
||||
"comment-confirm": "Potvrdit",
|
||||
"comment-close": "Zavrieť",
|
||||
"comment-cancel": "Zrušiť",
|
||||
"comment-deleted": "Komentár bol vymazaný",
|
||||
"comment-queued": "Komentár zaradený na schválenie",
|
||||
"comment-anonymous": "Anonym",
|
||||
"comment-hidden": "{{ n }} skrytý\n{{ n }} skryté\n{{ n }} skrytých",
|
||||
"date-now": "práve teraz",
|
||||
"date-minute": "pred minútou\npred {{ n }} minútami",
|
||||
"date-hour": "pred hodinou\npred {{ n }} hodinami",
|
||||
"date-day": "včera\npred {{ n }} dňami",
|
||||
"date-week": "minulý týždeň\npred {{ n }} týždňami",
|
||||
"date-month": "minulý mesiac\npred {{ n }} mesiacmi",
|
||||
"date-year": "minulý rok\npred {{ n }} rokmi"
|
||||
});
|
Loading…
Reference in New Issue
Block a user