add cs (czech) translation

This commit is contained in:
Martin Zimmermann 2016-01-08 21:32:16 +01:00
parent 1201c5145d
commit dc1d83b74b
3 changed files with 36 additions and 3 deletions

View File

@ -51,8 +51,12 @@ Defaults to `true`.
data-isso-lang data-isso-lang
-------------- --------------
Override useragent's preferred language. Currently available: german (de), Override useragent's preferred language. Isso has been translated in over 12
english (en), french (fr), italian (it), esperanto (eo), russian (ru) and spanish (es). languages. The language is configured by its `ISO 639-1
<https://en.wikipedia.org/wiki/ISO_639-1>`_ (two letter) code.
You find a list of all supported languages on `GitHub
<https://github.com/posativ/isso/tree/master/isso/js/app/i18n>`_.
data-isso-reply-to-self data-isso-reply-to-self
----------------------- -----------------------

View File

@ -1,9 +1,10 @@
define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", "app/i18n/es", "app/i18n/zh_CN"], function(config, de, en, fr, ru, it, eo, sv, nl, el, es, zh) { define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", "app/i18n/es", "app/i18n/zh_CN"], function(config, cs, de, en, fr, ru, it, eo, sv, nl, el, es, zh) {
"use strict"; "use strict";
var pluralforms = function(lang) { var pluralforms = function(lang) {
switch (lang) { switch (lang) {
case "cs":
case "de": case "de":
case "el": case "el":
case "en": case "en":
@ -44,6 +45,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
} }
var catalogue = { var catalogue = {
cs: cs,
de: de, de: de,
el: el, el: el,
en: en, en: en,

27
isso/js/app/i18n/cs.js Normal file
View File

@ -0,0 +1,27 @@
define({
"postbox-text": "Sem napiště svůj komentář (nejméně 3 znaky)",
"postbox-author": "Jméno (nepovinné)",
"postbox-email": "E-mail (nepovinný)",
"postbox-website": "Web (nepovinný)",
"postbox-submit": "Publikovat",
"num-comments": "Jeden komentář\n{{ n }} Komentářů",
"no-comments": "Zatím bez komentářů",
"comment-reply": "Odpovědět",
"comment-edit": "Upravit",
"comment-save": "Uložit",
"comment-delete": "Smazat",
"comment-confirm": "Potvrdit",
"comment-close": "Zavřít",
"comment-cancel": "Zrušit",
"comment-deleted": "Komentář smazán",
"comment-queued": "Komentář ve frontě na schválení",
"comment-anonymous": "Anonym",
"comment-hidden": "{{ n }} skryto",
"date-now": "právě teď",
"date-minute": "před minutou\npřed {{ n }} minutami",
"date-hour": "před hodinou\npřed {{ n }} hodinami",
"date-day": "včera\npřed {{ n }} dny",
"date-week": "minulý týden\npřed {{ n }} týdny",
"date-month": "minulý měsíc\npřed {{ n }} měsíci",
"date-year": "minulý rok\npřed {{ n }} lety"
});