From 7315817acd2859732290a2ce7e2d9b5b0978a058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Wed, 22 Sep 2010 18:16:04 +0200 Subject: [PATCH] Fix some more typos and errors in the documentation --- common/locale/en-US/buffer.xml | 2 +- common/locale/en-US/developer.xml | 6 ++--- common/locale/en-US/gui.xml | 10 ++++---- common/locale/en-US/hints.xml | 12 +++++----- common/locale/en-US/map.xml | 20 ++++++++-------- common/locale/en-US/marks.xml | 10 ++++---- common/locale/en-US/pattern.xml | 4 ++-- common/locale/en-US/repeat.xml | 10 ++++---- common/locale/en-US/styling.xml | 2 +- common/locale/en-US/tabs.xml | 20 ++++++++-------- pentadactyl/locale/en-US/autocommands.xml | 2 +- pentadactyl/locale/en-US/intro.xml | 8 +++---- pentadactyl/locale/en-US/tutorial.xml | 28 +++++++++++------------ 13 files changed, 67 insertions(+), 67 deletions(-) diff --git a/common/locale/en-US/buffer.xml b/common/locale/en-US/buffer.xml index 41663e38..32d8f18a 100644 --- a/common/locale/en-US/buffer.xml +++ b/common/locale/en-US/buffer.xml @@ -12,7 +12,7 @@

- A buffer the container that holds the given web page, including + Buffer is a container that holds the given web page, including all of its history and frames. Each tab contains exactly one buffer, and for most purposes the two terms are interchangeable. See tabs for more. diff --git a/common/locale/en-US/developer.xml b/common/locale/en-US/developer.xml index 79f72926..810faf8c 100644 --- a/common/locale/en-US/developer.xml +++ b/common/locale/en-US/developer.xml @@ -39,7 +39,7 @@ creates a new help section for the command :help and for the related key binding, . It also creates help tags for the command, its shortcuts, the key binding, and the general - topic, ‘help’. These tags enable linking to this section when from + topic, ‘help’. These tags enable linking to this section from other mentions of the topic and from the :help command.

@@ -76,7 +76,7 @@
&tab;spec
The specification for this item, such as an example command-line. (HelpSpec)
&tab;strut
A horizontal formatting strut which ensures that all previous <tags> and <spec> elements appear above the ones that follow.
&tab;type
For options, the type of the option. - number, boolean, string, string, stringlist, or charlist. + number, boolean, string, stringlist, or charlist. (HelpType)
&tab;default
For options, the default value. (HelpDefault)
@@ -152,7 +152,7 @@ there is no need to write load event handlers. Beyond that, what you may do with your plugins is practically limitless. Plugins have full access to all of the chrome resources that - ordinary &dactyl.host; do, along with the entire power of the + ordinary &dactyl.host; does, along with the entire power of the &dactyl.appname; API. If you need a starting point, have a look at some existing plugins or extensions, diff --git a/common/locale/en-US/gui.xml b/common/locale/en-US/gui.xml index 298f9d84..91b4bc4b 100644 --- a/common/locale/en-US/gui.xml +++ b/common/locale/en-US/gui.xml @@ -16,7 +16,7 @@ Although &dactyl.appname; offers access to the most frequently used &dactyl.host; functionality via Ex and Normal mode commands, there may be times when direct access to the &dactyl.host; GUI is required. For such - eventualities, there there are commands to access menu items and to launch + eventualities, there are commands to access menu items and to launch standard &dactyl.host; dialogs.

@@ -48,7 +48,7 @@

Opens the &dactyl.host; addon manager, where extensions and themes may be installed, removed, disabled, and configured. See also - :extenstions, :extinstall, :extoptions, + :extensions, :extinstall, :extoptions, :extenable, :extdisable, and :extdelete.

@@ -59,10 +59,10 @@ :dia :dialog :dialog &dactyl.host;-dialog -

Open a &dactyl.host; dialog. Available dialogs include,

+

Open a &dactyl.host; dialog. Available dialogs include:

