add data descriptions to "fix" tests

This commit is contained in:
mib1185 2025-03-23 21:33:15 +00:00
parent c1baec7f28
commit 7e117dfac6

View File

@ -1,4 +1,15 @@
{
"common": {
"data_description_host": "The hostname or IP address of your Synology NAS.",
"data_description_port": "The port number of your Synology NAS WebUI. Leave empty to use the default port.",
"data_description_username": "Synology NAS user.",
"data_description_password": "Password for the Synology NAS user.",
"data_description_ssl": "Use SSL to connect to the Synology NAS.",
"data_description_verify_ssl": "Verify the SSL certificate of the Synology NAS. This should be off for self-signed certificates.",
"data_description_snap_profile_type": "The quality level of camera snapshots (0:high 1:medium 2:low)",
"data_description_backup_share": "Select the shared folder, where the automatic Home-Assistant backup should be stored.",
"data_description_backup_path": "Define the path on the selected shared folder (will automatically be created, if not exist)."
},
"config": {
"flow_title": "{name} ({host})",
"step": {
@ -12,13 +23,21 @@
"password": "[%key:common::config_flow::data::password%]"
},
"data_description": {
"host": "The hostname or IP address of your Synology NAS."
"host": "[%key:component::synology_dsm::common::data_description_host%]",
"port": "[%key:component::synology_dsm::common::data_description_port%]",
"username": "[%key:component::synology_dsm::common::data_description_username%]",
"password": "[%key:component::synology_dsm::common::data_description_password%]",
"ssl": "[%key:component::synology_dsm::common::data_description_ssl%]",
"verify_ssl": "[%key:component::synology_dsm::common::data_description_verify_ssl%]"
}
},
"2sa": {
"title": "Synology DSM: two-step authentication",
"data": {
"otp_code": "Code"
},
"data_description": {
"otp_code": "A one-time-password generated by the authenticator app."
}
},
"backup_share": {
@ -28,8 +47,8 @@
"backup_path": "Path"
},
"data_description": {
"backup_share": "Select the shared folder, where the automatic Home-Assistant backup should be stored.",
"backup_path": "Define the path on the selected shared folder (will automatically be created, if not exist)."
"backup_share": "[%key:component::synology_dsm::common::data_description_backup_share%]",
"backup_path": "[%key:component::synology_dsm::common::data_description_backup_path%]"
}
},
"link": {
@ -40,6 +59,13 @@
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
"port": "[%key:common::config_flow::data::port%]"
},
"data_description": {
"port": "[%key:component::synology_dsm::common::data_description_port%]",
"username": "[%key:component::synology_dsm::common::data_description_username%]",
"password": "[%key:component::synology_dsm::common::data_description_password%]",
"ssl": "[%key:component::synology_dsm::common::data_description_ssl%]",
"verify_ssl": "[%key:component::synology_dsm::common::data_description_verify_ssl%]"
}
},
"reauth_confirm": {
@ -47,6 +73,10 @@
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
},
"data_description": {
"username": "[%key:component::synology_dsm::common::data_description_username%]",
"password": "[%key:component::synology_dsm::common::data_description_password%]"
}
}
},
@ -68,13 +98,14 @@
"step": {
"init": {
"data": {
"snap_profile_type": "Quality level of camera snapshots (0:high 1:medium 2:low)",
"snap_profile_type": "Camera snapshots quality",
"backup_share": "[%key:component::synology_dsm::config::step::backup_share::data::backup_share%]",
"backup_path": "[%key:component::synology_dsm::config::step::backup_share::data::backup_path%]"
},
"data_description": {
"backup_share": "[%key:component::synology_dsm::config::step::backup_share::data_description::backup_share%]",
"backup_path": "[%key:component::synology_dsm::config::step::backup_share::data_description::backup_path%]"
"snap_profile_type": "[%key:component::synology_dsm::common::data_description_snap_profile_type%]",
"backup_share": "[%key:component::synology_dsm::common::data_description_backup_share%]",
"backup_path": "[%key:component::synology_dsm::common::data_description_backup_path%]"
}
}
}
@ -204,8 +235,8 @@
"backup_path": "[%key:component::synology_dsm::config::step::backup_share::data::backup_path%]"
},
"data_description": {
"backup_share": "[%key:component::synology_dsm::config::step::backup_share::data_description::backup_share%]",
"backup_path": "[%key:component::synology_dsm::config::step::backup_share::data_description::backup_path%]"
"backup_share": "[%key:component::synology_dsm::common::data_description_backup_share%]",
"backup_path": "[%key:component::synology_dsm::common::data_description_backup_path%]"
}
}
},