Bug 1074505 - Use a distinct error message for blocked downloads. r=wesj

This commit is contained in:
Richard Newman 2014-10-08 11:21:02 -07:00
parent 600cffa303
commit d7a6328eda
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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