mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 02:24:12 +01:00
Change command.noRange message to noCount.
There's currently no notion of ranges in Dactyl.
This commit is contained in:
@@ -80,7 +80,7 @@ command.parsing-1 = Error parsing arguments: %S
|
|||||||
command.none = No user-defined commands found
|
command.none = No user-defined commands found
|
||||||
command.exists = E174: Command already exists: add ! to replace it
|
command.exists = E174: Command already exists: add ! to replace it
|
||||||
command.noPrevious = E30: No previous command line
|
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.noBang = E477: No ! allowed
|
||||||
|
|
||||||
command.colorscheme.notFound-1 = E185: Cannot find color scheme %S
|
command.colorscheme.notFound-1 = E185: Cannot find color scheme %S
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ var Command = Class("Command", {
|
|||||||
modifiers = modifiers || {};
|
modifiers = modifiers || {};
|
||||||
|
|
||||||
if (args.count != null && !this.count)
|
if (args.count != null && !this.count)
|
||||||
throw FailedAssertion(_("command.noRange"));
|
throw FailedAssertion(_("command.noCount"));
|
||||||
if (args.bang && !this.bang)
|
if (args.bang && !this.bang)
|
||||||
throw FailedAssertion(_("command.noBang"));
|
throw FailedAssertion(_("command.noBang"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user