1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 21:17:59 +01:00

fix some help typos

This commit is contained in:
Doug Kearns
2007-11-09 05:15:17 +00:00
parent 8457cfdf33
commit 2b60f1a26d
3 changed files with 8 additions and 8 deletions

View File

@@ -233,7 +233,7 @@ vimperator.Commands = function() //{{{
function() { vimperator.open("chrome://mozapps/content/extensions/extensions.xul", vimperator.NEW_TAB); }, function() { vimperator.open("chrome://mozapps/content/extensions/extensions.xul", vimperator.NEW_TAB); },
{ {
short_help: "Show available Browser Extensions and Themes", short_help: "Show available Browser Extensions and Themes",
help: "You can add/remove/disable browser extensions from this dialog.<br/>Be aware that not all Firefox extensions work, because Vimperator overrides some keybindings and changes Firefox's GUI." help: "You can add/remove/disable browser extensions from this dialog.<br/>Be aware that not all Firefox extensions work, because Vimperator overrides some key bindings and changes Firefox's GUI."
} }
)); ));
addDefaultCommand(new vimperator.Command(["ba[ck]"], addDefaultCommand(new vimperator.Command(["ba[ck]"],
@@ -624,7 +624,7 @@ vimperator.Commands = function() //{{{
usage: ["h[elp] {subject}"], usage: ["h[elp] {subject}"],
short_help: "Open the help window", short_help: "Open the help window",
help: "You can jump to the specified <code class=\"argument\">{subject}</code> with <code class=\"command\">:help {subject}</code>.<br/>" + help: "You can jump to the specified <code class=\"argument\">{subject}</code> with <code class=\"command\">:help {subject}</code>.<br/>" +
"Make sure you use the full vim notation when jumping to <code class=\"argument\">{subject}</code>. This means:<br/>" + "Make sure you use the full Vim notation when jumping to <code class=\"argument\">{subject}</code>. This means:<br/>" +
"<ul>" + "<ul>" +
"<li><code class=\"command\">:help :help</code> for commands (: prefix)</li>" + "<li><code class=\"command\">:help :help</code> for commands (: prefix)</li>" +
"<li><code class=\"command\">:help 'complete'</code> for options (surrounded by ' and ')</li>" + "<li><code class=\"command\">:help 'complete'</code> for options (surrounded by ' and ')</li>" +
@@ -932,7 +932,7 @@ vimperator.Commands = function() //{{{
}, },
{ {
usage: ["mkv[imperatorrc] [file]"], usage: ["mkv[imperatorrc] [file]"],
short_help: "Write current keymappings and changed options to [file]", short_help: "Write current key mappings and changed options to [file]",
help: "If no <code class=\"argument\">[file]</code> is specified then ~/.vimperatorrc is written unless this file already exists. " + help: "If no <code class=\"argument\">[file]</code> is specified then ~/.vimperatorrc is written unless this file already exists. " +
"The special version will overwrite <code class=\"argument\">[file]</code> if it exists.<br/>" + "The special version will overwrite <code class=\"argument\">[file]</code> if it exists.<br/>" +
"WARNING: this differs from Vim's behavior which defaults to writing the file in the current directory." "WARNING: this differs from Vim's behavior which defaults to writing the file in the current directory."
@@ -1104,7 +1104,7 @@ vimperator.Commands = function() //{{{
usage: ["pref[erences][!]"], usage: ["pref[erences][!]"],
short_help: "Show Browser Preferences", short_help: "Show Browser Preferences",
help: "You can change the browser preferences from this dialog. " + help: "You can change the browser preferences from this dialog. " +
"Be aware that not all Firefox preferences work, because Vimperator overrides some keybindings and changes Firefox's GUI.<br/>" + "Be aware that not all Firefox preferences work, because Vimperator overrides some key bindings and changes Firefox's GUI.<br/>" +
"<code class=\"command\">:prefs!</code> opens about:config in the current tab where you can change advanced Firefox preferences." "<code class=\"command\">:prefs!</code> opens about:config in the current tab where you can change advanced Firefox preferences."
} }
)); ));
@@ -1637,7 +1637,7 @@ vimperator.Commands = function() //{{{
short_help: "Profile a piece of code or a command", short_help: "Profile a piece of code or a command",
help: "Runs <code class=\"argument\">{code} {count}</code> times (default 1) and returns the elapsed time. " + help: "Runs <code class=\"argument\">{code} {count}</code> times (default 1) and returns the elapsed time. " +
"<code class=\"argument\">{code}</code> is always passed to JavaScript's eval(), which might be slow, so take the results with a grain of salt.<br/>" + "<code class=\"argument\">{code}</code> is always passed to JavaScript's eval(), which might be slow, so take the results with a grain of salt.<br/>" +
"If <code class=\"argument\">{code}</code> starts with a :, it is executed as a vimperator command.<br/>" + "If <code class=\"argument\">{code}</code> starts with a :, it is executed as a Vimperator command.<br/>" +
"Use the special version with [!] if you just want to run any command multiple times without showing profiling statistics." "Use the special version with [!] if you just want to run any command multiple times without showing profiling statistics."
} }
)); ));

