Skip to content

Commit

Permalink
Update translations and descriptions, fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
scheidtdav committed May 29, 2023
1 parent b46bd27 commit 297e7fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 50 deletions.
4 changes: 1 addition & 3 deletions custom_components/kostal_piko/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@

SETUP_SCHEMA = vol.Schema(
{
vol.Required(
CONF_HOST, description={"suggested_value": "http://192.168.178.xyz"}
): str,
vol.Required(CONF_HOST): str,
vol.Required(CONF_USERNAME): str,
vol.Required(CONF_PASSWORD): str,
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/kostal_piko/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"step": {
"user": {
"data": {
"host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
"host": "Host",
"username": "Username",
"password": "Password"
}
}
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
"already_configured": "Device is already configured"
}
},
"entity": {
Expand Down
8 changes: 4 additions & 4 deletions custom_components/kostal_piko/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"step": {
"user": {
"data": {
"host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
"host": "Host",
"username": "Benutzername",
"password": "Passwort"
}
}
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
"already_configured": "Ger\u00e4t ist bereits konfiguriert"
}
},
"entity": {
Expand Down
39 changes: 0 additions & 39 deletions custom_components/kostal_piko/translations/en.json

This file was deleted.

0 comments on commit 297e7fc

Please sign in to comment.