i18n(es): add Spanish translation (#8)

This commit is contained in:
buzz-js authored and GitHub committed 2020-08-21 00:45:19 +08:00
1 parent 758f6b4ac4
commit cfc9d18d50
2 files changed
+15

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{
"button": {
"back": "Atrás",
"go": "GO"
},
"intro": {
"desc": "Plantilla de Inicio de Vite Dogmática",
"dynamic-route": "Demo de ruta dinámica",
"hi": "Hola, {name}!",
"whats-your-name": "¿Cómo te llamas?"
},
"not-found": "No se ha encontrado"
}
+2
View File
@@ -1,11 +1,13 @@
import en from '../locales/en.json'
import zhCN from '../locales/zh-CN.json'
import fr from '../locales/fr.json'
import es from '../locales/es.json'
export const messages = {
en,
'zh-CN': zhCN,
fr,
es,
}
export const locales = Object.keys(messages)