Skip to content

Commit

Permalink
add translated config flow files
Browse files Browse the repository at this point in the history
  • Loading branch information
bbirnbach committed Nov 29, 2024
1 parent efd2993 commit 61e3a35
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
21 changes: 21 additions & 0 deletions custom_components/homeassistantedupage/strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"config": {
"flow_title": "EduPage Setup Flow",
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
},
"step": {
"user": {
"title": "[%key:common::config_flow::description%]",
"description": "[%key:common::config_flow::description%]",
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
}
}
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
}
}
}
21 changes: 21 additions & 0 deletions custom_components/homeassistantedupage/translations/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"config": {
"flow_title": "EduPage Setup Flow",
"error": {
"cannot_connect": "Keine Verbindung möglich"
},
"step": {
"user": {
"data": {
"password": "Passwort",
"username": "Username"
},
"description": "Login mit Username und Passwort.\nAchten Sie daruf nur die subdomain der edupage URL zu benutzen.\n\nSollten Sie 2FA aktiviert haben, bestätigten sie dies auf Ihrem Endgerät.\n\n",
"title": "edupage account login"
}
},
"abort": {
"already_configured": "Device is already configured"
}
}
}
21 changes: 21 additions & 0 deletions custom_components/homeassistantedupage/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"config": {
"flow_title": "EduPage Setup Flow",
"error": {
"cannot_connect": "Failed to connect"
},
"step": {
"user": {
"data": {
"password": "Password",
"username": "Username"
},
"description": "Login using your username and password.\nMake sure to only use the subdomain of the edupage URL.\n\nIf you have 2FA enabled, confirm it on your device.\n\n",
"title": "Login to your edupage account"
}
},
"abort": {
"already_configured": "Device is already configured"
}
}
}

0 comments on commit 61e3a35

Please sign in to comment.