* Improve field descriptions for Download file action Currently two of the field descriptions for the Download file action don't explain exactly what should be entered but rather explain these like additional actions. The third, the Overwrite file option is misleading as it does not refer to an existing file. This commit fixes both issues by explaining the purpose of all three fields in a slightly more detailed fashion. * Update homeassistant/components/downloader/strings.json Co-authored-by: Josef Zweck <josef@zweck.dev> * Update homeassistant/components/downloader/strings.json Co-authored-by: Josef Zweck <josef@zweck.dev> --------- Co-authored-by: Josef Zweck <josef@zweck.dev>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"description": "Select a location to get to store downloads. The setup will check if the directory exists."
|
|
}
|
|
},
|
|
"error": {
|
|
"directory_does_not_exist": "The directory could not be reached. Please check your settings."
|
|
},
|
|
"abort": {
|
|
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
|
|
}
|
|
},
|
|
"services": {
|
|
"download_file": {
|
|
"name": "Download file",
|
|
"description": "Downloads a file to the download location.",
|
|
"fields": {
|
|
"url": {
|
|
"name": "[%key:common::config_flow::data::url%]",
|
|
"description": "The URL of the file to download."
|
|
},
|
|
"subdir": {
|
|
"name": "Subdirectory",
|
|
"description": "Relative download path."
|
|
},
|
|
"filename": {
|
|
"name": "Filename",
|
|
"description": "Custom name for the downloaded file."
|
|
},
|
|
"overwrite": {
|
|
"name": "Overwrite",
|
|
"description": "Overwrite file if it exists."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|