diff options
Diffstat (limited to 'common/content')
-rw-r--r-- | common/content/dactyl.js | 4 | ||||
-rw-r--r-- | common/content/hints.js | 2 | ||||
-rw-r--r-- | common/content/statusline.js | 6 | ||||
-rw-r--r-- | common/content/tabs.js | 8 |
4 files changed, 10 insertions, 10 deletions
diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 19d89255..628ebdce 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -1587,7 +1587,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { true); prefs.safeSet("layout.scrollbar.side", opts.indexOf("l") >= 0 ? 3 : 2, - "See 'guioptions' scrollbar flags."); + _("option.guioptions.safeSet")); }, validator: function (opts) Option.validIf(!(opts.indexOf("l") >= 0 && opts.indexOf("r") >= 0), UTF8("Only one of ‘l’ or ‘r’ allowed")) @@ -1693,7 +1693,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { { setter: function (value) { prefs.safeSet("accessibility.typeaheadfind.enablesound", !value, - "See 'visualbell' option"); + _("option.visualbell.safeSet")); return value; } }); diff --git a/common/content/hints.js b/common/content/hints.js index 53582cf9..079cdadf 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -1231,7 +1231,7 @@ var Hints = Module("hints", { validator: function (value) { let values = events.fromString(value).map(events.closure.toString); return Option.validIf(array.uniq(values).length === values.length, - "Duplicate keys not allowed"); + _("option.hintkeys.duplicate")); } }); diff --git a/common/content/statusline.js b/common/content/statusline.js index a4b3280c..b36b238f 100644 --- a/common/content/statusline.js +++ b/common/content/statusline.js @@ -247,11 +247,11 @@ var StatusLine = Module("statusline", { if (url == "about:blank") { if (!buffer.title) - url = "[No Name]"; + url = _("buffer.noName"); } else { - url = url.replace(RegExp("^dactyl://help/(\\S+)#(.*)"), function (m, n1, n2) n1 + " " + decodeURIComponent(n2) + " [Help]") - .replace(RegExp("^dactyl://help/(\\S+)"), "$1 [Help]"); + url = url.replace(RegExp("^dactyl://help/(\\S+)#(.*)"), function (m, n1, n2) n1 + " " + decodeURIComponent(n2) + " " + _("buffer.help")) + .replace(RegExp("^dactyl://help/(\\S+)"), "$1 " + _("buffer.help")); } if (modified) diff --git a/common/content/tabs.js b/common/content/tabs.js index 16e5c992..f2665189 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -1010,7 +1010,7 @@ var Tabs = Module("tabs", { tabs.tabStyle.enabled = true; else { prefs.safeSet("browser.tabs.autoHide", value === "multitab", - "See 'showtabline' option."); + _("option.showtabline.safeSet")); tabs.tabStyle.enabled = false; } if (value !== "multitab" || !dactyl.has("Gecko2")) @@ -1053,7 +1053,7 @@ var Tabs = Module("tabs", { if (group[2]) prefs.safeSet("browser.tabs." + group[2], !(valueSet["all"] ^ valueSet[group[0]]), - "See the 'activate' option"); + _("option.activate.safeSet")); return newValues; } }); @@ -1091,9 +1091,9 @@ var Tabs = Module("tabs", { } prefs.safeSet("browser.link.open_newwindow", open, - "See 'popups' option."); + _("option.popups.safeSet")); prefs.safeSet("browser.link.open_newwindow.restriction", restriction, - "See 'popups' option."); + _("option.popups.safeSet")); return values; }, values: { |