Skip to content

Commit

Permalink
add esperanto translation
Browse files Browse the repository at this point in the history
  • Loading branch information
posativ committed Jun 25, 2014
1 parent 41dd7d8 commit fbb55bf
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Changelog for Isso
available in werkzeug 0.9 or higher. If you're still using werkzeug 0.8, Isso
imports passlib__ as fallback (if available).

- esperanto translation by Baptiste Darthenay


This release also features a new templating engine Jade__ which replaces
Markup.js__. Jade can compile directly to JavaScript with a tiny runtime module
Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ In chronological order:
* Convert SCSS to plain CSS
* Refresh style, make it responsive

* Baptiste Darthenay
* Esperanto translation

* [Your name or handle] <[email or website]>
* [Brief summary of your changes]

2 changes: 1 addition & 1 deletion docs/docs/configuration/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ data-isso-lang
--------------

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
-----------------------
Expand Down
6 changes: 4 additions & 2 deletions isso/js/app/i18n.js
Original file line number Diff line number Diff line change
@@ -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";

Expand All @@ -7,6 +7,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
case "en":
case "de":
case "it":
case "eo":
return function(msgs, n) {
return msgs[n === 1 ? 0 : 1];
};
Expand Down Expand Up @@ -42,7 +43,8 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
en: en,
fr: fr,
ru: ru,
it: it
it: it,
eo: eo
};

var plural = pluralforms(lang);
Expand Down
27 changes: 27 additions & 0 deletions isso/js/app/i18n/eo.js
Original file line number Diff line number Diff line change
@@ -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"
});

0 comments on commit fbb55bf

Please sign in to comment.