You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make gettext doesn't generate msgid for title of topic directive and contents directive
ex.
.. contents:: Contents Title
.. topic:: Topic Title
make html with i18n catalog doesn't apply translated message if msgid starts with 1.
ex. index.rst
1. A Header
===========
.. admonition:: 1. Admonition Title
Admonition body
.. topic:: 1. Topic Title
Topic body
.. contents:: 1. Contents Title
.. table:: 1. Table Title
+---+
|Foo|
+---+
Procedure to reproduce the problem
conf.py:
locale_dirs = ['./locale']
language = 'ru'
gettext_compact = False
commands:
make gettext
sphinx-intl update -l ru
# edit ./locale/ru/LC_MESSAGES/index.po
make html
Error logs / results
no errors
Expected results
All text in the index.rst are translated with using index.po catalog.
Original report is: https://groups.google.com/d/msg/sphinx-users/hdzuCi7AvRY/etw-3qWBBAAJ
Problem
There are two problems
make gettext
doesn't generate msgid for title oftopic
directive andcontents
directiveex.
make html
with i18n catalog doesn't apply translated message if msgid starts with1.
ex.
index.rst
Procedure to reproduce the problem
conf.py
:commands:
Error logs / results
no errors
Expected results
All text in the
index.rst
are translated with usingindex.po
catalog.Reproducible project / your project
4938.zip
Environment info
The text was updated successfully, but these errors were encountered: