1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 19:25:46 +01:00

Move input prompt strings to the properties file.

This commit is contained in:
Doug Kearns
2011-03-13 13:45:47 +11:00
parent cffbae4e1b
commit 3d09a0e843
5 changed files with 16 additions and 12 deletions

View File

@@ -106,7 +106,7 @@ var Download = Class("Download", {
let file = io.File(this.targetFile);
if (file.isExecutable() && prefs.get("browser.download.manager.alertOnEXEOpen", true))
this.list.modules.commandline.input("This will launch an executable download. Continue? (yes/[no]/always) ",
this.list.modules.commandline.input(_("download.prompt.launchExecutable") + " ",
function (resp) {
if (/^a(lways)$/i.test(resp)) {
prefs.set("browser.download.manager.alertOnEXEOpen", false);