1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 20:44:10 +01:00

Fix 'downloadsort' help entry. Stuff.

This commit is contained in:
Kris Maglione
2011-09-19 14:24:19 -04:00
parent 2828e499d4
commit e99660f570
3 changed files with 12 additions and 3 deletions

View File

@@ -124,6 +124,9 @@ dactyl.sourced-1 = Sourced: %S
dactyl.prompt.openMany-1 = This will open %S new tabs. Would you like to continue? (yes/[no]):
dactyl.yank-1 = Yank %S
dactyl.cheerUp = Cheer up
dactyl.somberDown = Somber down
deprecated.for.theOptionsSystem = the options system
dialog.notAvailable-1 = Dialog %S not available

View File

@@ -534,8 +534,9 @@
<item>
<tags>'dls' 'dlsort' 'downloadsort'</tags>
<spec>'downloadsort' 'dlsort' 'dls'</spec>
<type>stringlist</type>
<default>-active,+filename</default>
<strut/>
<type>&option.downloadsort.type;</type>
<default>&option.downloadsort.default;</default>
<description>
<p>
<ex>:downloads</ex> sort order, in order of precedence.

View File

@@ -1183,7 +1183,7 @@ var Commands = Module("commands", {
(?P<count> (?:\d+ | %)? )
(?P<fullCmd>
(?: (?P<group> <name>) : )?
(?P<cmd> (?:<name> | !)? ))
(?P<cmd> (?:-? [()] | <name> | !)? ))
(?P<bang> !?)
(?P<space> \s*)
)
@@ -1403,6 +1403,11 @@ var Commands = Module("commands", {
commands: function initCommands(dactyl, modules, window) {
const { commands, contexts } = modules;
commands.add(["(", "-("], "",
function (args) { dactyl.echoerr(_("dactyl.cheerUp")); });
commands.add([")", "-)"], "",
function (args) { dactyl.echoerr(_("dactyl.somberDown")); });
commands.add(["com[mand]"],
"List or define commands",
function (args) {