From 56bab37dd77c3f02a78efceecea874e1ee93f570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20K=C5=82os?= Date: Mon, 9 Oct 2023 16:57:24 +0200 Subject: [PATCH] clipboard: update messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Szymon Kłos Change-Id: I247e5e802265aef6d423e5049a3b4a43ac03618c --- browser/src/control/Control.DownloadProgress.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/src/control/Control.DownloadProgress.js b/browser/src/control/Control.DownloadProgress.js index e092e4ff2698b..c26ef25744c81 100644 --- a/browser/src/control/Control.DownloadProgress.js +++ b/browser/src/control/Control.DownloadProgress.js @@ -107,7 +107,7 @@ L.Control.DownloadProgress = L.Control.extend({ _showDownloadComplete: function (inSnackbar) { var modalId = this._getDownloadProgressDialogId(); - var msg = _('Download completed and ready to be copied to clipboard.'); + var msg = _(' Download completed and ready to be copied to clipboard. From now on clipboard notifications will discreetly appear at the bottom.'); var buttonText = _('Copy') + ' (Ctrl + C)'; // TODO: on Mac Ctrl == Command? if (inSnackbar) { @@ -250,6 +250,9 @@ L.Control.DownloadProgress = L.Control.extend({ this._map._clip.filterExecCopyPaste('.uno:Copy'); this._onClose(); this._setUserAlreadyWarned(); + + var msg = _('Content copied to clipboard'); + this._map.uiManager.showSnackbar(msg); }, _onClose: function () {