add slovak translations

This commit is contained in:
Michal Krnáč 2019-03-11 14:04:52 +01:00
parent 31db6b61e7
commit 0d4d758099
2 changed files with 43 additions and 3 deletions

View File

@ -2,8 +2,8 @@ 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/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) {
"app/i18n/es", "app/i18n/vi", "app/i18n/zh_CN", "app/i18n/zh_CN", "app/i18n/zh_TW", "app/i18n/sk"],
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, sk) {
"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;
}
@ -90,7 +100,8 @@ define(["app/config", "app/i18n/bg", "app/i18n/cs", "app/i18n/da",
vi: vi,
zh: zh_CN,
zh_CN: zh_CN,
zh_TW: zh_TW
zh_TW: zh_TW,
sk: sk
};
var plural = pluralforms(lang);

29
isso/js/app/i18n/sk.js Normal file
View 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"
});