Skip to content

Commit

Permalink
i18n(ca): add Catalan Spanish UI translations (#2669)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <[email protected]>
  • Loading branch information
aaronperezaguilera and delucis authored Dec 13, 2024
1 parent cb3cb21 commit 310df7d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-cycles-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Adds Catalan UI translations
42 changes: 42 additions & 0 deletions packages/starlight/translations/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"skipLink.label": "Saltar al contingut",
"search.label": "Cercar",
"search.ctrlKey": "Ctrl",
"search.cancelLabel": "Cancel·lar",
"search.devWarning": "La cerca només està disponible a les versions de producció. \nProva de construir i previsualitzar el lloc per provar-ho localment.",
"themeSelect.accessibleLabel": "Seleccionar tema",
"themeSelect.dark": "Fosc",
"themeSelect.light": "Clar",
"themeSelect.auto": "Automàtic",
"languageSelect.accessibleLabel": "Seleccionar idioma",
"menuButton.accessibleLabel": "Menú",
"sidebarNav.accessibleLabel": "Primari",
"tableOfContents.onThisPage": "En aquesta pàgina",
"tableOfContents.overview": "Sinopsi",
"i18n.untranslatedContent": "Aquesta pàgina encara no està disponible en el teu idioma.",
"page.editLink": "Edita aquesta pàgina",
"page.lastUpdated": "Última actualització:",
"page.previousLink": "Pàgina anterior",
"page.nextLink": "Pàgina següent",
"page.draft": "Aquest contingut és un esborrany i no s'inclourà en les versions de producció.",
"404.text": "Pàgina no trobada. Comprova la URL o intenta utilitzar la barra de cerca.",
"aside.note": "Nota",
"aside.tip": "Consell",
"aside.caution": "Precaució",
"aside.danger": "Perill",
"expressiveCode.copyButtonCopied": "Copiat!",
"expressiveCode.copyButtonTooltip": "Copiar al porta-retalls",
"expressiveCode.terminalWindowFallbackTitle": "Finestra del terminal",
"fileTree.directory": "Directori",
"builtWithStarlight.label": "Fet amb Starlight",
"pagefind.clear_search": "Netejar",
"pagefind.load_more": "Carregar més resultats",
"pagefind.search_label": "Cercar pàgina",
"pagefind.filters_label": "Filtres",
"pagefind.zero_results": "Cap resultat per a: [SEARCH_TERM]",
"pagefind.many_results": "[COUNT] resultats per a: [SEARCH_TERM]",
"pagefind.one_result": "[COUNT] resultat per a: [SEARCH_TERM]",
"pagefind.alt_search": "Cap resultat per a [SEARCH_TERM]. Mostrant resultats per a: [DIFFERENT_TERM]",
"pagefind.search_suggestion": "Cap resultat per a [SEARCH_TERM]. Prova alguna d’aquestes cerques:",
"pagefind.searching": "Cercant [SEARCH_TERM]..."
}
2 changes: 2 additions & 0 deletions packages/starlight/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { builtinI18nSchema } from '../schemas/i18n';
import cs from './cs.json';
import en from './en.json';
import es from './es.json';
import ca from './ca.json';
import de from './de.json';
import ja from './ja.json';
import pt from './pt.json';
Expand Down Expand Up @@ -35,6 +36,7 @@ export default Object.fromEntries(
cs,
en,
es,
ca,
de,
ja,
pt,
Expand Down

0 comments on commit 310df7d

Please sign in to comment.