View File

@@ -986,7 +986,7 @@ vimperator.Mappings = function() //{{{
{ {
short_help: "Search forward for a pattern", short_help: "Search forward for a pattern",
usage: ["/{pattern}[/]<CR>"], usage: ["/{pattern}[/]<CR>"],
help: "Search forward for the first occurance of <code class=\"argument\">{pattern}</code>.<br/>" + help: "Search forward for the first occurrence of <code class=\"argument\">{pattern}</code>.<br/>" +
"If \"\\c\" appears anywhere in the pattern the whole pattern is handled as though <code class=\"option\">'ignorecase'</code> is on. " + "If \"\\c\" appears anywhere in the pattern the whole pattern is handled as though <code class=\"option\">'ignorecase'</code> is on. " +
"\"\\C\" forces case-sensitive matching for the whole pattern.<br/>" + "\"\\C\" forces case-sensitive matching for the whole pattern.<br/>" +
"If \"\\l\" appears in the pattern only the text of links is searched for a match as though <code class=\"option\">'linksearch'</code> is on. " + "If \"\\l\" appears in the pattern only the text of links is searched for a match as though <code class=\"option\">'linksearch'</code> is on. " +
@@ -998,7 +998,7 @@ vimperator.Mappings = function() //{{{
{ {
short_help: "Search backwards for a pattern", short_help: "Search backwards for a pattern",
usage: ["?{pattern}[?]<CR>"], usage: ["?{pattern}[?]<CR>"],
help: "Search backward for the first occurance of <code class=\"argument\">{pattern}</code>.<br/>" + help: "Search backward for the first occurrence of <code class=\"argument\">{pattern}</code>.<br/>" +
"If \"\\c\" appears anywhere in the pattern the whole pattern is handled as though <code class=\"option\">'ignorecase'</code> is on. " + "If \"\\c\" appears anywhere in the pattern the whole pattern is handled as though <code class=\"option\">'ignorecase'</code> is on. " +
"\"\\C\" forces case-sensitive matching for the whole pattern.<br/>" + "\"\\C\" forces case-sensitive matching for the whole pattern.<br/>" +
"If \"\\l\" appears in the pattern only the text of links is searched for a match as though <code class=\"option\">'linksearch'</code> is on. " + "If \"\\l\" appears in the pattern only the text of links is searched for a match as though <code class=\"option\">'linksearch'</code> is on. " +

View File

@@ -421,7 +421,7 @@ const vimperator = (function() //{{{
open: function(urls, where, callback) open: function(urls, where, callback)
{ {
// convert the string to an array of converted URLs // convert the string to an array of converted URLs
// -> see String.prototype.toURLArray for more details // -> see vimperator.util.stringToURLArray for more details
if (typeof urls == "string") if (typeof urls == "string")
urls = vimperator.util.stringToURLArray(urls); urls = vimperator.util.stringToURLArray(urls);