diff --git a/CHANGES.rst b/CHANGES.rst index 57c55e8a..2d367074 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,11 @@ Breaking Changes - TBD +New Features +^^^^^^^^^^^^ + +- Add Catalan localisation (`#966`_, welpo) + Bugfixes & Improvements ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/isso/js/app/i18n.js b/isso/js/app/i18n.js index 9926565e..304b9eca 100644 --- a/isso/js/app/i18n.js +++ b/isso/js/app/i18n.js @@ -4,6 +4,7 @@ var config = require("app/config"); var catalogue = { bg: require("app/i18n/bg"), + ca: require("app/i18n/ca"), cs: require("app/i18n/cs"), da: require("app/i18n/da"), de: require("app/i18n/de"), @@ -40,6 +41,7 @@ var pluralforms = function(lang) { // subtag. switch (lang.split("-", 1)[0]) { case "bg": + case "ca": case "cs": case "da": case "de": diff --git a/isso/js/app/i18n/ca.js b/isso/js/app/i18n/ca.js new file mode 100644 index 00000000..d4b9eec7 --- /dev/null +++ b/isso/js/app/i18n/ca.js @@ -0,0 +1,38 @@ +module.exports = { + "postbox-text": "Escriu el teu comentari aquí (almenys 3 caràcters)", + "postbox-author": "Nom (opcional)", + "postbox-author-placeholder": "John Doe", + "postbox-email": "Correu electrònic (opcional)", + "postbox-email-placeholder": "johndoe@example.com", + "postbox-website": "Lloc web (opcional)", + "postbox-website-placeholder": "https://example.com", + "postbox-preview": "Vista prèvia", + "postbox-edit": "Editar", + "postbox-submit": "Enviar", + "postbox-notification": "Suscriu-te a les notificacions per correu electrònic", + + "num-comments": "Un comentari\n{{ n }} comentaris", + "no-comments": "Encara no hi ha comentaris", + "atom-feed": "Canal web Atom", + + "comment-reply": "Respondre", + "comment-edit": "Editar", + "comment-save": "Desar", + "comment-delete": "Eliminar", + "comment-confirm": "Confirmar", + "comment-close": "Tancar", + "comment-cancel": "Cancel·lar", + "comment-deleted": "Comentari eliminat.", + "comment-queued": "Comentari en espera de moderació.", + "comment-anonymous": "Anònim", + "comment-hidden": "1 ocult\n{{ n }} ocults", + "comment-page-author-suffix": "Autor", + + "date-now": "ara", + "date-minute": "fa un minut\nfa {{ n }} minuts", + "date-hour": "fa una hora\nfa {{ n }} hores", + "date-day": "ahir\nfa {{ n }} dies", + "date-week": "la setmana passada\nfa {{ n }} setmanes", + "date-month": "el mes passat\nfa {{ n }} mesos", + "date-year": "l'any passat\nfa {{ n }} anys" +};