From a6cab89965bc0dd0e1d67db36babe6c3c2d3ffb4 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 21 Jul 2011 11:31:36 +1000 Subject: [PATCH] Change command.noRange message to noCount. There's currently no notion of ranges in Dactyl. --- common/locale/en-US/messages.properties | 2 +- common/modules/commands.jsm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"));