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:
Simone Chemelli 2025-04-09 16:44:36 +02:00 committed by Franck Nijhof
parent 2322b0b65f
commit fcb8cdc146
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
2 changed files with 35 additions and 9 deletions

View File

@ -7,9 +7,7 @@ rules:
config-flow-test-coverage:
status: todo
comment: one coverage miss in line 110
config-flow:
status: todo
comment: data_description are missing
config-flow: done
dependency-transparency: done
docs-actions: done
docs-high-level-description: done

View File

@ -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": {
"flow_title": "{name}",
"step": {
@ -9,6 +16,11 @@
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
"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": {
@ -17,6 +29,10 @@
"data": {
"username": "[%key:common::config_flow::data::username%]",
"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": {
@ -28,8 +44,9 @@
"ssl": "[%key:common::config_flow::data::ssl%]"
},
"data_description": {
"host": "The hostname or IP address of your FRITZ!Box router.",
"port": "Leave it empty to use the default port."
"host": "[%key:component::fritz::common::data_description_host%]",
"port": "[%key:component::fritz::common::data_description_port%]",
"ssl": "[%key:component::fritz::common::data_description_ssl%]"
}
},
"user": {
@ -43,8 +60,11 @@
"ssl": "[%key:common::config_flow::data::ssl%]"
},
"data_description": {
"host": "The hostname or IP address of your FRITZ!Box router.",
"port": "Leave it empty to use the default port."
"host": "[%key:component::fritz::common::data_description_host%]",
"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": {
"consider_home": "Seconds to consider a device at 'home'",
"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": {
"message": "Failed to perform action \"{service}\". Config entry for target not found"
},
"service_parameter_unknown": { "message": "Action or parameter unknown" },
"service_not_supported": { "message": "Action not supported" },
"service_parameter_unknown": {
"message": "Action or parameter unknown"
},
"service_not_supported": {
"message": "Action not supported"
},
"error_refresh_hosts_info": {
"message": "Error refreshing hosts info"
},