-
about
About Mozilla &dactyl.host;;
+
about
About Mozilla &dactyl.host;
addbookmark
Add bookmark for the current page
addons
Manage Add-ons
bookmarks
List your bookmarks
@@ -221,7 +221,7 @@
  • - URL: The URL of the currently loaded page. While the page is loading + URL: The URL of the currently loaded page. While the page is loading, progress messages are also output to this field.
  • diff --git a/common/locale/en-US/hints.xml b/common/locale/en-US/hints.xml index 93a20c44..6b197315 100644 --- a/common/locale/en-US/hints.xml +++ b/common/locale/en-US/hints.xml @@ -42,16 +42,16 @@
    Selects the first highlighted element, or that - fucused by .
    + focused by .
    Moves the focus to the next hintable element
    -
    Temporarilly treats all numbers as ordinary text
    +
    Temporarily treats all numbers as ordinary text
    -
    Exitts hint mode without selecting an element
    +
    Exits hint mode without selecting an element
    @@ -85,7 +85,7 @@ exactly like QuickHint mode, except that each sub-mode highlights a more specialized set of elements, and performs a unique action on the selected link. - Because of the panoply of extend hint modes available, + Because of the panoply of extended hint modes available, after pressing ;, pressing brings up the completion-list with a list of each hint mode and its description. @@ -94,7 +94,7 @@

    mode may be one of:

      -
    • ; to focus a link and hover it with the mouse
    • +
    • ; to focus a link
    • ? to show information about the element (incomplete)
    • s to save its destination
    • a to save its destination (prompting for save location)
    • @@ -121,7 +121,7 @@ -->

      Of the previous modes, the value of the hinttags - option os used to choose the highlighted elements for + option is used to choose the highlighted elements for the modes, ;;, ;?, ;w, ;v, ;V, ;Y and ;c. The value of extendedhinttags is used to choose the elements diff --git a/common/locale/en-US/map.xml b/common/locale/en-US/map.xml index 4f859089..00ad0822 100644 --- a/common/locale/en-US/map.xml +++ b/common/locale/en-US/map.xml @@ -12,9 +12,9 @@

      - &dactyl.appname; provides a number commands to change the + &dactyl.appname; provides a number of commands to change the behavior of key presses. This can mean anything from - automatically substituting one key for another, to automatically + automatically substituting one key for another or automatically replacing one typed word for another, to launching a dialog or running a command.

      @@ -67,7 +67,7 @@ It is important to note that mappings are not automatically saved between sessions. In order to preserve them, - they must either be added to your &dactyl.name;rc or + they must either be added to your &dactyl.name;rc or saved via the :mk&dactyl.name;rc command. @@ -110,7 +110,7 @@
      -builtin
      Execute this mapping as if there were no user-defined mappings (short name -b)
      -
      -descripion
      A discription of this mapping (short name -d)
      +
      -descripion
      A description of this mapping (short name -d)
      -ex
      Execute rhs as an Ex command rather than keys (short name -e)
      -javascript
      Execute rhs as JavaScript rather than keys (short names -js, -j)
      -modes
      Create this mapping in the given modes (short names -mode, -m)
      @@ -312,7 +312,7 @@
      Type the ‘2’ while holding the ‘Control’ key.
      -
      Type the ‘2’ key @ while holding the ‘Control’ key.
      +
      Type the ‘@’ key while holding the ‘Control’ key.
      Press the space bar while holding the ‘Shift’ key.
      @@ -585,7 +585,7 @@

      Argument handling

      - By default user commands accept no arguments. This can be changed by specifying + By default, user commands accept no arguments. This can be changed by specifying the -nargs attribute.

      @@ -602,7 +602,7 @@

      Argument completion

      - Completion for arguments to user defined commands is not available by default. + Completion for arguments to user-defined commands is not available by default. Completion can be enabled by specifying one of the following arguments to the -complete option when defining the command.

      @@ -646,7 +646,7 @@

      start is the index into the word being completed at which the returned values - should be applied and completions is a two dimensional array of the form: + should be applied and completions is a two-dimensional array of the form: [[arg1, description1], [arg2, description2], …]

      @@ -655,7 +655,7 @@

      Count handling

      - By default user commands do not accept a count. Use the -count attribute if + By default, user commands do not accept a count. Use the -count attribute if you'd like to have a count passed to your user command. This will then be available for expansion as <count> in the argument.

      @@ -663,7 +663,7 @@

      Special cases

      - By default a user command does not have a special version, i.e. a version + By default, a user command does not have a special version, i.e. a version executed with the ! modifier. Providing the -bang attribute will enable this and <bang> will be available in the argument.

      diff --git a/common/locale/en-US/marks.xml b/common/locale/en-US/marks.xml index 9b8d0bd9..85c199c9 100644 --- a/common/locale/en-US/marks.xml +++ b/common/locale/en-US/marks.xml @@ -18,7 +18,7 @@
      • Bookmarks are the standard marks of &dactyl.host;, and are fully supported.
      • -
      • QuickMarks allow you to quickly save and return as many as 62 (a-zA-Z0-9) different web sites with a quick keyboard shortcut.
      • +
      • QuickMarks allow you to quickly save and return to as many as 62 (a-zA-Z0-9) different web sites with a quick keyboard shortcut.
      • Local marks allow you to store and return to a position within the current web page.
      • URL marks allow you to store and return to the position and URL of the current web page.
      • History marks every opened page with data on when and how often it has been visited.
      • @@ -70,7 +70,7 @@

