mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 10:10:31 +00:00
Bug 1074505 - Use a distinct error message for blocked downloads. r=wesj
This commit is contained in:
parent
600cffa303
commit
d7a6328eda
@ -119,7 +119,7 @@ HelperAppLauncherDialog.prototype = {
|
||||
|
||||
Services.console.logStringMessage("Refusing download of non-downloadable file.");
|
||||
let bundle = Services.strings.createBundle("chrome://browser/locale/handling.properties");
|
||||
let failedText = bundle.GetStringFromName("protocol.failed");
|
||||
let failedText = bundle.GetStringFromName("download.blocked");
|
||||
win.toast.show(failedText, "long");
|
||||
|
||||
return;
|
||||
|
@ -2,6 +2,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
download.blocked=Unable to download file
|
||||
protocol.failed=Couldn't find an app to open this link
|
||||
# A very short string shown in the button toast when no application can open the url
|
||||
protocol.toast.search=Search
|
||||
|
Loading…
Reference in New Issue
Block a user