1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-17 19:13:32 +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.prompt.openMany-1 = This will open %S new tabs. Would you like to continue? (yes/[no]):
dactyl.yank-1 = Yank %S dactyl.yank-1 = Yank %S
dactyl.cheerUp = Cheer up
dactyl.somberDown = Somber down
deprecated.for.theOptionsSystem = the options system deprecated.for.theOptionsSystem = the options system
dialog.notAvailable-1 = Dialog %S not available dialog.notAvailable-1 = Dialog %S not available

View File

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

View File

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