From 4d7fc956abccad939e285de4dca8121d6a341ced Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 29 Jan 2015 02:53:53 -0300 Subject: [PATCH 1/5] Create es.js Added spanish translation --- isso/js/app/i18n/es.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 isso/js/app/i18n/es.js diff --git a/isso/js/app/i18n/es.js b/isso/js/app/i18n/es.js new file mode 100644 index 0000000..a1bfc47 --- /dev/null +++ b/isso/js/app/i18n/es.js @@ -0,0 +1,30 @@ +define({ + "postbox-text": "Escriba su comentario aquí (al menos 3 caracteres)", + "postbox-author": "Nombre (opcional)", + "postbox-email": "E-mail (opcional)", + "postbox-website": "Sitio web (opcional)", + "postbox-submit": "Enviar", + + "num-comments": "Un Comentario\n{{ n }} Comentarios", + "no-comments": "Sin Comentarios Todavía", + + "comment-reply": "Responder", + "comment-edit": "Editar", + "comment-save": "Guardar", + "comment-delete": "Eliminar", + "comment-confirm": "Confirmar", + "comment-close": "Cerrar", + "comment-cancel": "Cancelar", + "comment-deleted": "Comentario eliminado.", + "comment-queued": "Comentario en espera para moderación.", + "comment-anonymous": "Anónimo", + "comment-hidden": "{{ n }} Oculto(s)", + + "date-now": "ahora", + "date-minute": "hace un minuto\nhace {{ n }} minutos", + "date-hour": "hace una hora\nhace {{ n }} horas", + "date-day": "ayer\nHace {{ n }} días", + "date-week": "la semana pasada\nhace {{ n }} semanas", + "date-month": "el mes pasado\nhace {{ n }} meses", + "date-year": "el año pasado\nhace {{ n }} años" +}); From 68a8c2c380f7942f45b179fcb8f3498cea4f0663 Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 29 Jan 2015 02:55:50 -0300 Subject: [PATCH 2/5] Update client.rst --- docs/docs/configuration/client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/configuration/client.rst b/docs/docs/configuration/client.rst index 9f465db..254f572 100644 --- a/docs/docs/configuration/client.rst +++ b/docs/docs/configuration/client.rst @@ -51,7 +51,7 @@ data-isso-lang -------------- Override useragent's preferred language. Currently available: german (de), -english (en), french (fr), italian (it), esperanto (eo) and russian (ru). +english (en), french (fr), italian (it), esperanto (eo), russian (ru) and spanish (es). data-isso-reply-to-self ----------------------- From c5496b103de120b977ac88c15ab69e075bd9c382 Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 29 Jan 2015 02:59:52 -0300 Subject: [PATCH 3/5] Added spanish translation Added spanish translation --- isso/js/app/i18n.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/isso/js/app/i18n.js b/isso/js/app/i18n.js index bf399a9..2b3bc79 100644 --- a/isso/js/app/i18n.js +++ b/isso/js/app/i18n.js @@ -1,4 +1,4 @@ -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"], function(config, de, en, fr, ru, it, eo, sv, nl) { +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/es"], function(config, de, en, fr, ru, it, eo, sv, nl, es) { "use strict"; @@ -6,6 +6,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru" switch (lang) { case "de": case "en": + case "es": case "eo": case "it": case "sv": @@ -48,7 +49,8 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru" it: it, ru: ru, sv: sv, - nl: nl + nl: nl, + es: es }; var plural = pluralforms(lang); From dc172975ee49e4b66c4919f1aa8b62839f7179fb Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 29 Jan 2015 03:06:51 -0300 Subject: [PATCH 4/5] Update CONTRIBUTORS.txt --- CONTRIBUTORS.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 5606b1e..5ff50f7 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -41,6 +41,6 @@ In chronological order: * Baptiste Darthenay * Esperanto translation -* [Your name or handle] <[email or website]> - * [Brief summary of your changes] +* Matías Ducasa + * Spanish translation From 1957f4f99f3a7997902df4020f96dc5faa709678 Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 29 Jan 2015 15:59:46 -0300 Subject: [PATCH 5/5] Update CONTRIBUTORS.txt --- CONTRIBUTORS.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 5ff50f7..9b2d6a9 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -43,4 +43,6 @@ In chronological order: * Matías Ducasa * Spanish translation - + +* [Your name or handle] <[email or website]> + * [Brief summary of your changes]