Apply suggestions from code review

Co-authored-by: Norbert Rittel <norbert@rittel.de>
This commit is contained in:
Michael
2025-06-22 20:32:39 +02:00
committed by GitHub
parent b26f011a36
commit 301dfeb07e

View File

@@ -73,26 +73,26 @@
"services": {
"upload_file": {
"name": "Upload file",
"description": "Upload a file to your Immich instance.",
"description": "Uploads a file to your Immich instance.",
"fields": {
"config_entry_id": {
"name": "Immich instance",
"description": "Select the Immich instance where to upload the file."
"description": "The Immich instance where to upload the file."
},
"file": {
"name": "File",
"description": "The path to the file to be uploaded."
},
"album_id": {
"name": "Album id",
"description": "The album where to put the file in after upload."
"name": "Album ID",
"description": "The album in which the file should be placed after uploading."
}
}
}
},
"exceptions": {
"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": {
"message": "Failed to perform action \"{service}\". Config entry not loaded."
@@ -101,7 +101,7 @@
"message": "Failed to perform action \"{service}\". File `{file}` 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": {
"message": "Failed to perform action \"{service}\". Upload of file `{file}` failed ({error})."