mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:47:59 +01:00
Localize the more prompt messages.
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user