mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Apply suggestions from code review
Co-authored-by: Norbert Rittel <norbert@rittel.de>
This commit is contained in:
@@ -73,26 +73,26 @@
|
|||||||
"services": {
|
"services": {
|
||||||
"upload_file": {
|
"upload_file": {
|
||||||
"name": "Upload file",
|
"name": "Upload file",
|
||||||
"description": "Upload a file to your Immich instance.",
|
"description": "Uploads a file to your Immich instance.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"config_entry_id": {
|
"config_entry_id": {
|
||||||
"name": "Immich instance",
|
"name": "Immich instance",
|
||||||
"description": "Select the Immich instance where to upload the file."
|
"description": "The Immich instance where to upload the file."
|
||||||
},
|
},
|
||||||
"file": {
|
"file": {
|
||||||
"name": "File",
|
"name": "File",
|
||||||
"description": "The path to the file to be uploaded."
|
"description": "The path to the file to be uploaded."
|
||||||
},
|
},
|
||||||
"album_id": {
|
"album_id": {
|
||||||
"name": "Album id",
|
"name": "Album ID",
|
||||||
"description": "The album where to put the file in after upload."
|
"description": "The album in which the file should be placed after uploading."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"exceptions": {
|
"exceptions": {
|
||||||
"config_entry_not_found": {
|
"config_entry_not_found": {
|
||||||
"message": "Failed to perform action \"{service}\". Config entry not found"
|
"message": "Failed to perform action \"{service}\". Config entry not found."
|
||||||
},
|
},
|
||||||
"config_entry_not_loaded": {
|
"config_entry_not_loaded": {
|
||||||
"message": "Failed to perform action \"{service}\". Config entry not loaded."
|
"message": "Failed to perform action \"{service}\". Config entry not loaded."
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
"message": "Failed to perform action \"{service}\". File `{file}` not found."
|
"message": "Failed to perform action \"{service}\". File `{file}` not found."
|
||||||
},
|
},
|
||||||
"album_not_found": {
|
"album_not_found": {
|
||||||
"message": "Failed to perform action \"{service}\". Album with id `{album_id}` not found ({error})."
|
"message": "Failed to perform action \"{service}\". Album with ID `{album_id}` not found ({error})."
|
||||||
},
|
},
|
||||||
"upload_failed": {
|
"upload_failed": {
|
||||||
"message": "Failed to perform action \"{service}\". Upload of file `{file}` failed ({error})."
|
"message": "Failed to perform action \"{service}\". Upload of file `{file}` failed ({error})."
|
||||||
|
Reference in New Issue
Block a user