Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add translated config flow files #50

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.",
"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.",
"title": "Login to your edupage account"
}
},
"abort": {
"already_configured": "Device is already configured"
}
}
}
Loading