Skip to content

Commit c80ec91

Browse files
committed
Fix some typos
1 parent fad6628 commit c80ec91

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

ChangeLog.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
== Version 1.5 (2013-09-15)
8383

8484
* add option "-s" (or "--spelling") to check spelling and option "--pwl" to
85-
use a personal word list (with module "python-enchant")
85+
use a personal list of words (with module "python-enchant")
8686

8787
== Version 1.4 (2013-09-14)
8888

README.asciidoc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ image:https://travis-ci.org/flashcode/msgcheck.svg?branch=master["Build Status",
1313
** whitespace at beginning/end of strings
1414
** trailing whitespace at end of lines inside strings
1515
** punctuation at end of strings
16-
** spelling (messages and translations)
16+
** spelling (messages and translations).
1717
18-
The script requires Python >= 2.7.
18+
The script requires:
1919

20-
Module `pyenchant` is required if spelling is checked (option `-s`).
20+
* Python >= 2.7
21+
* the module `pyenchant` if spelling is checked (with option `-s`).
2122
2223
== Install
2324

@@ -27,7 +28,7 @@ Install a released version from the Python package index with pip:
2728
$ pip install msgcheck
2829
----
2930

30-
Install via source distribution:
31+
Or you can install via source distribution:
3132

3233
----
3334
$ python setup.py install
@@ -52,8 +53,8 @@ Options:
5253
`str` = translations)
5354
* `-d <dicts>`, `--dicts <dicts>`: comma-separated list of extra dictionaries
5455
to use (in addition to file language)
55-
* `-P <file>`, `--pwl <file>`: file with personal word list used when checking
56-
spelling
56+
* `-P <file>`, `--pwl <file>`: file with personal list of words used when
57+
checking spelling
5758
* `-m`, `--only-misspelled`: display only misspelled words (no error, line
5859
number and translation)
5960
* `-w`, `--no-whitespace`: do not check whitespace at beginning/end of strings
@@ -64,11 +65,12 @@ Options:
6465
* `-q`, `--quiet`: quiet mode: only display number of errors
6566
* `-v`, `--version`: display version and exit
6667

67-
Environment variable `MSGCHECK_OPTIONS` can be set with some default options.
68+
The environment variable `MSGCHECK_OPTIONS` can be set with some default
69+
options.
6870

6971
The script returns exit code *0* if all files checked are OK
70-
(0 errors or option `--extract` given) or it returns *n*: number of files with
71-
errors (n >= 1).
72+
(0 errors or option `--extract` given) or it returns *N*: number of files with
73+
errors (N >= 1).
7274

7375
== Example
7476

msgcheck/msgcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def msgcheck_parser():
7575
help='comma-separated list of extra dictionaries '
7676
'to use (in addition to file language)')
7777
parser.add_argument('-P', '--pwl',
78-
help='file with personal word list used when '
78+
help='file with personal list of words used when '
7979
'checking spelling')
8080
parser.add_argument('-m', '--only-misspelled', action='store_true',
8181
help='display only misspelled words (no error, '

0 commit comments

Comments
 (0)