diff --git a/common/locale/en-US/messages.properties b/common/locale/en-US/messages.properties index 4bd6b213..080336ca 100644 --- a/common/locale/en-US/messages.properties +++ b/common/locale/en-US/messages.properties @@ -80,7 +80,7 @@ command.parsing-1 = Error parsing arguments: %S command.none = No user-defined commands found command.exists = E174: Command already exists: add ! to replace it command.noPrevious = E30: No previous command line -command.noRange = E481: No range allowed +command.noCount = E481: No count allowed command.noBang = E477: No ! allowed command.colorscheme.notFound-1 = E185: Cannot find color scheme %S diff --git a/common/modules/commands.jsm b/common/modules/commands.jsm index ae3d96e1..d0a9a867 100644 --- a/common/modules/commands.jsm +++ b/common/modules/commands.jsm @@ -161,7 +161,7 @@ var Command = Class("Command", { modifiers = modifiers || {}; if (args.count != null && !this.count) - throw FailedAssertion(_("command.noRange")); + throw FailedAssertion(_("command.noCount")); if (args.bang && !this.bang) throw FailedAssertion(_("command.noBang"));