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

fix some help typos

This commit is contained in:
Doug Kearns
2007-08-16 10:58:34 +00:00
parent 0c7844dbeb
commit 1ec6743b5d
6 changed files with 20 additions and 20 deletions

View File

@@ -148,7 +148,7 @@ function Bookmarks() //{{{
return deleted; return deleted;
} }
// also ensures that each search engine has a vimperator-friendly alias // also ensures that each search engine has a Vimperator-friendly alias
this.getSearchEngines = function() this.getSearchEngines = function()
{ {
var search_engines = []; var search_engines = [];

View File

@@ -301,7 +301,7 @@ function Commands() //{{{
"The following options will be interpreted in the future:<br/>" + "The following options will be interpreted in the future:<br/>" +
" -T comma,separated,tag,list<br/>" + " -T comma,separated,tag,list<br/>" +
" -k keyword<br/>" + " -k keyword<br/>" +
"Tags WILL be some mechanism to classify bookmarks. Assume, you tag a url with the tags \"linux\" and \"computer\" you'll be able to search for bookmarks containing these tags." "Tags WILL be some mechanism to classify bookmarks. Assume, you tag a URL with the tags \"linux\" and \"computer\" you'll be able to search for bookmarks containing these tags."
} }
)); ));
addDefaultCommand(new Command(["bmarks"], addDefaultCommand(new Command(["bmarks"],
@@ -368,7 +368,7 @@ function Commands() //{{{
{ {
usage: ["delbm[arks] {url}"], usage: ["delbm[arks] {url}"],
short_help: "Delete a bookmark", short_help: "Delete a bookmark",
help: "Deletes <b>all</b> bookmarks which match the <code class=\"argument\">{url}</code>. Use <code>&lt;Tab&gt;</code> key on a string to complete the url which you want to delete.<br/>" + help: "Deletes <b>all</b> bookmarks which match the <code class=\"argument\">{url}</code>. Use <code>&lt;Tab&gt;</code> key on a string to complete the URL which you want to delete.<br/>" +
"The following options WILL be interpreted in the future:<br/>" + "The following options WILL be interpreted in the future:<br/>" +
" [!] a special version to delete ALL bookmarks <br/>" + " [!] a special version to delete ALL bookmarks <br/>" +
" -T comma,separated,tag,list <br/>", " -T comma,separated,tag,list <br/>",
@@ -462,7 +462,7 @@ function Commands() //{{{
{ {
short_help: "Show progress of current downloads", short_help: "Show progress of current downloads",
help: "Open the original Firefox download dialog in a new tab.<br/>" + help: "Open the original Firefox download dialog in a new tab.<br/>" +
"Here, downloads can be paused, canceled and resumed." "Here, downloads can be paused, cancelled and resumed."
} }
)); ));
addDefaultCommand(new Command(["ec[ho]"], addDefaultCommand(new Command(["ec[ho]"],
@@ -579,11 +579,11 @@ function Commands() //{{{
}, },
{ {
usage: ["javas[cript] {cmd}", "javascript <<{endpattern}\\n{script}\\n{endpattern}", "javascript[!]"], // \\n is changed to <br/> in the help.js code usage: ["javas[cript] {cmd}", "javascript <<{endpattern}\\n{script}\\n{endpattern}", "javascript[!]"], // \\n is changed to <br/> in the help.js code
short_help: "Run any javascript command through eval()", short_help: "Run any JavaScript command through eval()",
help: "Acts as a javascript interpreter by passing the argument to <code>eval()</code>.<br/>" + help: "Acts as a JavaScript interpreter by passing the argument to <code>eval()</code>.<br/>" +
"<code class=\"command\">:javascript alert('Hello world')</code> would show a dialog box with the text \"Hello world\".<br/>" + "<code class=\"command\">:javascript alert('Hello world')</code> would show a dialog box with the text \"Hello world\".<br/>" +
"<code class=\"command\">:javascript &lt;&lt;EOF</code> would read all the lines until a line starting with 'EOF' is found, and will <code>eval()</code> them.<br/>" + "<code class=\"command\">:javascript &lt;&lt;EOF</code> would read all the lines until a line starting with 'EOF' is found, and will <code>eval()</code> them.<br/>" +
"The special version <code class=\"command\">:javascript!</code> will open the javascript console of Firefox." "The special version <code class=\"command\">:javascript!</code> will open the JavaScript console of Firefox."
} }
)); ));
addDefaultCommand(new Command(["map"], addDefaultCommand(new Command(["map"],
@@ -679,7 +679,7 @@ function Commands() //{{{
{ {
usage: ["marks [arg]"], usage: ["marks [arg]"],
short_help: "Show all location marks of current web page", short_help: "Show all location marks of current web page",
help: "If <code class=\"argument\">[arg]</code> is specified then limit the list to the those marks mentioned." help: "If <code class=\"argument\">[arg]</code> is specified then limit the list to those marks mentioned."
} }
)); ));
addDefaultCommand(new Command(["norm[al]"], addDefaultCommand(new Command(["norm[al]"],
@@ -750,7 +750,7 @@ function Commands() //{{{
{ {
usage: ["no[remap] {lhs} {rhs}", "no[remap] {lhs}", "no[remap]"], usage: ["no[remap] {lhs} {rhs}", "no[remap] {lhs}", "no[remap]"],
short_help: "Map the key sequence {lhs} to {rhs}", short_help: "Map the key sequence {lhs} to {rhs}",
help: "No remapping of the {rhs} is performed.<br/> NOTE: :noremap does not yet work as reliable as :map." help: "No remapping of the {rhs} is performed.<br/> NOTE: :noremap does not yet work as reliably as :map."
} }
)); ));
addDefaultCommand(new Command(["o[pen]", "e[dit]"], addDefaultCommand(new Command(["o[pen]", "e[dit]"],
@@ -778,7 +778,7 @@ function Commands() //{{{
"<li><code class=\"command\">:open ./foo.html</code> with current location <code>\"http://www.example.com/dir1/dir2/file.html\"</code> will open <code>\"http://www.example.com/dir1/dir2/foo.html\"</code></li></ul></li>" + "<li><code class=\"command\">:open ./foo.html</code> with current location <code>\"http://www.example.com/dir1/dir2/file.html\"</code> will open <code>\"http://www.example.com/dir1/dir2/foo.html\"</code></li></ul></li>" +
"<li>Opened with the specified search engine if the token looks like a search string " + "<li>Opened with the specified search engine if the token looks like a search string " +
"and the first word is the name of a search engine (<code class=\"command\">:open wikipedia linus torvalds</code> " + "and the first word is the name of a search engine (<code class=\"command\">:open wikipedia linus torvalds</code> " +
"will open the wikipedia entry for linus torvalds). The short name of a search engine is automatically guessed from it's name. " + "will open the wikipedia entry for linus torvalds). The short name of a search engine is automatically guessed from its name. " +
"If you want to set a custom name, open the $FIREFOX_PROFILE/searchplugins/*.xml file of the search engine, and add/change " + "If you want to set a custom name, open the $FIREFOX_PROFILE/searchplugins/*.xml file of the search engine, and add/change " +
"&lt;Alias&gt;myalias&lt;/Alias&gt; </li>" + "&lt;Alias&gt;myalias&lt;/Alias&gt; </li>" +
" <li>Opened with the default search engine or keyword (specified with the <code class=\"option\">'defsearch'</code> option) " + " <li>Opened with the default search engine or keyword (specified with the <code class=\"option\">'defsearch'</code> option) " +
@@ -850,7 +850,7 @@ function Commands() //{{{
{ {
usage: ["qmarks [arg]"], usage: ["qmarks [arg]"],
short_help: "Show all QuickMarks", short_help: "Show all QuickMarks",
help: "If <code class=\"argument\">[arg]</code> is specified then limit the list to the those QuickMarks mentioned." help: "If <code class=\"argument\">[arg]</code> is specified then limit the list to those QuickMarks mentioned."
} }
)); ));
addDefaultCommand(new Command(["q[uit]"], addDefaultCommand(new Command(["q[uit]"],
@@ -1038,9 +1038,9 @@ function Commands() //{{{
usage: ["so[urce][!] {file}"], usage: ["so[urce][!] {file}"],
short_help: "Read Ex commands from {file}", short_help: "Read Ex commands from {file}",
help: "You can either source files which mostly contain Ex commands like <code class=\"command\">map &lt; gt</code> " + help: "You can either source files which mostly contain Ex commands like <code class=\"command\">map &lt; gt</code> " +
"and put javascript code within a:<br/><code class=\"code\">" + "and put JavaScript code within a:<br/><code class=\"code\">" +
"js &lt;&lt;EOF<br/>hello = function() {<br/>&nbsp;&nbsp;alert(\"Hello world\");<br/>}<br/>EOF<br/></code> section.<br/>" + "js &lt;&lt;EOF<br/>hello = function() {<br/>&nbsp;&nbsp;alert(\"Hello world\");<br/>}<br/>EOF<br/></code> section.<br/>" +
"Or you can alternatively source a file which ends in .js, these files are automatically sourced as pure javascript files.<br/>" + "Or you can alternatively source a file which ends in .js, these files are automatically sourced as pure JavaScript files.<br/>" +
"NOTE: In both cases you must add functions to the global window object like shown above, functions written as:<br/>" + "NOTE: In both cases you must add functions to the global window object like shown above, functions written as:<br/>" +
"<code class=\"code\">function hello2() {<br/>&nbsp;&nbsp;alert(\"Hello world\");<br/>}<br/></code>are only available within the scope of the script. <br/><br/>" + "<code class=\"code\">function hello2() {<br/>&nbsp;&nbsp;alert(\"Hello world\");<br/>}<br/></code>are only available within the scope of the script. <br/><br/>" +
"The .vimperatorrc file in your home directory and any files in ~/.vimperator/plugin/ are always sourced at startup.<br/>" + "The .vimperatorrc file in your home directory and any files in ~/.vimperator/plugin/ are always sourced at startup.<br/>" +
@@ -1061,7 +1061,7 @@ function Commands() //{{{
{ {
usage: ["tab {cmd}"], usage: ["tab {cmd}"],
short_help: "Execute {cmd} and tell it to output in a new tab", short_help: "Execute {cmd} and tell it to output in a new tab",
help: "Works for only commands that support it.<br/>" + help: "Works only for commands that support it.<br/>" +
"Example: <code class=\"command\">:tab help tab</code> opens the help in a new tab.", "Example: <code class=\"command\">:tab help tab</code> opens the help in a new tab.",
completer: function(filter) { return vimperator.completion.get_command_completions(filter); } completer: function(filter) { return vimperator.completion.get_command_completions(filter); }
} }
@@ -1134,7 +1134,7 @@ function Commands() //{{{
{ {
usage: ["[count]u[ndo]"], usage: ["[count]u[ndo]"],
short_help: "Undo closing of a tab", short_help: "Undo closing of a tab",
help: "If a count is given, don't close the last but the n'th last tab." help: "If a count is given, don't close the last but the <code class=\"argument\">[count]</code>th last tab."
} }
)); ));
addDefaultCommand(new Command(["unm[ap]"], addDefaultCommand(new Command(["unm[ap]"],
@@ -1184,7 +1184,7 @@ function Commands() //{{{
{ {
usage: ["wino[pen] [url] [, url]"], usage: ["wino[pen] [url] [, url]"],
short_help: "Open one or more URLs in a new window", short_help: "Open one or more URLs in a new window",
help: "NOTE: Multiple windows are not really support by vimperator, use at your own risk!" help: "NOTE: Multiple windows are not really supported by Vimperator, use at your own risk!"
} }
)); ));
addDefaultCommand(new Command(["wqa[ll]", "wq", "xa[ll]"], addDefaultCommand(new Command(["wqa[ll]", "wq", "xa[ll]"],

View File

@@ -79,7 +79,7 @@ function Events() //{{{
// NOTE: the order of ["Esc", "Escape"] or ["Escape", "Esc"] // NOTE: the order of ["Esc", "Escape"] or ["Escape", "Esc"]
// matters, so use that string as the first item, that you // matters, so use that string as the first item, that you
// want to refer to within vimperator's source code for // want to refer to within Vimperator's source code for
// comparisons like if (key == "Esc") { ... } // comparisons like if (key == "Esc") { ... }
var keyTable = [ var keyTable = [
[ KeyEvent.DOM_VK_ESCAPE, ["Esc", "Escape"] ], [ KeyEvent.DOM_VK_ESCAPE, ["Esc", "Escape"] ],

View File

@@ -18,7 +18,7 @@
* (C) 2004. All Rights Reserved. * (C) 2004. All Rights Reserved.
* *
* Contributor(s): Pekka Sillanpaa, Paul Stone * Contributor(s): Pekka Sillanpaa, Paul Stone
* adapted for vimperator use by: Martin Stubenschrott * adapted for Vimperator use by: Martin Stubenschrott
* *
}}} ***** END LICENSE BLOCK *****/ }}} ***** END LICENSE BLOCK *****/

