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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user