mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
client: Improve hint & toast regarding attachments
This commit is contained in:
parent
808797a48b
commit
937e87d760
@ -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 {
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user