1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 13:45:47 +01:00

More ad hoc i18n work.

This commit is contained in:
Doug Kearns
2011-04-01 10:12:47 +11:00
parent 477b1139fc
commit a52a0dc61f
17 changed files with 65 additions and 56 deletions

View File

@@ -310,7 +310,7 @@ var Command = Class("Command", {
util.assert((this.length == 0 || this.command.argCount !== "0") &&
(this.length <= 1 || !/^[01?]$/.test(this.command.argCount)),
_("error.trailing"));
_("error.trailingCharacters"));
}
}
});
@@ -863,7 +863,7 @@ var Commands = Module("commands", {
let [count, arg, quote] = Commands.parseArg(str, null, _keepQuotes);
if (quote == "\\" && !complete)
return [, , , _("error.trailing", "\\")];
return [, , , _("error.trailingCharacters", "\\")];
if (quote && !complete)
return [, , , _("error.missingQuote", quote)];
return [count, arg, quote];