Skip to content

Commit e93bfd4

Browse files
authored
feat(locale): add Galician language (#5393)
1 parent 620defa commit e93bfd4

File tree

3 files changed

+133
-0
lines changed

3 files changed

+133
-0
lines changed

docs/app/components/content/SupportedLanguages.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function getEmojiFlag(locale: string): string {
1818
el: 'gr', // Greek -> Greece
1919
en: 'gb', // English -> Great Britain
2020
et: 'ee', // Estonian -> Estonia
21+
gl: 'es', // Galician -> Spain
2122
he: 'il', // Hebrew -> Israel
2223
hi: 'in', // Hindi -> India
2324
hy: 'am', // Armenian -> Armenia

src/runtime/locale/gl.ts

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
import type { Messages } from '../types'
2+
import { defineLocale } from '../composables/defineLocale'
3+
4+
export default defineLocale<Messages>({
5+
name: 'Galego',
6+
code: 'gl',
7+
messages: {
8+
alert: {
9+
close: 'Pechar'
10+
},
11+
authForm: {
12+
hidePassword: 'Ocultar contrasinal',
13+
showPassword: 'Amosar contrasinal',
14+
submit: 'Continuar'
15+
},
16+
banner: {
17+
close: 'Pechar'
18+
},
19+
calendar: {
20+
nextMonth: 'Mes seguinte',
21+
nextYear: 'Ano seguinte',
22+
prevMonth: 'Mes anterior',
23+
prevYear: 'Ano anterior'
24+
},
25+
carousel: {
26+
dots: 'Escoller diapositiva a amostrar',
27+
goto: 'Ir á diapositiva {slide}',
28+
next: 'Seguinte',
29+
prev: 'Anterior'
30+
},
31+
chatPrompt: {
32+
placeholder: 'Escribe a túa mensaxe aquí…'
33+
},
34+
chatPromptSubmit: {
35+
label: 'Enviar'
36+
},
37+
colorMode: {
38+
dark: 'Oscuro',
39+
light: 'Claro',
40+
switchToDark: 'Cambiar a modo oscuro',
41+
switchToLight: 'Cambiar a modo claro',
42+
system: 'Sistema'
43+
},
44+
commandPalette: {
45+
back: 'Atrás',
46+
close: 'Pechar',
47+
noData: 'Sen datos',
48+
noMatch: 'Non hai datos coincidentes',
49+
placeholder: 'Escribe un comando ou busca…'
50+
},
51+
contentSearch: {
52+
links: 'Ligazóns',
53+
theme: 'Tema'
54+
},
55+
contentSearchButton: {
56+
label: 'Buscar…'
57+
},
58+
contentToc: {
59+
title: 'Nesta páxina'
60+
},
61+
dashboardSearch: {
62+
theme: 'Tema'
63+
},
64+
dashboardSearchButton: {
65+
label: 'Buscar…'
66+
},
67+
dashboardSidebarCollapse: {
68+
collapse: 'Contraer barra lateral',
69+
expand: 'Despregar barra lateral'
70+
},
71+
dashboardSidebarToggle: {
72+
close: 'Pechar barra lateral',
73+
open: 'Abrir barra lateral'
74+
},
75+
error: {
76+
clear: 'Volver ao inicio'
77+
},
78+
fileUpload: {
79+
removeFile: 'Eliminar {filename}'
80+
},
81+
header: {
82+
close: 'Pechar menú',
83+
open: 'Abrir menú'
84+
},
85+
inputMenu: {
86+
create: 'Crear "{label}"',
87+
noData: 'Sen datos',
88+
noMatch: 'Non hai datos coincidentes'
89+
},
90+
inputNumber: {
91+
decrement: 'Diminuír',
92+
increment: 'Aumentar'
93+
},
94+
modal: {
95+
close: 'Pechar'
96+
},
97+
pricingTable: {
98+
caption: 'Comparación de plans de prezos'
99+
},
100+
prose: {
101+
codeCollapse: {
102+
closeText: 'Contraer',
103+
name: 'código',
104+
openText: 'Despregar'
105+
},
106+
collapsible: {
107+
closeText: 'Ocultar',
108+
name: 'propiedades',
109+
openText: 'Amosar'
110+
},
111+
pre: {
112+
copy: 'Copiar código ao portapapeis'
113+
}
114+
},
115+
selectMenu: {
116+
create: 'Crear "{label}"',
117+
noData: 'Sen datos',
118+
noMatch: 'Non hai datos coincidentes',
119+
search: 'Buscar…'
120+
},
121+
slideover: {
122+
close: 'Pechar'
123+
},
124+
table: {
125+
noData: 'Sen datos'
126+
},
127+
toast: {
128+
close: 'Pechar'
129+
}
130+
}
131+
})

src/runtime/locale/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export { default as et } from './et'
1515
export { default as fa_ir } from './fa_ir'
1616
export { default as fi } from './fi'
1717
export { default as fr } from './fr'
18+
export { default as gl } from './gl'
1819
export { default as he } from './he'
1920
export { default as hi } from './hi'
2021
export { default as hr } from './hr'

0 commit comments

Comments
 (0)