client: Improve hint & toast regarding attachments

This commit is contained in:
Elian Doran 2024-08-17 10:51:43 +03:00
parent 808797a48b
commit 937e87d760
No known key found for this signature in database
2 changed files with 1121 additions and 1122 deletions

View File

@ -8,9 +8,9 @@ function copyImageReferenceToClipboard($imageWrapper) {
const success = document.execCommand('copy');
if (success) {
toastService.showMessage("Image copied to the clipboard");
toastService.showMessage("A reference to the image has been copied to clipboard. This can be pasted in any text note.");
} else {
toastService.showAndLogError("Could not copy the image to clipboard.");
toastService.showAndLogError("Could not copy the image reference to clipboard.");
}
}
finally {

View File

@ -531,12 +531,11 @@
"upload_success": "New attachment revision has been uploaded.",
"upload_failed": "Upload of a new attachment revision failed.",
"open_externally_detail_page": "Opening attachment externally is available only from the detail page, please first click on the attachment detail first and repeat the action.",
"open_custom_client_only": "Custom opening of attachments can only be done from the client.",
"open_custom_client_only": "Custom opening of attachments can only be done from the desktop client.",
"delete_confirm": "Are you sure you want to delete attachment '{{title}}'?",
"delete_success": "Attachment '{{title}}' has been deleted.",
"convert_confirm": "Are you sure you want to convert attachment '{{title}}' into a separate note?",
"convert_success": "Attachment '{{title}}' has been converted to note.",
"rename_attachment": "Rename attachment",
"enter_new_name": "Please enter new attachment's name"
},
"calendar": {