1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-13 14:45:47 +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

@@ -1199,7 +1199,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
urls = dactyl.parseURLs(urls);
if (urls.length > prefs.get("browser.tabs.maxOpenBeforeWarn", 20) && !force)
return commandline.input("This will open " + urls.length + " new tabs. Would you like to continue? (yes/[no]) ",
return commandline.input(_("dactyl.prompt.openMany", urls.length) + " ",
function (resp) {
if (resp && resp.match(/^y(es)?$/i))
dactyl.open(urls, params, true);