Skip to content

Commit

Permalink
Add translations in Catalan and Spanish
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuro committed Jul 10, 2022
1 parent 3a51a31 commit 46ce843
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
3 changes: 1 addition & 2 deletions custom_components/cecotec_conga/strings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"title": "Cecotec Conga",
"config": {
"flow_title": "Login",
"step": {
Expand All @@ -16,4 +15,4 @@
"auth_error": "Invalid user."
}
}
}
}
18 changes: 18 additions & 0 deletions custom_components/cecotec_conga/translations/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"config": {
"flow_title": "Inici de sessió",
"step": {
"login": {
"title": "Inici de sessió",
"description": "Si us plau, introdueix les teves credenciales de Cecotec.",
"data": {
"username": "Usuari",
"password": "Contrasenya"
}
}
},
"error": {
"auth_error": "Credencials incorrectes. Torna a provar."
}
}
}
4 changes: 2 additions & 2 deletions custom_components/cecotec_conga/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"step": {
"login": {
"title": "Login",
"description": "Use the same credentials you use with your mobile app.",
"description": "Use your Cecotec Conga credentials.",
"data": {
"username": "Username",
"password": "Password"
}
}
},
"error": {
"auth_error": "Invalid user."
"auth_error": "Invalid user. Try again."
}
}
}
18 changes: 18 additions & 0 deletions custom_components/cecotec_conga/translations/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"config": {
"flow_title": "Inicia sesión",
"step": {
"login": {
"title": "Inicia sesión",
"description": "Por favor, introduce tus credenciales de Cecotec.",
"data": {
"username": "Usuario",
"password": "Contraseña"
}
}
},
"error": {
"auth_error": "Credenciales inválidas. Prueba de nuevo."
}
}
}

0 comments on commit 46ce843

Please sign in to comment.