Skip to content

Commit

Permalink
add languages
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Jun 28, 2024
1 parent c6f99b3 commit 923f1aa
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
33 changes: 33 additions & 0 deletions custom_components/cover_time_based/translations/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "Canvia un commutador a Persiana cronometrada",
"config": {
"step": {
"user": {
"title": "Crea una Persiana cronometrada des d'altres commutadors",
"description": "Escull dos interruptors, commutadors o llums i converteix-los en una Persiana a Home Assistant. Les entitats que escullis s'amagaràn.",
"data": {
"name": "Nom",
"up": "Pujar",
"down": "Baixar",
"time_open": "Temps per obrir la persiana",
"time_close": "Temps per tancar la persiana (opcional)"
},
"data_description": {
"name": "Nom de la nova persiana a crear.",
"up": "Entitat que farà l'acció de pujar.",
"down": "Entitat que farà l'acció de baixar."
}
}
}
},
"options": {
"step": {
"init": {
"data": {
"time_open": "Temps per obrir la persiana",
"time_close": "Temps per tancar la persiana (opcional)"
}
}
}
}
}
1 change: 0 additions & 1 deletion custom_components/cover_time_based/translations/en.json

This file was deleted.

33 changes: 33 additions & 0 deletions custom_components/cover_time_based/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "Change device type to a Cover time-based",
"config": {
"step": {
"user": {
"title": "Create a Cover time-based from other entities",
"description": "Pick two switches or lights that you want to show up in Home Assistant as a cover. The original entities will be hidden.",
"data": {
"name": "Name",
"up": "Up",
"down": "Down",
"time_open": "Time to open the cover",
"time_close": "Time to close the cover (optional)"
},
"data_description": {
"name": "Name of the new cover to create.",
"up": "Entity that will open the cover.",
"down": "Entity that will close the cover."
}
}
}
},
"options": {
"step": {
"init": {
"data": {
"time_open": "Time to open the cover",
"time_close": "Time to close the cover (optional)"
}
}
}
}
}
33 changes: 33 additions & 0 deletions custom_components/cover_time_based/translations/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "Cambiar el tipo de interruptor a Persiana temporizada",
"config": {
"step": {
"user": {
"title": "Crear una Persiana temporizada desde otros interruptores",
"description": "Selecciona dos interruptores o luces, y conviertelos en una Persiana en Home Assistant. Las entidades que selecciones quedarán ocultas.",
"data": {
"name": "Nombre",
"up": "Subir",
"down": "Bajar",
"time_open": "Tiempo para abrir la persiana",
"time_close": "Tiempo para cerrar la persiana (opcional)"
},
"data_description": {
"name": "Nombre de la nueva persiana a crear.",
"up": "Entidad que realiza la acción de subir.",
"down": "Entidad que realiza la acción de bajar."
}
}
}
},
"options": {
"step": {
"init": {
"data": {
"time_open": "Tiempo para abrir la persiana",
"time_close": "Tiempo para cerrar la persiana (opcional)"
}
}
}
}
}

0 comments on commit 923f1aa

Please sign in to comment.