Skip to content

Commit

Permalink
app: i8n: Add Catalan translation
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Aug 17, 2023
1 parent 73d9886 commit 0793f24
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
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": "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"
};

0 comments on commit 0793f24

Please sign in to comment.