Skip to content

Commit

Permalink
Merge pull request #966 from welpo/feat/catalan-localisation
Browse files Browse the repository at this point in the history
Add Catalan translation
  • Loading branch information
ix5 authored Aug 21, 2023
2 parents e54971b + 44eacbf commit 1871a93
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Breaking Changes

- TBD

New Features
^^^^^^^^^^^^

- Add Catalan localisation (`#966`_, welpo)

Bugfixes & Improvements
^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions isso/js/app/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -40,6 +41,7 @@ var pluralforms = function(lang) {
// subtag.
switch (lang.split("-", 1)[0]) {
case "bg":
case "ca":
case "cs":
case "da":
case "de":
Expand Down
38 changes: 38 additions & 0 deletions isso/js/app/i18n/ca.js
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"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"
};

0 comments on commit 1871a93

Please sign in to comment.