add esperanto translation

This commit is contained in:
Martin Zimmermann 2014-06-25 14:19:53 +02:00
parent 41dd7d8173
commit fbb55bf38a
5 changed files with 37 additions and 3 deletions

View File

@ -68,6 +68,8 @@ Changelog for Isso
available in werkzeug 0.9 or higher. If you're still using werkzeug 0.8, Isso available in werkzeug 0.9 or higher. If you're still using werkzeug 0.8, Isso
imports passlib__ as fallback (if available). imports passlib__ as fallback (if available).
- esperanto translation by Baptiste Darthenay
This release also features a new templating engine Jade__ which replaces This release also features a new templating engine Jade__ which replaces
Markup.js__. Jade can compile directly to JavaScript with a tiny runtime module Markup.js__. Jade can compile directly to JavaScript with a tiny runtime module

View File

@ -38,6 +38,9 @@ In chronological order:
* Convert SCSS to plain CSS * Convert SCSS to plain CSS
* Refresh style, make it responsive * Refresh style, make it responsive
* Baptiste Darthenay
* Esperanto translation
* [Your name or handle] <[email or website]> * [Your name or handle] <[email or website]>
* [Brief summary of your changes] * [Brief summary of your changes]

View File

@ -50,7 +50,7 @@ data-isso-lang
-------------- --------------
Override useragent's preferred language. Currently available: german (de), Override useragent's preferred language. Currently available: german (de),
english (en), french (fr), italian (it) and russian (ru). english (en), french (fr), italian (it), esperanto (eo) and russian (ru).
data-isso-reply-to-self data-isso-reply-to-self
----------------------- -----------------------

View File

@ -1,4 +1,4 @@
define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it"], function(config, de, en, fr, ru, it) { define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo"], function(config, de, en, fr, ru, it, eo) {
"use strict"; "use strict";
@ -7,6 +7,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
case "en": case "en":
case "de": case "de":
case "it": case "it":
case "eo":
return function(msgs, n) { return function(msgs, n) {
return msgs[n === 1 ? 0 : 1]; return msgs[n === 1 ? 0 : 1];
}; };
@ -42,7 +43,8 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
en: en, en: en,
fr: fr, fr: fr,
ru: ru, ru: ru,
it: it it: it,
eo: eo
}; };
var plural = pluralforms(lang); var plural = pluralforms(lang);

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

@ -0,0 +1,27 @@
define({
"postbox-text": "Tajpu komenton ĉi-tie (almenaŭ 3 signoj)",
"postbox-author": "Nomo (malnepra)",
"postbox-email": "Retadreso (malnepra)",
"postbox-website": "Retejo (malnepra)",
"postbox-submit": "Sendu",
"num-comments": "{{ n }} komento\n{{ n }} komentoj",
"no-comments": "Neniu komento ankoraŭ",
"comment-reply": "Respondu",
"comment-edit": "Redaktu",
"comment-save": "Savu",
"comment-delete": "Forviŝu",
"comment-confirm": "Konfirmu",
"comment-close": "Fermu",
"comment-cancel": "Malfaru",
"comment-deleted": "Komento forviŝita",
"comment-queued": "Komento en atendovico por kontrolo.",
"comment-anonymous": "Sennoma",
"comment-hidden": "{{ n }} kaŝitaj",
"date-now": "ĵus nun",
"date-minute": "antaŭ unu minuto\nantaŭ {{ n }} minutoj",
"date-hour": "antaŭ unu horo\nantaŭ {{ n }} horoj",
"date-day": "hieraŭ\nantaŭ {{ n }} tagoj",
"date-week": "lasta semajno\nantaŭ {{ n }} semajnoj",
"date-month": "lasta monato\nantaŭ {{ n }} monatoj",
"date-year": "lasta jaro\nantaŭ {{ n }} jaroj"
});