Skip to content

Commit b3e69fe

Browse files
Fix miscellaneous typos in docs (#150)
Typos and other minor errors.
1 parent d8ae968 commit b3e69fe

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/new-translators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ python-doc project coordinators on Transifex.
128128
.. seealso::
129129

130130
- `PEP 545`_
131-
- `Python Devguide: Translations <https://devguide.python.org/documentation/translating/>`_
131+
- `Python devguide: Translations <https://devguide.python.org/documentation/translating/>`_
132132
- `Sphinx's reStructuredText Primer <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`_

docs/placeholders.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
Placeholders
33
============
44

5-
65
Transifex supports adding
76
`Translation checks <https://help.transifex.com/en/articles/6241794-setting-translation-checks#h_317a8b70f5>`_
8-
to fit the translation caracteristics.
7+
to fit the translation characteristics.
98

109
Adding custom placeholders causes the matched expression to be highlighted, be assigned unique numbers in that string,
1110
and to be warned if translation differs from the source string.
@@ -51,7 +50,7 @@ To make easier to read the source strings, extract them from the doc files and p
5150
git clone https://github.com/python-docs-translations/transifex-automations
5251
cd python-docs-tx-translations
5352
git clone --depth 1 --branch 3.12 https://github.com/python/cpython
54-
python -mvenv venv
53+
python -m venv venv
5554
source venv/bin/activate
5655
pip install -r requirements.txt -r cpython/Doc/requirements.txt
5756
sphinx-build -E -b gettext -D gettext_compact=0 -d build/.doctrees . locales/pot
@@ -66,14 +65,14 @@ To make easier to read the source strings, extract them from the doc files and p
6665
6766
Now, *strings.txt* have all source strings.
6867
69-
Find pontential placeholders from extracted strings
70-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68+
Find potential placeholders from extracted strings
69+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7170
7271
Use the following commands to find potential custom.
7372
7473
Note that the commands sort by alphabetic order ``sort -u``, but it could be sorted by most used placeholders via ``sort | uniq -c | sort -grk 1`` instead.
7574

76-
1. To list two-part roles (e.g. ``:c:func:` ``)::
75+
1. To list two-part roles (e.g. ``:c:func:` ``):
7776
7877
.. code-block:: shell
7978

0 commit comments

Comments
 (0)