diff --git a/docs/app/components/content/SupportedLanguages.vue b/docs/app/components/content/SupportedLanguages.vue index c8bdf0b41b..aa28601454 100644 --- a/docs/app/components/content/SupportedLanguages.vue +++ b/docs/app/components/content/SupportedLanguages.vue @@ -18,6 +18,7 @@ function getEmojiFlag(locale: string): string { el: 'gr', // Greek -> Greece en: 'gb', // English -> Great Britain et: 'ee', // Estonian -> Estonia + gl: 'es', // Galician -> Spain he: 'il', // Hebrew -> Israel hi: 'in', // Hindi -> India hy: 'am', // Armenian -> Armenia diff --git a/src/runtime/locale/gl.ts b/src/runtime/locale/gl.ts new file mode 100644 index 0000000000..4ae693cf5a --- /dev/null +++ b/src/runtime/locale/gl.ts @@ -0,0 +1,131 @@ +import type { Messages } from '../types' +import { defineLocale } from '../composables/defineLocale' + +export default defineLocale({ + name: 'Galego', + code: 'gl', + messages: { + alert: { + close: 'Pechar' + }, + authForm: { + hidePassword: 'Ocultar contrasinal', + showPassword: 'Amosar contrasinal', + submit: 'Continuar' + }, + banner: { + close: 'Pechar' + }, + calendar: { + nextMonth: 'Mes seguinte', + nextYear: 'Ano seguinte', + prevMonth: 'Mes anterior', + prevYear: 'Ano anterior' + }, + carousel: { + dots: 'Escoller diapositiva a amostrar', + goto: 'Ir á diapositiva {slide}', + next: 'Seguinte', + prev: 'Anterior' + }, + chatPrompt: { + placeholder: 'Escribe a túa mensaxe aquí…' + }, + chatPromptSubmit: { + label: 'Enviar' + }, + colorMode: { + dark: 'Oscuro', + light: 'Claro', + switchToDark: 'Cambiar a modo oscuro', + switchToLight: 'Cambiar a modo claro', + system: 'Sistema' + }, + commandPalette: { + back: 'Atrás', + close: 'Pechar', + noData: 'Sen datos', + noMatch: 'Non hai datos coincidentes', + placeholder: 'Escribe un comando ou busca…' + }, + contentSearch: { + links: 'Ligazóns', + theme: 'Tema' + }, + contentSearchButton: { + label: 'Buscar…' + }, + contentToc: { + title: 'Nesta páxina' + }, + dashboardSearch: { + theme: 'Tema' + }, + dashboardSearchButton: { + label: 'Buscar…' + }, + dashboardSidebarCollapse: { + collapse: 'Contraer barra lateral', + expand: 'Despregar barra lateral' + }, + dashboardSidebarToggle: { + close: 'Pechar barra lateral', + open: 'Abrir barra lateral' + }, + error: { + clear: 'Volver ao inicio' + }, + fileUpload: { + removeFile: 'Eliminar {filename}' + }, + header: { + close: 'Pechar menú', + open: 'Abrir menú' + }, + inputMenu: { + create: 'Crear "{label}"', + noData: 'Sen datos', + noMatch: 'Non hai datos coincidentes' + }, + inputNumber: { + decrement: 'Diminuír', + increment: 'Aumentar' + }, + modal: { + close: 'Pechar' + }, + pricingTable: { + caption: 'Comparación de plans de prezos' + }, + prose: { + codeCollapse: { + closeText: 'Contraer', + name: 'código', + openText: 'Despregar' + }, + collapsible: { + closeText: 'Ocultar', + name: 'propiedades', + openText: 'Amosar' + }, + pre: { + copy: 'Copiar código ao portapapeis' + } + }, + selectMenu: { + create: 'Crear "{label}"', + noData: 'Sen datos', + noMatch: 'Non hai datos coincidentes', + search: 'Buscar…' + }, + slideover: { + close: 'Pechar' + }, + table: { + noData: 'Sen datos' + }, + toast: { + close: 'Pechar' + } + } +}) diff --git a/src/runtime/locale/index.ts b/src/runtime/locale/index.ts index d09396ef2f..2ca4351f53 100644 --- a/src/runtime/locale/index.ts +++ b/src/runtime/locale/index.ts @@ -15,6 +15,7 @@ export { default as et } from './et' export { default as fa_ir } from './fa_ir' export { default as fi } from './fi' export { default as fr } from './fr' +export { default as gl } from './gl' export { default as he } from './he' export { default as hi } from './hi' export { default as hr } from './hr'