X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fcontent%2Fmow.js;fp=common%2Fcontent%2Fmow.js;h=5c7a28c698e9c1a09cc859f194261cde1382f06d;hb=70740024f9c028c1fd63e1a1850ab062ff956054;hp=9ace65a37bb3d99560e6768c9f65cb7b77cedd55;hpb=718c614c183350706466e22939d0101ca4c87efe;p=dactyl.git
diff --git a/common/content/mow.js b/common/content/mow.js
index 9ace65a..5c7a28c 100644
--- a/common/content/mow.js
+++ b/common/content/mow.js
@@ -53,16 +53,16 @@ var MOW = Module("mow", {
@@ -131,8 +131,8 @@ var MOW = Module("mow", {
catch (e) {
util.reportError(e);
util.dump(data);
- this.messages.push(data);
}
+ this.messages.push(data);
}
else {
let style = isString(data) ? "pre" : "nowrap";
@@ -278,11 +278,11 @@ var MOW = Module("mow", {
let elem = this.widget.contentDocument.documentElement;
if (showHelp)
- this.widgets.message = ["MoreMsg", "-- More -- SPACE//j: screen/page/line down, //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({
@@ -311,7 +311,7 @@ var MOW = Module("mow", {
mappings.add([modes.COMMAND],
["g"], "Redisplay the last command output",
function () {
- dactyl.assert(commandline.lastOutput, _("mow.noPreviousOutput"));
+ dactyl.assert(mow.lastOutput, _("mow.noPreviousOutput"));
mow.echo(mow.lastOutput, "Normal");
});
@@ -393,3 +393,5 @@ var MOW = Module("mow", {
"boolean", true);
}
});
+
+// vim: set fdm=marker sw=4 ts=4 et: