Skip to content

Commit

Permalink
feat: add spanish translation
Browse files Browse the repository at this point in the history
Translated user & reauth. Didn't translate error and abort since it uses predefined HA Core translations.
  • Loading branch information
teosoft0 authored Dec 9, 2022
1 parent a543fb2 commit 5c7511a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions custom_components/vaillant_vsmart/translations/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"config": {
"step": {
"user": {
"description": "Si estás configurando el componente por primera vez y necesitas algunas indicaciones, echa un vistazo a la [página de la comunidad](https://community.home-assistant.io/t/added-support-for-vaillant-thermostat-how-to-integrate-in-official-release/31858). Allí podrás averiguar cómo extraer el ID de cliente y la clave secreta de cliente.",
"data": {
"client_id": "ID de cliente",
"client_secret": "Clave secreta de cliente",
"username": "Nombre de usuario",
"password": "Contraseña",
"user_prefix": "Prefijo de usuario",
"app_version": "Versión de la aplicación"
}
},
"reauth": {
"description": "Los tokens utilizados por el componente han caducado y necesitas volver a autenticarte con la API de nuevo. Como tus credenciales nunca se almacenan, necesitas introducirlas de nuevo.",
"data": {
"client_id": "ID de cliente",
"client_secret": "Clave secreta de cliente",
"username": "Nombre de usuario",
"password": "Contraseña",
"user_prefix": "Prefijo de usuario",
"app_version": "Versión de la aplicación"
}
}
},
"error": {
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
}
}
}

0 comments on commit 5c7511a

Please sign in to comment.