- If url is omitted, the URL currently loaded web + If url is omitted, URL of the currently loaded web page is used.

@@ -113,7 +113,7 @@

The special version :bmarks! works the same as - :bmarks except that it opens all all matching + :bmarks except that it opens all matching bookmarks in new tabs rather than listing them.

@@ -158,7 +158,7 @@ when and how often it is visited, and can be retrieved both in history list and location completions. Indeed, the ‘frecency’ algorithm used to determine the results of location completions - (see the complete option) mean that history is often a + (see the complete option) means that history is often a more effective type of mark than bookmarks themselves.

@@ -252,7 +252,7 @@

The special version :history! works the same as - :history except that it opens all all matching + :history except that it opens all matching pages in new tabs rather than listing them.

diff --git a/common/locale/en-US/pattern.xml b/common/locale/en-US/pattern.xml index 25c86006..f1dbeea1 100644 --- a/common/locale/en-US/pattern.xml +++ b/common/locale/en-US/pattern.xml @@ -105,7 +105,7 @@ * * -

Search forward for the next word under the cursor.

+

Search forward for the next occurence of the word under cursor.

@@ -114,7 +114,7 @@ # # -

Search backward for the previous word under the cursor.

+

Search backward for the previous occurence of the word under cursor.

diff --git a/common/locale/en-US/repeat.xml b/common/locale/en-US/repeat.xml index 47c5bd00..053fd746 100644 --- a/common/locale/en-US/repeat.xml +++ b/common/locale/en-US/repeat.xml @@ -13,7 +13,7 @@

&dactyl.appname; can repeat commands in a number of ways, from repeating - the last command, to recording and playing macros, to saving its state and + the last command, recording and playing macros, to saving its state and executing scripts.

@@ -117,7 +117,7 @@

Read Ex commands, JavaScript, or CSS from file. Files are - interpreted based on their extensions. Files when end in + interpreted based on their extensions. Files which end in .js are executed as JavaScript, while those ending in .css are loaded as Cascading Stylesheets, and anything else is interpreted as Ex commands. In normal cases, any errors @@ -140,7 +140,7 @@ page and every chrome document, including all browser windows and dialogs. If the same file is sourced more than once, its previous rules are cleared before it is applied again. Rules can be - restricted to specific documents by enclosing them + restricted to specific documents by enclosing them inside @-moz-document blocks.

@@ -150,7 +150,7 @@

