Skip to content

Commit

Permalink
Merge pull request #210 from stweil/master
Browse files Browse the repository at this point in the history
Fix some typos in documentation (found by codespell)
  • Loading branch information
mbi committed Mar 21, 2022
2 parents b15e04b + a1b6ffb commit 7d91873
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Version 0.5.12
* Doc: Update url include line for Django (#164, thanks @jpic)
* Doc: Fixed a typo (#162, thanks @RubenGarcia)
* Initial fixes and test against Django 3.0 (#166, #165. Thanks @devkral)
* Don't open dictionnary file in binary mode (#167, thanks @grasshoppermouse)
* Don't open dictionary file in binary mode (#167, thanks @grasshoppermouse)


Version 0.5.11
Expand Down Expand Up @@ -100,7 +100,7 @@ Version 0.5.5
Version 0.5.4
-------------
* Removed a couple gremlins (PR #113, thanks @Pawamoy)
* Added autocapitalize="off", autocorrect="off" and spellcheck="false" to the genreated field (PR #116, thanks @rdonnelly)
* Added autocapitalize="off", autocorrect="off" and spellcheck="false" to the generated field (PR #116, thanks @rdonnelly)
* Test against Django 1.11
* Drop support of Django 1.7 ("it'll probably still work")

Expand All @@ -113,7 +113,7 @@ Version 0.5.3

Version 0.5.2
-------------
* Use any mutliplication uperator instead of "*". (Fixes #77 via PR #104, thanks @honsdomi and @isergey)
* Use any multiplication uperator instead of "*". (Fixes #77 via PR #104, thanks @honsdomi and @isergey)
* Test against Django 1.10

Version 0.5.1
Expand Down Expand Up @@ -180,7 +180,7 @@ Version 0.4.1

Version 0.4.0
-------------
* Perfom some tests at package installation, to check whether PIL or Pillow are already installed. (Issue #46)
* Perform some tests at package installation, to check whether PIL or Pillow are already installed. (Issue #46)
* Added Slovak translations. (Thanks @ciklysta)

Version 0.3.9
Expand Down
2 changes: 1 addition & 1 deletion captcha/fonts/COPYRIGHT.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Copyright FAQ
systems and software (e.g., Gnome, KDE, etc.) are now converting to
use fontconfig (see www.fontconfig.org) to handle font configuration,
selection and substitution; it has provisions for overriding font
names and subsituting alternatives. An example is provided by the
names and substituting alternatives. An example is provided by the
supplied local.conf file, which chooses the family Bitstream Vera for
"sans", "serif" and "monospace". Other software (e.g., the XFree86
core server) has other mechanisms for font substitution.
Expand Down
2 changes: 1 addition & 1 deletion captcha/fonts/README.TXT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Contained herin is the Bitstream Vera font family.

The Copyright information is found in the COPYRIGHT.TXT file (along
with being incoporated into the fonts themselves).
with being incorporated into the fonts themselves).

The releases notes are found in the file "RELEASENOTES.TXT".

Expand Down
6 changes: 3 additions & 3 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ A random rotation in this interval is applied to each letter in the challenge te

Defaults to ``(-35,35)``.

New in version 0.1.6: set this to None to disable letter roation.
New in version 0.1.6: set this to None to disable letter rotation.

CAPTCHA_BACKGROUND_COLOR
------------------------
Expand Down Expand Up @@ -270,7 +270,7 @@ As of version 0.4.7 you can control how the individual components are rendered,
* ``captcha/hidden_field.html`` controls the rendering of the hidden input
* ``captcha/field.html`` controls the assembling of the previous three elements

These templates can be overriden in your own ``templates`` folder, or you can change the actual template names by settings ``CAPTCHA_IMAGE_TEMPLATE``, ``CAPTCHA_TEXT_FIELD_TEMPLATE``, ``CAPTCHA_HIDDEN_FIELD_TEMPLATE`` and ``CAPTCHA_FIELD_TEMPLATE``, respectively.
These templates can be overridden in your own ``templates`` folder, or you can change the actual template names by settings ``CAPTCHA_IMAGE_TEMPLATE``, ``CAPTCHA_TEXT_FIELD_TEMPLATE``, ``CAPTCHA_HIDDEN_FIELD_TEMPLATE`` and ``CAPTCHA_FIELD_TEMPLATE``, respectively.

Context
~~~~~~~
Expand All @@ -284,7 +284,7 @@ The following context variables are passed to the three "individual" templates:

The ``captcha/field.html`` template receives the following context:

* ``image``: the rendered (HTML) image and optionnaly audio elements
* ``image``: the rendered (HTML) image and optionally audio elements
* ``hidden_field``: the rendered hidden input
* ``text_field``: the rendered text input

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ In your view, validate the form as usual. If the user didn't provide a valid res
Passing arguments to the field
------------------------------

``CaptchaField`` takes a few optional arguements:
``CaptchaField`` takes a few optional arguments:

* ``output_format`` will let you format the layout of the rendered field. Defaults to the value defined in : :ref:`output_format_ref`.
* ``id_prefix`` Optional prefix that will be added to the ID attribute in the generated fields and labels, to be used when e.g. several Captcha fields are being displayed on a same page. (added in version 0.4.4)
Expand Down

0 comments on commit 7d91873

Please sign in to comment.