diff --git a/common/locale/en-US/messages.properties b/common/locale/en-US/messages.properties index 6fd6fa01..720050a9 100644 --- a/common/locale/en-US/messages.properties +++ b/common/locale/en-US/messages.properties @@ -180,7 +180,7 @@ plugin.searchingFor-1 = Searching for %S plugin.searchingForIn-2 = Searching for %S in %S plugin.notReplacingContext-1 = Not replacing plugin context for %S -prefs.prompt.resetAll-1 = Warning: Resetting all preferences may make %S unusable. Continue (yes/[no]):\ +pref.prompt.resetAll-1 = Warning: Resetting all preferences may make %S unusable. Continue (yes/[no]): print.toFile-1 = Printing to file: %S print.sending = Sending to printer... diff --git a/common/modules/options.jsm b/common/modules/options.jsm index 7afb0668..baa570a7 100644 --- a/common/modules/options.jsm +++ b/common/modules/options.jsm @@ -12,7 +12,7 @@ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("options", { exports: ["Option", "Options", "ValueError", "options"], require: ["messages", "storage"], - use: ["commands", "completion", "prefs", "services", "styles", "template", "util"] + use: ["commands", "completion", "config", "prefs", "services", "styles", "template", "util"] }, this); /** @scope modules */ @@ -1017,7 +1017,7 @@ var Options = Module("options", { } if (name == "all" && reset) - modules.commandline.input(_("pref.prompt.resetAll", config.host), + modules.commandline.input(_("pref.prompt.resetAll", config.host) + " ", function (resp) { if (resp == "yes") for (let pref in values(prefs.getNames()))