Add Spanish translation (#179)

Co-authored-by: Ferry Cools <fcools@digilive.nl>
This commit is contained in:
Marcoske23
2025-03-08 01:29:07 -06:00
committed by GitHub
parent 991c913147
commit bee8f4b236
2 changed files with 64 additions and 0 deletions

View File

@@ -1,11 +1,13 @@
import {HomeAssistant} from "./types/homeassistant/types";
import * as en from "./translations/en.json";
import * as es from "./translations/es.json";
import * as nl from "./translations/nl.json";
import * as de from "./translations/de.json";
/* Registry of currently supported languages */
const languages: Record<string, unknown> = {
en,
es,
nl,
de,
};

62
src/translations/es.json Normal file
View File

@@ -0,0 +1,62 @@
{
"camera": {
"all_cameras": "Todas las Cámaras",
"cameras": "Cámaras"
},
"climate": {
"all_climates": "Todos los Termostatos",
"climates": "Termostatos"
},
"cover": {
"all_covers": "Todas las Cubiertas",
"covers": "Cubiertas"
},
"fan": {
"all_fans": "Todos los Ventiladores",
"fans": "Ventiladores"
},
"generic": {
"all": "Todo",
"areas": "Áreas",
"busy": "Ocupado",
"good_afternoon": "Buenas tardes",
"good_evening": "Buenas noches",
"good_morning": "Buenos días",
"hello": "Hola",
"home": "Inicio",
"miscellaneous": "Varios",
"numbers": "Números",
"off": "Apagado",
"on": "Encendido",
"open": "Abierto",
"unclosed": "Sin Cerrar"
},
"input_select": {
"input_selects": "Selecciones de Entrada"
},
"light": {
"all_lights": "Todas las Luces",
"lights": "Luces"
},
"lock": {
"locks": "Candados"
},
"media_player": {
"media_players": "Reproductores Multimedia"
},
"select": {
"selects": "Seleccionar"
},
"sensor": {
"binary": "Binario",
"sensors": "Sensores"
},
"switch": {
"all_switches": "Todos los Apagadores",
"switches": "Apagadores"
},
"vacuum": {
"all_vacuums": "Todas las Aspiradoras",
"vacuums": "Aspiradoras"
}
}