diff --git a/custom_components/homeassistantedupage/strings.json b/custom_components/homeassistantedupage/strings.json new file mode 100644 index 0000000..5a41c5e --- /dev/null +++ b/custom_components/homeassistantedupage/strings.json @@ -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%]" + } + } +} \ No newline at end of file diff --git a/custom_components/homeassistantedupage/translations/de.json b/custom_components/homeassistantedupage/translations/de.json new file mode 100644 index 0000000..f48fe9b --- /dev/null +++ b/custom_components/homeassistantedupage/translations/de.json @@ -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" + } + } +} \ No newline at end of file diff --git a/custom_components/homeassistantedupage/translations/en.json b/custom_components/homeassistantedupage/translations/en.json new file mode 100644 index 0000000..7e59a54 --- /dev/null +++ b/custom_components/homeassistantedupage/translations/en.json @@ -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" + } + } +} \ No newline at end of file