JavaScript files are executed with full chrome privileges in their own global namespaces. These namespaces are stored as objects in - the plugins object, in the property named for the full + the plugins object, in the property named after the full path of the sourced file. This means that any variables or functions created by your script are stored as properties of that object. Additionally, all properties of the global window @@ -213,7 +213,7 @@

Source the specified file from the first directory in runtimepath in which it exists. When ! is given, - source the specified from all directories in runtimepath in + source the file from all directories in runtimepath in which it exists.

:runtime plugins/foobar.js diff --git a/common/locale/en-US/styling.xml b/common/locale/en-US/styling.xml index 401aaa5c..de519cee 100644 --- a/common/locale/en-US/styling.xml +++ b/common/locale/en-US/styling.xml @@ -148,7 +148,7 @@ :style! -name=name -append filter css

- Add CSS styles to the browser or to web pages. filter is a comma separated + Add CSS styles to the browser or to web pages. filter is a comma-separated list of URLs to match. URLs ending with * are matched as prefixes, URLs not containing any : or / characters are matched as domains. css is a full CSS rule set (e.g., body { color: blue; }). diff --git a/common/locale/en-US/tabs.xml b/common/locale/en-US/tabs.xml index 1cdf8d01..4a66e1bb 100644 --- a/common/locale/en-US/tabs.xml +++ b/common/locale/en-US/tabs.xml @@ -15,7 +15,7 @@ Tabs allow you to keep many web pages open at the same time and to quickly switch between them. Each tab contains exactly one buffer. If your version of &dactyl.host; supports tab groups, only buffers in the active group - will be attached to visible tabs. Though all buffers may not always be + will be attached to visible tabs. Although not all buffers are always attached to visible tabs, they are all always accessible via the buffer-centric commands and key bindings. Tab-centric commands and key bindings, however, only operate on the set of visible tabs. @@ -134,8 +134,8 @@ countgt

- Go to the next tab. Cycles to the first tab when the last is selected. - If count is specified go to the countth tab. + Go to the next tab. Cycles to the first tab when the last one is selected. + If count is specified, go to the countth tab.

@@ -147,8 +147,8 @@ count<C-n>

- Go to the next tab. Cycles to the first tab when the last is selected. - If count is specified go to the countth next tab. + Go to the next tab. Cycles to the first tab when the last one is selected. + If count is specified, go to the countth next tab.

@@ -160,8 +160,8 @@ countgT

- Go to the previous tab. Cycles to the last tab when the first is selected. - If count is specified go to the countth previous tab. + Go to the previous tab. Cycles to the last tab when the first one is selected. + If count is specified, go to the countth previous tab.

@@ -176,8 +176,8 @@ :countbnext count

- Switch to the next or countth tab. Cycles to the first tab when the last is - selected and count is not specified. + Switch to the next or countth tab. Cycles to the first tab when + the last one is selected and count is not specified.

@@ -234,7 +234,7 @@

If argument is #, the alternate buffer will be selected (see ).

-

If no argument is given the current buffer remains current.

+

If no argument is given, the current buffer remains current.

diff --git a/pentadactyl/locale/en-US/autocommands.xml b/pentadactyl/locale/en-US/autocommands.xml index 6653f0a4..96e71dec 100644 --- a/pentadactyl/locale/en-US/autocommands.xml +++ b/pentadactyl/locale/en-US/autocommands.xml @@ -17,7 +17,7 @@
PageLoadPre
Triggered after a page load is initiated
PageLoad
Triggered when a page gets (re)loaded/opened
PrivateMode
Triggered when private mode is activated or deactivated
-
Sanitize
Triggered when privata data are sanitized
+
Sanitize
Triggered when private data are sanitized
ShellCmdPost
Triggered after executing a shell command with :!cmd
Enter
Triggered after &dactyl.host; starts
LeavePre
Triggered before exiting &dactyl.host;, just before destroying each module
diff --git a/pentadactyl/locale/en-US/intro.xml b/pentadactyl/locale/en-US/intro.xml index 1430a72c..5898ea93 100644 --- a/pentadactyl/locale/en-US/intro.xml +++ b/pentadactyl/locale/en-US/intro.xml @@ -25,12 +25,12 @@ If this is your first time running &dactyl.appname;, you may need some time to adjust to the standard interface, which hides the menu, navigation, and tool bars by default. If you find it uncomfortable to work - without them, you can re-enable them by typing, + without them, you can re-enable them by typing

