From 8db7f4c1e5ecbeca74bcf5911fc2c2026de229f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Thu, 27 Jan 2011 01:40:14 +0100 Subject: [PATCH] Minor documentation fixes. --- common/locale/en-US/intro.xml | 4 +--- common/locale/en-US/map.xml | 3 ++- common/locale/en-US/options.xml | 32 +++++++++++++++++--------------- common/modules/services.jsm | 6 ++++-- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/common/locale/en-US/intro.xml b/common/locale/en-US/intro.xml index 4c0114f9..09fc4afa 100644 --- a/common/locale/en-US/intro.xml +++ b/common/locale/en-US/intro.xml @@ -60,9 +60,7 @@ Please send comments, questions, or patches to the mailing list, where we will do our best to answer any inquiries. You can also - check the - wiki or - FAQ. + find more information on the homepage. Issue reports can be entered in the issue tracker.

diff --git a/common/locale/en-US/map.xml b/common/locale/en-US/map.xml index 2a0bfd21..a6d1dd87 100644 --- a/common/locale/en-US/map.xml +++ b/common/locale/en-US/map.xml @@ -46,7 +46,7 @@

- Standard key mapping commands are provided for the four most + Standard key mapping commands are provided for the five most common modes,

@@ -65,6 +65,7 @@ prefixed with one of the above letters. For instance, :imap creates a new key mapping in insert mode, while :cunmap removes a key mapping from command-line mode. + Other modes can be specified using the -modes option described below.

diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index c11a047a..2fd55ebf 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -443,8 +443,8 @@ - 'cookieaccept' 'ca' - 'cookieaccept' + 'ca' 'cookieaccept' + 'cookieaccept' 'ca' string all @@ -575,7 +575,7 @@ 'enc' 'encoding' - 'encoding' + 'encoding' 'enc' string UTF-8 @@ -602,7 +602,7 @@ 'ei' 'eventignore' - 'eventignore' + 'eventignore' 'ei' stringlist @@ -658,7 +658,7 @@ 'fenc' 'fileencoding' - 'fileencoding' + 'fileencoding' 'fenc' string UTF-8 @@ -671,7 +671,7 @@ 'fc' 'findcase' - 'findcase' + 'findcase' 'fc' string smart @@ -939,6 +939,7 @@ + 'nojsd' 'nojsdebugger' 'jsd' 'jsdebugger' 'jsdebugger' 'jsd' boolean @@ -951,8 +952,8 @@ - 'nolpl' 'lpl' - 'noloadplugins' 'loadplugins' + 'nolpl' 'noloadplugins' + 'lpl' 'loadplugins' 'loadplugins' 'lpl' regexplist '\.(js|&dactyl.fileExt;)$' @@ -991,7 +992,7 @@ 'ml' 'mapleader' - 'mapleader' + 'mapleader' 'ml' string \ @@ -1247,8 +1248,8 @@ - 'sanitizeshutdown' 'ss' - 'sanitizeshutdown' + 'ss' 'sanitizeshutdown' + 'sanitizeshutdown' 'ss' stringlist @@ -1296,7 +1297,7 @@ - 'shell' 'sh' + 'sh' 'shell' 'shell' 'sh' string $SHELL or sh, Windows: cmd.exe @@ -1306,7 +1307,7 @@ - 'shellcmdflag' 'shcf' + 'shcf' 'shellcmdflag' 'shellcmdflag' 'shcf' string @@ -1392,6 +1393,7 @@ + 'notmo' 'notimeout' 'tmo' 'timeout' 'timeout' 'tmo' boolean @@ -1435,7 +1437,7 @@ 'us' 'urlsep' 'urlseparator' - 'urlseparator' + 'urlseparator' 'urlsep' 'us' string \| @@ -1533,7 +1535,7 @@ - 'wildignore' 'wig' + 'wig' 'wildignore' 'wildignore' 'wig' regexplist diff --git a/common/modules/services.jsm b/common/modules/services.jsm index 48629933..6c38529b 100644 --- a/common/modules/services.jsm +++ b/common/modules/services.jsm @@ -124,7 +124,7 @@ var Services = Module("Services", { * @param {string} class The class's contract ID. * @param {nsISupports|nsISupports[]} ifaces The interface or array of * interfaces implemented by this service. - * @param {string} meth The name of the function used to instanciate + * @param {string} meth The name of the function used to instantiate * the service. */ add: function (name, class_, ifaces, meth) { @@ -138,9 +138,11 @@ var Services = Module("Services", { * Adds a new XPCOM class to the cache. * * @param {string} name The class's cache key. - * @param {string} class The class's contract ID. + * @param {string} class_ The class's contract ID. * @param {nsISupports|nsISupports[]} ifaces The interface or array of * interfaces implemented by this class. + * @param {string} init Name of a property or method used to initialise the + * class. See {@link #_create}. */ addClass: function (name, class_, ifaces, init) { const self = this;