mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-28 13:23:31 +01:00
Fix some options.jsm message bugs.
This commit is contained in:
@@ -180,7 +180,7 @@ plugin.searchingFor-1 = Searching for %S
|
|||||||
plugin.searchingForIn-2 = Searching for %S in %S
|
plugin.searchingForIn-2 = Searching for %S in %S
|
||||||
plugin.notReplacingContext-1 = Not replacing plugin context for %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.toFile-1 = Printing to file: %S
|
||||||
print.sending = Sending to printer...
|
print.sending = Sending to printer...
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Components.utils.import("resource://dactyl/bootstrap.jsm");
|
|||||||
defineModule("options", {
|
defineModule("options", {
|
||||||
exports: ["Option", "Options", "ValueError", "options"],
|
exports: ["Option", "Options", "ValueError", "options"],
|
||||||
require: ["messages", "storage"],
|
require: ["messages", "storage"],
|
||||||
use: ["commands", "completion", "prefs", "services", "styles", "template", "util"]
|
use: ["commands", "completion", "config", "prefs", "services", "styles", "template", "util"]
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
/** @scope modules */
|
/** @scope modules */
|
||||||
@@ -1017,7 +1017,7 @@ var Options = Module("options", {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (name == "all" && reset)
|
if (name == "all" && reset)
|
||||||
modules.commandline.input(_("pref.prompt.resetAll", config.host),
|
modules.commandline.input(_("pref.prompt.resetAll", config.host) + " ",
|
||||||
function (resp) {
|
function (resp) {
|
||||||
if (resp == "yes")
|
if (resp == "yes")
|
||||||
for (let pref in values(prefs.getNames()))
|
for (let pref in values(prefs.getNames()))
|
||||||
|
|||||||
Reference in New Issue
Block a user