View File

@@ -541,7 +541,7 @@ function Mappings() //{{{
{ {
short_help: "Add new QuickMark for current URL", short_help: "Add new QuickMark for current URL",
usage: ["M{a-zA-Z0-9}"], usage: ["M{a-zA-Z0-9}"],
help: "You can go to a marked url in the current tab with <code class=\"mapping\">go{a-zA-Z0-9}</code> or in a new tab with <code class=\"mapping\">gn{a-zA-Z0-9}</code>. " + help: "You can go to a marked URL in the current tab with <code class=\"mapping\">go{a-zA-Z0-9}</code> or in a new tab with <code class=\"mapping\">gn{a-zA-Z0-9}</code>. " +
"These QuickMarks are persistent across browser sessions.", "These QuickMarks are persistent across browser sessions.",
flags: Mappings.flags.ARGUMENT flags: Mappings.flags.ARGUMENT
} }

View File

@@ -399,7 +399,7 @@ function Options() //{{{
)); ));
addOption(new Option(["maxhints", "mh"], "number", addOption(new Option(["maxhints", "mh"], "number",
{ {
short_help: "Maximum number of simultanously shown hints", short_help: "Maximum number of simultaneously shown hints",
help: "If you want to speed up display of hints, choose a smaller value", help: "If you want to speed up display of hints, choose a smaller value",
default_value: 250, default_value: 250,
validator: function (value) { if (value>=1 && value <=1000) return true; else return false; } validator: function (value) { if (value>=1 && value <=1000) return true; else return false; }