mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 697078 - Add a toast notification indicating start of download on download start [r=wesj]
This commit is contained in:
parent
09f9c6fdb3
commit
23c165c581
@ -132,6 +132,8 @@ var Downloads = {
|
||||
this._dlmgr = Cc["@mozilla.org/download-manager;1"].getService(Ci.nsIDownloadManager);
|
||||
this._progressAlert = new AlertDownloadProgressListener();
|
||||
this._dlmgr.addListener(this._progressAlert);
|
||||
|
||||
NativeWindow.toast.show(Strings.browser.GetStringFromName("alertDownloadsToast"), "long");
|
||||
}
|
||||
} else if (aTopic == "dl-done") {
|
||||
msgKey = "alertDownloadsDone";
|
||||
|
@ -107,6 +107,7 @@ alertDownloadsDone=%S has finished downloading
|
||||
alertCantOpenDownload=Can't open file. Tap to save it.
|
||||
alertDownloadsSize=Download too big
|
||||
alertDownloadsNoSpace=Not enough storage space
|
||||
alertDownloadsToast=Download started…
|
||||
|
||||
downloadCancelPromptTitle=Cancel Download
|
||||
downloadCancelPromptMessage=Do you want to cancel this download?
|
||||
|
Loading…
Reference in New Issue
Block a user