1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 18:47:58 +01:00

Localize the more prompt messages.

This commit is contained in:
Doug Kearns
2011-03-19 21:24:51 +11:00
parent af550c3839
commit ebfc3712e6
2 changed files with 6 additions and 3 deletions

View File

@@ -278,11 +278,11 @@ var MOW = Module("mow", {
let elem = this.widget.contentDocument.documentElement;
if (showHelp)
this.widgets.message = ["MoreMsg", "-- More -- SPACE/<C-f>/j: screen/page/line down, <C-b>/<C-u>/k: up, q: quit"];
this.widgets.message = ["MoreMsg", _("mow.moreHelp")];
else if (force || (options["more"] && Buffer.isScrollable(elem, 1)))
this.widgets.message = ["MoreMsg", "-- More --"];
this.widgets.message = ["MoreMsg", _("mow.more")];
else
this.widgets.message = ["Question", "Press ENTER or type command to continue"];
this.widgets.message = ["Question", _("mow.continue")];
},
visible: Modes.boundProperty({

View File

@@ -192,6 +192,9 @@ mode.recursiveSet = Not executing modes.set recursively
mode.invalidBases = Invalid bases
mow.noPreviousOutput = No previous command output
mow.continue = Press ENTER or type command to continue
mow.more = -- More --
mow.moreHelp = -- More -- SPACE/<C-f>/j: screen/page/line down, <C-b>/<C-u>/k: up, q: quit
option.noSuch = No such option
option.noSuch-1 = No such option: %S