mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Add missing strings to Fritz (#142413)
* Add missing strings to Fritz * update quality scale * add common section this avoids later re-structuring and re-translating * fix strings * fix strings * apply review comment --------- Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
This commit is contained in:
parent
2322b0b65f
commit
fcb8cdc146
@ -7,9 +7,7 @@ rules:
|
|||||||
config-flow-test-coverage:
|
config-flow-test-coverage:
|
||||||
status: todo
|
status: todo
|
||||||
comment: one coverage miss in line 110
|
comment: one coverage miss in line 110
|
||||||
config-flow:
|
config-flow: done
|
||||||
status: todo
|
|
||||||
comment: data_description are missing
|
|
||||||
dependency-transparency: done
|
dependency-transparency: done
|
||||||
docs-actions: done
|
docs-actions: done
|
||||||
docs-high-level-description: done
|
docs-high-level-description: done
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"common": {
|
||||||
|
"data_description_host": "The hostname or IP address of your FRITZ!Box router.",
|
||||||
|
"data_description_port": "Leave empty to use the default port.",
|
||||||
|
"data_description_username": "Username for the FRITZ!Box.",
|
||||||
|
"data_description_password": "Password for the FRITZ!Box.",
|
||||||
|
"data_description_ssl": "Use SSL to connect to the FRITZ!Box."
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"flow_title": "{name}",
|
"flow_title": "{name}",
|
||||||
"step": {
|
"step": {
|
||||||
@ -9,6 +16,11 @@
|
|||||||
"username": "[%key:common::config_flow::data::username%]",
|
"username": "[%key:common::config_flow::data::username%]",
|
||||||
"password": "[%key:common::config_flow::data::password%]",
|
"password": "[%key:common::config_flow::data::password%]",
|
||||||
"ssl": "[%key:common::config_flow::data::ssl%]"
|
"ssl": "[%key:common::config_flow::data::ssl%]"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"username": "[%key:component::fritz::common::data_description_username%]",
|
||||||
|
"password": "[%key:component::fritz::common::data_description_password%]",
|
||||||
|
"ssl": "[%key:component::fritz::common::data_description_ssl%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reauth_confirm": {
|
"reauth_confirm": {
|
||||||
@ -17,6 +29,10 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"username": "[%key:common::config_flow::data::username%]",
|
"username": "[%key:common::config_flow::data::username%]",
|
||||||
"password": "[%key:common::config_flow::data::password%]"
|
"password": "[%key:common::config_flow::data::password%]"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"username": "[%key:component::fritz::common::data_description_username%]",
|
||||||
|
"password": "[%key:component::fritz::common::data_description_password%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reconfigure": {
|
"reconfigure": {
|
||||||
@ -28,8 +44,9 @@
|
|||||||
"ssl": "[%key:common::config_flow::data::ssl%]"
|
"ssl": "[%key:common::config_flow::data::ssl%]"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"host": "The hostname or IP address of your FRITZ!Box router.",
|
"host": "[%key:component::fritz::common::data_description_host%]",
|
||||||
"port": "Leave it empty to use the default port."
|
"port": "[%key:component::fritz::common::data_description_port%]",
|
||||||
|
"ssl": "[%key:component::fritz::common::data_description_ssl%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
@ -43,8 +60,11 @@
|
|||||||
"ssl": "[%key:common::config_flow::data::ssl%]"
|
"ssl": "[%key:common::config_flow::data::ssl%]"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"host": "The hostname or IP address of your FRITZ!Box router.",
|
"host": "[%key:component::fritz::common::data_description_host%]",
|
||||||
"port": "Leave it empty to use the default port."
|
"port": "[%key:component::fritz::common::data_description_port%]",
|
||||||
|
"username": "[%key:component::fritz::common::data_description_username%]",
|
||||||
|
"password": "[%key:component::fritz::common::data_description_password%]",
|
||||||
|
"ssl": "[%key:component::fritz::common::data_description_ssl%]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -70,6 +90,10 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"consider_home": "Seconds to consider a device at 'home'",
|
"consider_home": "Seconds to consider a device at 'home'",
|
||||||
"old_discovery": "Enable old discovery method"
|
"old_discovery": "Enable old discovery method"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"consider_home": "Time in seconds to consider a device at home. Default is 180 seconds.",
|
||||||
|
"old_discovery": "Enable old discovery method. This is needed for some scenarios."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -169,8 +193,12 @@
|
|||||||
"config_entry_not_found": {
|
"config_entry_not_found": {
|
||||||
"message": "Failed to perform action \"{service}\". Config entry for target not found"
|
"message": "Failed to perform action \"{service}\". Config entry for target not found"
|
||||||
},
|
},
|
||||||
"service_parameter_unknown": { "message": "Action or parameter unknown" },
|
"service_parameter_unknown": {
|
||||||
"service_not_supported": { "message": "Action not supported" },
|
"message": "Action or parameter unknown"
|
||||||
|
},
|
||||||
|
"service_not_supported": {
|
||||||
|
"message": "Action not supported"
|
||||||
|
},
|
||||||
"error_refresh_hosts_info": {
|
"error_refresh_hosts_info": {
|
||||||
"message": "Error refreshing hosts info"
|
"message": "Error refreshing hosts info"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user