diff --git a/chrome/content/vimperator/bookmarks.js b/chrome/content/vimperator/bookmarks.js index ee112b09..f506a132 100644 --- a/chrome/content/vimperator/bookmarks.js +++ b/chrome/content/vimperator/bookmarks.js @@ -148,7 +148,7 @@ function Bookmarks() //{{{ 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() { var search_engines = []; diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index bc1beeb5..bd24d332 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -301,7 +301,7 @@ function Commands() //{{{ "The following options will be interpreted in the future:
" + " -T comma,separated,tag,list
" + " -k keyword
" + - "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"], @@ -368,7 +368,7 @@ function Commands() //{{{ { usage: ["delbm[arks] {url}"], short_help: "Delete a bookmark", - help: "Deletes all bookmarks which match the {url}. Use <Tab> key on a string to complete the url which you want to delete.
" + + help: "Deletes all bookmarks which match the {url}. Use <Tab> key on a string to complete the URL which you want to delete.
" + "The following options WILL be interpreted in the future:
" + " [!] a special version to delete ALL bookmarks
" + " -T comma,separated,tag,list
", @@ -462,7 +462,7 @@ function Commands() //{{{ { short_help: "Show progress of current downloads", help: "Open the original Firefox download dialog in a new tab.
" + - "Here, downloads can be paused, canceled and resumed." + "Here, downloads can be paused, cancelled and resumed." } )); 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
in the help.js code - short_help: "Run any javascript command through eval()", - help: "Acts as a javascript interpreter by passing the argument to eval().
" + + short_help: "Run any JavaScript command through eval()", + help: "Acts as a JavaScript interpreter by passing the argument to eval().
" + ":javascript alert('Hello world') would show a dialog box with the text \"Hello world\".
" + ":javascript <<EOF would read all the lines until a line starting with 'EOF' is found, and will eval() them.
" + - "The special version :javascript! will open the javascript console of Firefox." + "The special version :javascript! will open the JavaScript console of Firefox." } )); addDefaultCommand(new Command(["map"], @@ -679,7 +679,7 @@ function Commands() //{{{ { usage: ["marks [arg]"], short_help: "Show all location marks of current web page", - help: "If [arg] is specified then limit the list to the those marks mentioned." + help: "If [arg] is specified then limit the list to those marks mentioned." } )); addDefaultCommand(new Command(["norm[al]"], @@ -750,7 +750,7 @@ function Commands() //{{{ { usage: ["no[remap] {lhs} {rhs}", "no[remap] {lhs}", "no[remap]"], short_help: "Map the key sequence {lhs} to {rhs}", - help: "No remapping of the {rhs} is performed.
NOTE: :noremap does not yet work as reliable as :map." + help: "No remapping of the {rhs} is performed.
NOTE: :noremap does not yet work as reliably as :map." } )); addDefaultCommand(new Command(["o[pen]", "e[dit]"], @@ -778,7 +778,7 @@ function Commands() //{{{ "
  • :open ./foo.html with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com/dir1/dir2/foo.html\"
  • " + "
  • 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 (:open wikipedia linus torvalds " + - "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 " + "<Alias>myalias</Alias>
  • " + "
  • Opened with the default search engine or keyword (specified with the 'defsearch' option) " + @@ -850,7 +850,7 @@ function Commands() //{{{ { usage: ["qmarks [arg]"], short_help: "Show all QuickMarks", - help: "If [arg] is specified then limit the list to the those QuickMarks mentioned." + help: "If [arg] is specified then limit the list to those QuickMarks mentioned." } )); addDefaultCommand(new Command(["q[uit]"], @@ -1038,9 +1038,9 @@ function Commands() //{{{ usage: ["so[urce][!] {file}"], short_help: "Read Ex commands from {file}", help: "You can either source files which mostly contain Ex commands like map < gt " + - "and put javascript code within a:
    " + + "and put JavaScript code within a:
    " + "js <<EOF
    hello = function() {
      alert(\"Hello world\");
    }
    EOF
    section.
    " + - "Or you can alternatively source a file which ends in .js, these files are automatically sourced as pure javascript files.
    " + + "Or you can alternatively source a file which ends in .js, these files are automatically sourced as pure JavaScript files.
    " + "NOTE: In both cases you must add functions to the global window object like shown above, functions written as:
    " + "function hello2() {
      alert(\"Hello world\");
    }
    are only available within the scope of the script.

    " + "The .vimperatorrc file in your home directory and any files in ~/.vimperator/plugin/ are always sourced at startup.
    " + @@ -1061,7 +1061,7 @@ function Commands() //{{{ { usage: ["tab {cmd}"], short_help: "Execute {cmd} and tell it to output in a new tab", - help: "Works for only commands that support it.
    " + + help: "Works only for commands that support it.
    " + "Example: :tab help tab opens the help in a new tab.", completer: function(filter) { return vimperator.completion.get_command_completions(filter); } } @@ -1134,7 +1134,7 @@ function Commands() //{{{ { usage: ["[count]u[ndo]"], 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 [count]th last tab." } )); addDefaultCommand(new Command(["unm[ap]"], @@ -1184,7 +1184,7 @@ function Commands() //{{{ { usage: ["wino[pen] [url] [, url]"], 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]"], diff --git a/chrome/content/vimperator/events.js b/chrome/content/vimperator/events.js index f04bc1b2..cd9480cd 100644 --- a/chrome/content/vimperator/events.js +++ b/chrome/content/vimperator/events.js @@ -79,7 +79,7 @@ function Events() //{{{ // NOTE: the order of ["Esc", "Escape"] or ["Escape", "Esc"] // 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") { ... } var keyTable = [ [ KeyEvent.DOM_VK_ESCAPE, ["Esc", "Escape"] ], diff --git a/chrome/content/vimperator/hints.js b/chrome/content/vimperator/hints.js index 21b4894e..63b69d04 100644 --- a/chrome/content/vimperator/hints.js +++ b/chrome/content/vimperator/hints.js @@ -18,7 +18,7 @@ * (C) 2004. All Rights Reserved. * * Contributor(s): Pekka Sillanpaa, Paul Stone - * adapted for vimperator use by: Martin Stubenschrott + * adapted for Vimperator use by: Martin Stubenschrott * }}} ***** END LICENSE BLOCK *****/ diff --git a/chrome/content/vimperator/mappings.js b/chrome/content/vimperator/mappings.js index 421be066..7bd6fd03 100644 --- a/chrome/content/vimperator/mappings.js +++ b/chrome/content/vimperator/mappings.js @@ -541,7 +541,7 @@ function Mappings() //{{{ { short_help: "Add new QuickMark for current URL", usage: ["M{a-zA-Z0-9}"], - help: "You can go to a marked url in the current tab with go{a-zA-Z0-9} or in a new tab with gn{a-zA-Z0-9}. " + + help: "You can go to a marked URL in the current tab with go{a-zA-Z0-9} or in a new tab with gn{a-zA-Z0-9}. " + "These QuickMarks are persistent across browser sessions.", flags: Mappings.flags.ARGUMENT } diff --git a/chrome/content/vimperator/options.js b/chrome/content/vimperator/options.js index fba9729b..a82c19b3 100644 --- a/chrome/content/vimperator/options.js +++ b/chrome/content/vimperator/options.js @@ -399,7 +399,7 @@ function Options() //{{{ )); 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", default_value: 250, validator: function (value) { if (value>=1 && value <=1000) return true; else return false; }