1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:57:57 +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({