mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 21:18:00 +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;
|
let elem = this.widget.contentDocument.documentElement;
|
||||||
|
|
||||||
if (showHelp)
|
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)))
|
else if (force || (options["more"] && Buffer.isScrollable(elem, 1)))
|
||||||
this.widgets.message = ["MoreMsg", "-- More --"];
|
this.widgets.message = ["MoreMsg", _("mow.more")];
|
||||||
else
|
else
|
||||||
this.widgets.message = ["Question", "Press ENTER or type command to continue"];
|
this.widgets.message = ["Question", _("mow.continue")];
|
||||||
},
|
},
|
||||||
|
|
||||||
visible: Modes.boundProperty({
|
visible: Modes.boundProperty({
|
||||||
|
|||||||
@@ -192,6 +192,9 @@ mode.recursiveSet = Not executing modes.set recursively
|
|||||||
mode.invalidBases = Invalid bases
|
mode.invalidBases = Invalid bases
|
||||||
|
|
||||||
mow.noPreviousOutput = No previous command output
|
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 = No such option
|
||||||
option.noSuch-1 = No such option: %S
|
option.noSuch-1 = No such option: %S
|
||||||
|
|||||||
Reference in New Issue
Block a user