Skip to content

Commit

Permalink
Merge pull request #351 from maxyvon/main
Browse files Browse the repository at this point in the history
Add text to reconfigure form
  • Loading branch information
ic-dev21 authored Jan 9, 2024
2 parents 741b0ad + 560b697 commit 86f1a5d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 11 additions & 2 deletions custom_components/hilo/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"username": "Hilo Username",
"password": "Hilo Password"
}
},
"reauth_confirm": {
"title": "Credentials",
"description": "The integration needs to re-authenticate your account",
"data": {
"username": "Hilo Username",
"password": "Hilo Password"
}
}
},
"error": {
Expand All @@ -15,7 +23,8 @@
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"already_configured": "This Hilo account is already in use."
"already_configured": "This Hilo account is already in use.",
"reauth_successful": "Re-authentication successful"
}
},
"options": {
Expand All @@ -36,4 +45,4 @@
}
}
}
}
}
13 changes: 11 additions & 2 deletions custom_components/hilo/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"username": "Nom d'utilisateur Hilo",
"password": "Mot de passe Hilo"
}
},
"reauth_confirm": {
"title": "Identifiants",
"description": "L'intégration doit ré-authentifier votre compte",
"data": {
"username": "Nom d'utilisateur Hilo",
"password": "Mot de passe Hilo"
}
}
},
"error": {
Expand All @@ -15,7 +23,8 @@
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"already_configured": "Ce compte Hilo est déjà utilisé."
"already_configured": "Ce compte Hilo est déjà utilisé.",
"reauth_successful": "Ré-authentification réussie"
}
},
"options": {
Expand All @@ -36,4 +45,4 @@
}
}
}
}
}

0 comments on commit 86f1a5d

Please sign in to comment.