From 6649a81f7d7f93234e7f9f87138a212b360d6d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Sat, 23 Oct 2010 17:17:41 +0200 Subject: [PATCH] Fix some of the "typo fixes" and a few more typos. --- common/content/commands.js | 4 ++-- common/content/mappings.js | 4 ++-- common/content/options.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/content/commands.js b/common/content/commands.js index 71301398..538fce71 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -1276,8 +1276,8 @@ const Commands = Module("commands", { args["-javascript"] ? completion.javascript(context) : completion.ex(context); }, options: [ - { names: ["-bang", "-b"], description: "Command may be proceeded by a !" }, - { names: ["-count", "-c"], description: "Command may be proceeded by a count" }, + { names: ["-bang", "-b"], description: "Command may be followed by a !" }, + { names: ["-count", "-c"], description: "Command may be preceded by a count" }, { // TODO: "E180: invalid complete value: " + arg names: ["-complete", "-C"], diff --git a/common/content/mappings.js b/common/content/mappings.js index 522f76bf..dc1e54d9 100644 --- a/common/content/mappings.js +++ b/common/content/mappings.js @@ -226,7 +226,7 @@ const Mappings = Module("mappings", { keys = keys.map(this._expandLeader); extra = extra || {}; extra.user = true; - let map = Map(modes, keys, description || "User defined mapping", action, extra); + let map = Map(modes, keys, description || "User-defined mapping", action, extra); // remove all old mappings to this key sequence for (let [, name] in Iterator(map.names)) { @@ -439,7 +439,7 @@ const Mappings = Module("mappings", { { names: ["-description", "-d"], description: "A description of this mapping", - default: "User defined mapping", + default: "User-defined mapping", type: CommandOption.STRING }, { diff --git a/common/content/options.js b/common/content/options.js index d895acad..926c6b97 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -30,7 +30,7 @@ let ValueError = Class("ValueError", Error); * privateData - see {@link Option#privateData} * scope - see {@link Option#scope} * setter - see {@link Option#setter} - * vaildator - see {@link Option#validator} + * validator - see {@link Option#validator} * @optional * @private */