Marcos 075cb8e10a
feat: add Spanish i18n (#157)
* Create es.ts

Added Spanish translation for site content and interface elements.

* Update translation.ts

Added Spanish (es) translation support to the language configuration.
2024-08-28 00:22:43 +08:00

39 lines
915 B
TypeScript

import Key from '../i18nKey'
import type { Translation } from '../translation'
export const es: Translation = {
[Key.home]: 'Inicio',
[Key.about]: 'Sobre mí',
[Key.archive]: 'Archivo',
[Key.search]: 'Buscar',
[Key.tags]: 'Etiquetas',
[Key.categories]: 'Categorías',
[Key.recentPosts]: 'Publicaciones recientes',
[Key.comments]: 'Comentarios',
[Key.untitled]: 'Sin título',
[Key.uncategorized]: 'Sin categoría',
[Key.noTags]: 'Sin etiquetas',
[Key.wordCount]: 'palabra',
[Key.wordsCount]: 'palabras',
[Key.minuteCount]: 'minuto',
[Key.minutesCount]: 'minutos',
[Key.postCount]: 'publicación',
[Key.postsCount]: 'publicaciones',
[Key.themeColor]: 'Color del tema',
[Key.lightMode]: 'Claro',
[Key.darkMode]: 'Oscuro',
[Key.systemMode]: 'Sistema',
[Key.more]: 'Más',
[Key.author]: 'Autor',
[Key.publishedAt]: 'Publicado el',
[Key.license]: 'Licencia',
}