mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-05 12:34:27 +02:00
Add Spanish translation (#179)
Co-authored-by: Ferry Cools <fcools@digilive.nl>
This commit is contained in:
@@ -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
62
src/translations/es.json
Normal 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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user