summaryrefslogtreecommitdiff
path: root/tests/roots/test-intl
Commit message (Collapse)AuthorAgeFilesLines
* Warn on deprecated Python-specific index types (#11412)Adam Turner2023-05-091-7/+0
|
* Add test coverage for 'today_fmt' reference substitution (#10980)James Addison2022-12-291-0/+1
|
* Close #3985: Implement #noqa for i18nJean Abou Samra2022-02-154-0/+76
| | | | | | | | | | | | | | When cross-references in the original paragraph and the translated paragraph do not match, a warning is emitted. It is useful, because it allows to catch mistakes, but it can also be an annoyance since sometimes it is expected that the cross-references will not match. For example, a reference that is repeated in the original text may need to be factored out for good style in the target language. Another example: if the translator needs to translate a universally understood term in the source language into a term that not everyone knows is the translation of this original term, adding a reference to the glossary can be warranted. This allows the translated message to start with '#noqa' in order to disable the warning.
* In translated docs, sort glossaries by translated termsJean Abou Samra2022-01-122-35/+74
| | | | | | | This is done by moving the sorting from the glossary directive to a transform operating after the i18n transform. Closes #9827
* doc: Upgrade docutils.sourceforge.io links to HTTPSigo958622021-05-161-1/+1
| | | | | Also change any docutils.sourceforge.net link to io top level domain.
* Merge branch '3.x' into masterTakeshi KOMIYA2020-10-041-1/+1
|\
| * Strip trailing whitespaces and normalize line endingsFrançois Freitag2020-10-031-1/+1
| | | | | | | | | | | | | | | | Trailing whitespace do not have impact on the result, they are just unused bytes. Most text editors are configured to strip trailing whitespaces. Remove them all in one go. Update a handful of files to use the UNIX line ending.
* | Merge branch '3.x'Takeshi KOMIYA2020-07-242-3/+3
|\ \ | |/
| * Fix #4888: i18n: Failed to add an explicit title to ``:ref:`` roleTakeshi KOMIYA2020-07-192-3/+3
| | | | | | | | | | | | To allow to give (or not to give) an explicit title to the pending_xref nodes on translation, this skips to override the attribute on merge original and translated documents.
* | Close #7784: i18n: The alt text for image is translated by defaultTakeshi KOMIYA2020-07-191-12/+10
|/ | | | | Make alt text for image translatable by default without settings of gettext_additional_targets.
* Close #4683: i18n: make explicit titles in toctree translatableTakeshi KOMIYA2019-11-012-0/+41
|
* Fix #6444: test: replace example.com by existing pageTakeshi KOMIYA2019-06-051-2/+2
|
* Merge branch '2.0'Takeshi KOMIYA2019-03-212-0/+10
|\
| * Fix #6178: i18n: Captions missing in translations for hidden TOCsTakeshi KOMIYA2019-03-172-0/+10
| |
* | refactor: Use CatalogRepository instead of find_catalog_source_file()Takeshi KOMIYA2019-02-2727-0/+0
|/
* Remove coding magic comments from testsTakeshi KOMIYA2019-01-021-2/+0
|
* Merge branch '1.8'jfbu2018-11-062-2/+5
|\
| * Fix #3002: i18n: multiple footnote_references referring same footnote causes ↵Takeshi KOMIYA2018-11-012-2/+5
| | | | | | | | duplicated node_ids
* | The default setting for master_doc is changed to 'index'Takeshi KOMIYA2018-09-047-8/+8
|/
* Merge branch '1.7'Takeshi KOMIYA2018-07-172-3/+6
|\
| * Fix #3329: i18n: crashed by auto-symbol footnote referencesTakeshi KOMIYA2018-07-152-3/+6
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-05-1411-0/+109
|\ \ | |/
| * Merge branch '1.7' into 4913_literal_block_under_bullet_listTakeshi KOMIYA2018-05-129-0/+99
| |\
| | * fix #4938: i18n doesn't handle node.title correctly (#4939)Takayuki SHIMIZUKAWA2018-05-119-0/+99
| | |
| * | Fix #4913: i18n: literal blocks in bullet list are not translatedTakeshi KOMIYA2018-05-072-0/+10
| |/
* | Update all pypi.python.org URLs to pypi.orgJon Dufresne2018-04-181-1/+1
|/ | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* Re-arrange WARNING messages about reference inconsistenciescocoatomo2017-10-072-6/+6
|
* Fix #3421: Could not translate a caption of tablesTakeshi KOMIYA2017-02-152-0/+64
|
* Fix #3370: the caption of code-block is not picked up for translationTakeshi KOMIYA2017-01-262-0/+10
|
* Merge branch 'stable' into 1.5-releaseTakeshi KOMIYA2016-11-232-0/+24
|\
| * #3093: fix test againshimizukawa2016-11-201-0/+7
| |
| * #3093: fix testshimizukawa2016-11-202-3/+3
| |
| * refs #3093: add testsshimizukawa2016-11-202-1/+18
| |
* | Fix could not translate the content of meta directive (ref: #1734)Takeshi KOMIYA2016-09-012-0/+10
| |
* | Fix #1734: Could not translate the caption of toctree directiveTakeshi KOMIYA2016-09-012-0/+21
| |
* | Fix #2874: gettext builder could not extract all text under the ``only`` ↵Takeshi KOMIYA2016-08-272-0/+43
| | | | | | | | directives
* | Run *.png through zopflipng -mVille Skyttä2016-07-072-0/+0
|/ | | | | Before: 2334583 bytes After: 2136324 bytes
* Fix #2247: #2205 breaks make html for definition list with classifiers that ↵Takeshi KOMIYA2016-01-182-0/+7
| | | | contains regular-expression like string
* fix testing for text builder that generate ↵shimizukawa2016-01-091-0/+1
| | | | _build/text/_build/text/_build/... recursive directories because *.txt in _build/text previously generated was detected as source file.
* Fix #2198,#2205: ``make gettext`` generate broken msgid for definition ↵shimizukawa2016-01-092-6/+6
| | | | lists. It's a regression by #1855.
* Fixes #1983: i18n translation feature breaks references which uses section name.shimizukawa2015-08-093-0/+133
|
* Fixed #1855: make gettext generates broken po file for definition lists with ↵shimizukawa2015-07-252-0/+13
| | | | classifier.
* refs #1235: i18n: 'uri' and 'alt' attribute on 'image' and 'figure' nodes ↵shimizukawa2015-02-224-36/+63
| | | | can be translated if `gettext_additional_targets` has 'image'.
* refs #1235: i18n: 'doctest-block' and 'raw' node can be translated if ↵shimizukawa2015-02-225-0/+62
| | | | `gettext_additional_targets` has that string.
* refs #1235: i18n: 'literal-block' node can be translated if 'literal-block' ↵shimizukawa2015-02-222-0/+65
| | | | is set to `gettext_additional_targets`.
* The ``gettext_enables`` config value has been renamed to ↵shimizukawa2015-02-221-1/+1
| | | | `gettext_additional_targets`.
* add :confval:`gettext_enables` to enable extracting 'index' to gettext ↵Takayuki Shimizukawa2014-09-281-0/+1
| | | | catalog output / applying translation catalog to generated documentation. Closes #1344
* Fixup windows newlines.Georg Brandl2014-09-212-17/+17
|
* Fix malformed po files in the test-intl directoryTakayuki Shimizukawa2014-08-0317-17/+17
|
* compress static PNG images with optipng -o10Lars Buitinck2014-07-221-0/+0
| | | | Average reduction in file size of 20%.