:set guioptions+=mT

If you have trouble remembering commands or keyboard shortcuts, you can - bring up this help page at any time by typing :help or the + bring up this help page at any time by typing :help or . If you find that you don't like &dactyl.appname; at all, you can disable it by typing :extdisable &dactyl.appname; or delete it entirely by typing :extdelete &dactyl.appname; @@ -147,12 +147,12 @@

  • Vim-like keybindings (h, j, gg, ZZ, , etc.)
  • Ex commands (:quit, :open www.foo.com, …)
  • -
  • Tab completion for all commands, highliy configurable via wildmode and wildoptions
  • +
  • Tab completion for all commands, highly configurable via wildmode and wildoptions
  • Hit-a-hint like navigation of links (start with f to follow a link)
  • Advanced completion of bookmark and history URLs
  • Vim-like status line with a Wget-like progress bar
  • Minimal GUI (easily hide superfluous menubar and toolbar with :set guioptions=)
  • -
  • Ability to :source JavaScript, CSS, and &dactyl.appname; command files.
  • +
  • Ability to :source JavaScript, CSS, and &dactyl.appname; command files
  • Easy quick searches (see :open)
  • Count supported for many commands (3 will go back 3 pages)
  • Visual bell for errors (visualbell)
  • diff --git a/pentadactyl/locale/en-US/tutorial.xml b/pentadactyl/locale/en-US/tutorial.xml index 8ef59383..277aec72 100644 --- a/pentadactyl/locale/en-US/tutorial.xml +++ b/pentadactyl/locale/en-US/tutorial.xml @@ -13,7 +13,7 @@

    Quick-start tutorial

    - This is a quickstart tutorial to help get new users up and running + This is a quickstart tutorial to help new users get up and running in &dactyl.appname;. It is not intended as a full reference explaining all features. @@ -26,17 +26,17 @@ regain these by issuing the command

    -:set go+=mTB +:set go+=mTB

    - where represents pressing the or key. + where represents pressing the or key. If you're a veteran Vim user, this may look familiar. It should.

    However, in this author's opinion, the best way to get familiar with &dactyl.appname; is to leave these disabled for now. (The above action can be - reversed with :set go=) You can look at the entry for guioptions in + reversed with :set go=) You can look at the entry for guioptions in options for more information on this.

    @@ -70,13 +70,13 @@

    Vim is a great editor but it's not much of a web browser. So even seasoned Vim - users will probably have to look at &dactyl.appname; documentation sooner or later. + users will probably have to look at &dactyl.appname;'s documentation sooner or later. Most of the documentation for &dactyl.appname;'s features are easily found using the :help command. For example, you can find help on the :help command by typing

    -:help :help +:help :help

    Similarly, help on configurable options is available with @@ -90,8 +90,8 @@

    -:help gt -:help gT +:help gt +:help gT

    @@ -192,11 +192,11 @@

    -:open my.webmail.com -omy.webmail.com +:open my.webmail.com +omy.webmail.com -:tabopen google.com -tgoogle.com +:tabopen google.com +tgoogle.com

    Some hints about surfing…

    @@ -269,7 +269,7 @@

    To save your current settings and allow them to be loaded automatically - next time you start &dactyl.appname;, issue the :mkv command. + next time you start &dactyl.appname;, issue the :mkp command.

    @@ -339,7 +339,7 @@ Feel free to explore at this point. If you use the :tabopen command, remember to use the gt/gT mappings to get back to this page. If using the :open command, use the history keys (e.g., H) to return. - If you get hopelessly lost, just type :help and click the + If you get hopelessly lost, just type :help and click the Tutorial link to return.