-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: token exception returns str instead of dict
also add translation in spanish
- Loading branch information
Showing
3 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"config": { | ||
"abort": { | ||
"already_configured": "Abort: Account is already configured", | ||
"invalid_auth": "Invalid credentials" | ||
}, | ||
"error": { | ||
"already_configured": "Error: Account is already configured", | ||
"invalid_auth": "Invalid credentials", | ||
"token_expired": "El Token OAuth ha caducado, por favor genera uno nuevo" | ||
}, | ||
"step": { | ||
"user": { | ||
"data": { | ||
"username": "Usuario (DNI)", | ||
"password": "Contrase\u00f1a" | ||
}, | ||
"title": "Configurar integraci\u00f3n" | ||
}, | ||
"token": { | ||
"data": { | ||
"token": "OAuth Token" | ||
}, | ||
"title": "Introduce el Token OAuth", | ||
"description": "Debido a que Aigues de Barcelona utiliza Recaptcha para iniciar sesi\u00f3n, no se puede iniciar sesi\u00f3n autom\u00e1ticamente desde Home Assistant, as\u00ed que tienes que iniciar sesi\u00f3n desde la web, y proporcionar el token.\nCopia y pega el token aqu\u00ed (empieza por ey....)" | ||
}, | ||
"reauth_confirm": { | ||
"data": { | ||
"token": "OAuth Token" | ||
}, | ||
"title": "Relogin - Introduce el Token OAuth", | ||
"description": "Debido a que Aigues de Barcelona utiliza Recaptcha para iniciar sesi\u00f3n, no se puede iniciar sesi\u00f3n autom\u00e1ticamente desde Home Assistant, as\u00ed que tienes que iniciar sesi\u00f3n desde la web, y proporcionar el token.\nCopia y pega el token aqu\u00ed (empieza por ey....)" | ||
} | ||
} | ||
} | ||
} |