Skip to content

Commit

Permalink
clipboard: update messages
Browse files Browse the repository at this point in the history
Signed-off-by: Szymon Kłos <[email protected]>
Change-Id: I247e5e802265aef6d423e5049a3b4a43ac03618c
  • Loading branch information
eszkadev committed Oct 9, 2023
1 parent ef440ea commit 56bab37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion browser/src/control/Control.DownloadProgress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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 () {
Expand Down

0 comments on commit 56bab37

Please sign in to comment.