diff --git a/.github/workflows/transifex.yml b/.github/workflows/transifex.yml
index 71c9d32cc..88affa2cb 100644
--- a/.github/workflows/transifex.yml
+++ b/.github/workflows/transifex.yml
@@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: pip install -U babel jinja2 transifex-client
- name: Extract translations from source code
- run: python setup.py extract_messages
+ run: python utils/babel_runner.py extract
- name: Push translations to transifex.com
run: cd sphinx/locale && tx push -s --no-interactive --parallel
env:
@@ -42,13 +42,13 @@ jobs:
- name: Install dependencies
run: pip install -U babel jinja2 transifex-client
- name: Extract translations from source code
- run: python setup.py extract_messages
+ run: python utils/babel_runner.py extract
- name: Pull translations to transifex.com
run: cd sphinx/locale && tx pull -a -f --no-interactive --parallel
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
- name: Compile message catalogs
- run: python setup.py compile_catalog
+ run: python utils/babel_runner.py compile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
diff --git a/CHANGES b/CHANGES
index 9aab021a1..e192045e7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -86,6 +86,8 @@ Bugs fixed
bulding texinfo document
* #10000: LaTeX: glossary terms with common definition are rendered with
too much vertical whitespace
+* #10188: LaTeX: alternating multiply referred footnotes produce a ``?`` in
+ pdf output
* #10318: ``:prepend:`` option of :rst:dir:`literalinclude` directive does not
work with ``:dedent:`` option
diff --git a/doc/conf.py b/doc/conf.py
index af84b2f5d..8da5f4b16 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -148,9 +148,9 @@ def linkify_issues_in_changelog(app, docname, source):
# this path trickery is needed because this script can
# be invoked with different working directories:
# * running make in docs/
- # * running python setup.py build_sphinx in the repo root dir
+ # * running tox -e docs in the repo root dir
- with open(changelog_path) as f:
+ with open(changelog_path, encoding="utf-8") as f:
changelog = f.read()
def linkify(match):
diff --git a/doc/internals/contributing.rst b/doc/internals/contributing.rst
index 8c74d1b10..f6ba5146a 100644
--- a/doc/internals/contributing.rst
+++ b/doc/internals/contributing.rst
@@ -252,17 +252,19 @@ locales. The translations are kept as gettext ``.po`` files translated from the
master template :file:`sphinx/locale/sphinx.pot`.
Sphinx uses `Babel `_ to extract messages
-and maintain the catalog files. It is integrated in ``setup.py``:
+and maintain the catalog files. The ``utils`` directory contains a helper
+script, ``babel_runner.py``.
-* Use ``python setup.py extract_messages`` to update the ``.pot`` template.
-* Use ``python setup.py update_catalog`` to update all existing language
+* Use ``python babel_runner.py extract`` to update the ``.pot`` template.
+* Use ``python babel_runner.py update`` to update all existing language
catalogs in ``sphinx/locale/*/LC_MESSAGES`` with the current messages in the
template file.
-* Use ``python setup.py compile_catalog`` to compile the ``.po`` files to binary
+* Use ``python babel_runner.py compile`` to compile the ``.po`` files to binary
``.mo`` files and ``.js`` files.
-When an updated ``.po`` file is submitted, run compile_catalog to commit both
-the source and the compiled catalogs.
+When an updated ``.po`` file is submitted, run
+``python babel_runner.py compile`` to commit both the source and the compiled
+catalogs.
When a new locale is submitted, add a new directory with the ISO 639-1 language
identifier and put ``sphinx.po`` in there. Don't forget to update the possible
@@ -273,9 +275,9 @@ The Sphinx core messages can also be translated on `Transifex
which is provided by the ``transifex_client`` Python package, can be used to
pull translations in ``.po`` format from Transifex. To do this, go to
``sphinx/locale`` and then run ``tx pull -f -l LANG`` where ``LANG`` is an
-existing language identifier. It is good practice to run ``python setup.py
-update_catalog`` afterwards to make sure the ``.po`` file has the canonical
-Babel formatting.
+existing language identifier. It is good practice to run
+``python babel_runner.py update`` afterwards to make sure the ``.po`` file has the
+canonical Babel formatting.
Debugging tips
diff --git a/setup.cfg b/setup.cfg
index 598b4e823..bc8f14998 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -9,23 +9,6 @@ tag_date = true
release = egg_info -Db ''
upload = upload --sign --identity=36580288
-[build_sphinx]
-warning-is-error = 1
-
-[extract_messages]
-mapping_file = babel.cfg
-output_file = sphinx/locale/sphinx.pot
-keywords = _ __ l_ lazy_gettext
-
-[update_catalog]
-input_file = sphinx/locale/sphinx.pot
-domain = sphinx
-output_dir = sphinx/locale/
-
-[compile_catalog]
-domain = sphinx
-directory = sphinx/locale/
-
[flake8]
max-line-length = 95
ignore = E116,E241,E251,E741,W504,I101
diff --git a/setup.py b/setup.py
index ccadd59f4..860aae57e 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,4 @@
-import os
import sys
-from io import StringIO
from setuptools import find_packages, setup
@@ -57,120 +55,6 @@ extras_require = {
],
}
-# Provide a "compile_catalog" command that also creates the translated
-# JavaScript files if Babel is available.
-
-cmdclass = {}
-
-
-class Tee:
- def __init__(self, stream):
- self.stream = stream
- self.buffer = StringIO()
-
- def write(self, s):
- self.stream.write(s)
- self.buffer.write(s)
-
- def flush(self):
- self.stream.flush()
-
-
-try:
- from json import dump
-
- from babel.messages.frontend import compile_catalog
- from babel.messages.pofile import read_po
-except ImportError:
- pass
-else:
- class compile_catalog_plusjs(compile_catalog):
- """
- An extended command that writes all message strings that occur in
- JavaScript files to a JavaScript file along with the .mo file.
-
- Unfortunately, babel's setup command isn't built very extensible, so
- most of the run() code is duplicated here.
- """
-
- def run(self):
- try:
- sys.stderr = Tee(sys.stderr)
- compile_catalog.run(self)
- finally:
- if sys.stderr.buffer.getvalue():
- print("Compiling failed.")
- sys.exit(1)
-
- if isinstance(self.domain, list):
- for domain in self.domain:
- self._run_domain_js(domain)
- else:
- self._run_domain_js(self.domain)
-
- def _run_domain_js(self, domain):
- po_files = []
- js_files = []
-
- if not self.input_file:
- if self.locale:
- po_files.append((self.locale,
- os.path.join(self.directory, self.locale,
- 'LC_MESSAGES',
- domain + '.po')))
- js_files.append(os.path.join(self.directory, self.locale,
- 'LC_MESSAGES',
- domain + '.js'))
- else:
- for locale in os.listdir(self.directory):
- po_file = os.path.join(self.directory, locale,
- 'LC_MESSAGES',
- domain + '.po')
- if os.path.exists(po_file):
- po_files.append((locale, po_file))
- js_files.append(os.path.join(self.directory, locale,
- 'LC_MESSAGES',
- domain + '.js'))
- else:
- po_files.append((self.locale, self.input_file))
- if self.output_file:
- js_files.append(self.output_file)
- else:
- js_files.append(os.path.join(self.directory, self.locale,
- 'LC_MESSAGES',
- domain + '.js'))
-
- for js_file, (locale, po_file) in zip(js_files, po_files):
- with open(po_file, encoding='utf8') as infile:
- catalog = read_po(infile, locale)
-
- if catalog.fuzzy and not self.use_fuzzy:
- continue
-
- self.log.info('writing JavaScript strings in catalog %r to %r',
- po_file, js_file)
-
- jscatalog = {}
- for message in catalog:
- if any(x[0].endswith(('.js', '.js_t', '.html'))
- for x in message.locations):
- msgid = message.id
- if isinstance(msgid, (list, tuple)):
- msgid = msgid[0]
- jscatalog[msgid] = message.string
-
- with open(js_file, 'wt', encoding='utf8') as outfile:
- outfile.write('Documentation.addTranslations(')
- dump({
- 'messages': jscatalog,
- 'plural_expr': catalog.plural_expr,
- 'locale': str(catalog.locale)
- }, outfile, sort_keys=True, indent=4)
- outfile.write(');')
-
- cmdclass['compile_catalog'] = compile_catalog_plusjs
-
-
setup(
name='Sphinx',
version=sphinx.__version__,
@@ -246,5 +130,4 @@ setup(
python_requires=">=3.6",
install_requires=install_requires,
extras_require=extras_require,
- cmdclass=cmdclass,
)
diff --git a/sphinx/locale/ar/LC_MESSAGES/sphinx.mo b/sphinx/locale/ar/LC_MESSAGES/sphinx.mo
index bf0856b16..36cf1b9ba 100644
Binary files a/sphinx/locale/ar/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ar/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ar/LC_MESSAGES/sphinx.po b/sphinx/locale/ar/LC_MESSAGES/sphinx.po
index 4e14351cd..d487464dc 100644
--- a/sphinx/locale/ar/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ar/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Abdullah ahmed , 2020\n"
"Language-Team: Arabic (http://www.transifex.com/sphinx-doc/sphinx-1/language/ar/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/bg/LC_MESSAGES/sphinx.mo b/sphinx/locale/bg/LC_MESSAGES/sphinx.mo
index 20dd5104e..16a807e03 100644
Binary files a/sphinx/locale/bg/LC_MESSAGES/sphinx.mo and b/sphinx/locale/bg/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/bg/LC_MESSAGES/sphinx.po b/sphinx/locale/bg/LC_MESSAGES/sphinx.po
index e5031707c..4ae429a3f 100644
--- a/sphinx/locale/bg/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/bg/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Bulgarian (http://www.transifex.com/sphinx-doc/sphinx-1/language/bg/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/bn/LC_MESSAGES/sphinx.mo b/sphinx/locale/bn/LC_MESSAGES/sphinx.mo
index 530d121b2..e37dcc331 100644
Binary files a/sphinx/locale/bn/LC_MESSAGES/sphinx.mo and b/sphinx/locale/bn/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/bn/LC_MESSAGES/sphinx.po b/sphinx/locale/bn/LC_MESSAGES/sphinx.po
index 206ef7032..ce0725330 100644
--- a/sphinx/locale/bn/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/bn/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FIRST AUTHOR , 2009\n"
"Language-Team: Bengali (http://www.transifex.com/sphinx-doc/sphinx-1/language/bn/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr "C API পরিবর্তন"
msgid "Other changes"
msgstr "অন্যান্য পরিবর্তন"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "অনুসন্ধানের ম্যাচগুলো লুকান"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr "পাদটীকা"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.mo b/sphinx/locale/ca/LC_MESSAGES/sphinx.mo
index ca9b3844b..f38a491ad 100644
Binary files a/sphinx/locale/ca/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ca/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.po b/sphinx/locale/ca/LC_MESSAGES/sphinx.po
index b3da8444e..47348f61d 100644
--- a/sphinx/locale/ca/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ca/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FIRST AUTHOR , 2009\n"
"Language-Team: Catalan (http://www.transifex.com/sphinx-doc/sphinx-1/language/ca/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr "Canvis a la API de C"
msgid "Other changes"
msgstr "Altres canvis"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Oculta Resultats de Cerca"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/cak/LC_MESSAGES/sphinx.mo b/sphinx/locale/cak/LC_MESSAGES/sphinx.mo
index 8876d7f39..87ffa645e 100644
Binary files a/sphinx/locale/cak/LC_MESSAGES/sphinx.mo and b/sphinx/locale/cak/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/cak/LC_MESSAGES/sphinx.po b/sphinx/locale/cak/LC_MESSAGES/sphinx.po
index 0f7cbef2f..fc4052cc2 100644
--- a/sphinx/locale/cak/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/cak/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Julien Malard , 2019\n"
"Language-Team: Kaqchikel (http://www.transifex.com/sphinx-doc/sphinx-1/language/cak/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/cs/LC_MESSAGES/sphinx.mo b/sphinx/locale/cs/LC_MESSAGES/sphinx.mo
index 98ff1bdac..ac1522f08 100644
Binary files a/sphinx/locale/cs/LC_MESSAGES/sphinx.mo and b/sphinx/locale/cs/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/cs/LC_MESSAGES/sphinx.po b/sphinx/locale/cs/LC_MESSAGES/sphinx.po
index 3177f5ac8..a0935070e 100644
--- a/sphinx/locale/cs/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/cs/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Vilibald W. , 2014-2015\n"
"Language-Team: Czech (http://www.transifex.com/sphinx-doc/sphinx-1/language/cs/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr "Změny API"
msgid "Other changes"
msgstr "Ostatní změny"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Skrýt výsledky vyhledávání"
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Poznámky pod čarou"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/cy/LC_MESSAGES/sphinx.mo b/sphinx/locale/cy/LC_MESSAGES/sphinx.mo
index 2a90dc720..28577ba36 100644
Binary files a/sphinx/locale/cy/LC_MESSAGES/sphinx.mo and b/sphinx/locale/cy/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/cy/LC_MESSAGES/sphinx.po b/sphinx/locale/cy/LC_MESSAGES/sphinx.po
index d5117877e..ef44c0314 100644
--- a/sphinx/locale/cy/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/cy/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Geraint Palmer , 2016\n"
"Language-Team: Welsh (http://www.transifex.com/sphinx-doc/sphinx-1/language/cy/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr "Newidiadau i'r C-API"
msgid "Other changes"
msgstr "Newidiadau arall"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Cuddio Canlyniadau Chwilio"
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Troednodiadau"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/da/LC_MESSAGES/sphinx.mo b/sphinx/locale/da/LC_MESSAGES/sphinx.mo
index a58a46b41..6d257a5f1 100644
Binary files a/sphinx/locale/da/LC_MESSAGES/sphinx.mo and b/sphinx/locale/da/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/da/LC_MESSAGES/sphinx.po b/sphinx/locale/da/LC_MESSAGES/sphinx.po
index be4b1eae8..80ab68ecc 100644
--- a/sphinx/locale/da/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/da/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Takeshi KOMIYA , 2021\n"
"Language-Team: Danish (http://www.transifex.com/sphinx-doc/sphinx-1/language/da/)\n"
@@ -2062,7 +2062,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3423,7 +3423,7 @@ msgstr "Ændringer i C-API"
msgid "Other changes"
msgstr "Andre ændringer"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Skjul søgeresultater"
@@ -3666,17 +3666,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Fodnoter"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/de/LC_MESSAGES/sphinx.mo b/sphinx/locale/de/LC_MESSAGES/sphinx.mo
index d9293ff5c..5993ad733 100644
Binary files a/sphinx/locale/de/LC_MESSAGES/sphinx.mo and b/sphinx/locale/de/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/de/LC_MESSAGES/sphinx.po b/sphinx/locale/de/LC_MESSAGES/sphinx.po
index eb32654fd..4d19d7d45 100644
--- a/sphinx/locale/de/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/de/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Jean-François B. , 2018\n"
"Language-Team: German (http://www.transifex.com/sphinx-doc/sphinx-1/language/de/)\n"
@@ -2062,7 +2062,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3423,7 +3423,7 @@ msgstr "C API-Änderungen"
msgid "Other changes"
msgstr "Andere Änderungen"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Suchergebnisse ausblenden"
@@ -3666,17 +3666,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Fußnoten"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.mo b/sphinx/locale/el/LC_MESSAGES/sphinx.mo
index 971fe2ff1..55398c78c 100644
Binary files a/sphinx/locale/el/LC_MESSAGES/sphinx.mo and b/sphinx/locale/el/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.po b/sphinx/locale/el/LC_MESSAGES/sphinx.po
index bcc237356..f74dde14a 100644
--- a/sphinx/locale/el/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/el/LC_MESSAGES/sphinx.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Takeshi KOMIYA , 2021\n"
"Language-Team: Greek (http://www.transifex.com/sphinx-doc/sphinx-1/language/el/)\n"
@@ -2061,7 +2061,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "διπλότυπη ετικέτα της εξίσωσης %s, άλλη εμφάνιση στο %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "Ανέγκυρο math_eqref_format: %r"
@@ -3422,7 +3422,7 @@ msgstr "Αλλαγές στο API της C"
msgid "Other changes"
msgstr "Άλλες αλλαγές"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Απόκρυψη Ευρεθέντων Αναζητήσεων"
@@ -3665,17 +3665,17 @@ msgstr "ο ανακαλυφθέν τίτλος κόμβος δεν βρίσκε
msgid "Footnotes"
msgstr "Σημειώσεις υποσέλιδου"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "τόσο η επιλογή για tabularcolumns όσο και για :widths: δίνονται. Η επιλογή :widths: θα αγνοηθεί."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "η μονάδα διάστασης %s δεν είναι έγκυρη. Θα αγνοηθεί."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "βρέθηκε άγνωστος τύπος εγγραφής ευρετηρίου %s"
diff --git a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo
index 1e18dcc6f..411f2c7b1 100644
Binary files a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo and b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po
index abd4c0c87..b75f4ad82 100644
--- a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: English (France) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_FR/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo
index e583ddd16..98bbe1d6f 100644
Binary files a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo and b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po
index 94c0317c0..2136d82ea 100644
--- a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Adam Turner, 2022\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_GB/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo
index 782a54bf6..70f1887cd 100644
Binary files a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo and b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po
index 0d0d53e40..99f4a666e 100644
--- a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: English (Hong Kong) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_HK/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/eo/LC_MESSAGES/sphinx.mo b/sphinx/locale/eo/LC_MESSAGES/sphinx.mo
index b9a2e31be..8d64f0edc 100644
Binary files a/sphinx/locale/eo/LC_MESSAGES/sphinx.mo and b/sphinx/locale/eo/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/eo/LC_MESSAGES/sphinx.po b/sphinx/locale/eo/LC_MESSAGES/sphinx.po
index 9e73552bc..2bb6b6cc8 100644
--- a/sphinx/locale/eo/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/eo/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Tatsuro YOKOTA , 2021\n"
"Language-Team: Esperanto (http://www.transifex.com/sphinx-doc/sphinx-1/language/eo/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/es/LC_MESSAGES/sphinx.mo b/sphinx/locale/es/LC_MESSAGES/sphinx.mo
index ea197352b..76222cafe 100644
Binary files a/sphinx/locale/es/LC_MESSAGES/sphinx.mo and b/sphinx/locale/es/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/es/LC_MESSAGES/sphinx.po b/sphinx/locale/es/LC_MESSAGES/sphinx.po
index 71fa8b59c..18f66da74 100644
--- a/sphinx/locale/es/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/es/LC_MESSAGES/sphinx.po
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Takeshi KOMIYA , 2016,2021\n"
"Language-Team: Spanish (http://www.transifex.com/sphinx-doc/sphinx-1/language/es/)\n"
@@ -2065,7 +2065,7 @@ msgstr "duplicada %s descripción de %s, otra %s en %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "etiqueta duplicada de la ecuación %s, otra instancia en %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "No válido math_eqref_format: %r"
@@ -3426,7 +3426,7 @@ msgstr "Cambios en la API C"
msgid "Other changes"
msgstr "Otros cambios"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Ocultar coincidencias de la búsqueda"
@@ -3669,17 +3669,17 @@ msgstr "no se encontró el nodo de título en la sección, tema, tabla, adverten
msgid "Footnotes"
msgstr "Notas a pie de página"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "ambas columnas tabulares y la opción :widths: se dan. La opción :widths: se ignora."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "la unidad de dimensión %s no es válida. Ignorado."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "tipo de entrada de índice desconocido %s encontrado"
diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.mo b/sphinx/locale/et/LC_MESSAGES/sphinx.mo
index 68259b273..e69a872f6 100644
Binary files a/sphinx/locale/et/LC_MESSAGES/sphinx.mo and b/sphinx/locale/et/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.po b/sphinx/locale/et/LC_MESSAGES/sphinx.po
index 189b78364..a12ad0a7d 100644
--- a/sphinx/locale/et/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/et/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Ivar Smolin , 2013-2022\n"
"Language-Team: Estonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/et/)\n"
@@ -2062,7 +2062,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "võrrandil %s on topeltsilt, teine instants on %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "Vigane math_eqref_format: %r"
@@ -3423,7 +3423,7 @@ msgstr "C API muutused"
msgid "Other changes"
msgstr "Ülejäänud muutused"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Varja otsingu tulemused"
@@ -3666,17 +3666,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Joonealused märkused"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/eu/LC_MESSAGES/sphinx.mo b/sphinx/locale/eu/LC_MESSAGES/sphinx.mo
index 7484bf88f..d48446064 100644
Binary files a/sphinx/locale/eu/LC_MESSAGES/sphinx.mo and b/sphinx/locale/eu/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/eu/LC_MESSAGES/sphinx.po b/sphinx/locale/eu/LC_MESSAGES/sphinx.po
index ceedf27de..8ac23fbf4 100644
--- a/sphinx/locale/eu/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/eu/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Asier Iturralde Sarasola , 2018\n"
"Language-Team: Basque (http://www.transifex.com/sphinx-doc/sphinx-1/language/eu/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr "C API aldaketak"
msgid "Other changes"
msgstr "Beste aldaketak"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Bilaketa bat-etortzeak ezkutatu"
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Oin-oharrak"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/fa/LC_MESSAGES/sphinx.mo b/sphinx/locale/fa/LC_MESSAGES/sphinx.mo
index 9061628eb..0a15757f8 100644
Binary files a/sphinx/locale/fa/LC_MESSAGES/sphinx.mo and b/sphinx/locale/fa/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/fa/LC_MESSAGES/sphinx.po b/sphinx/locale/fa/LC_MESSAGES/sphinx.po
index 2108d330a..f5dc1f6e3 100644
--- a/sphinx/locale/fa/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/fa/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Hadi F , 2020-2021\n"
"Language-Team: Persian (http://www.transifex.com/sphinx-doc/sphinx-1/language/fa/)\n"
@@ -2062,7 +2062,7 @@ msgstr "توضیح %s تکراری از %s، مورد دیگر%s در %s قرا
msgid "duplicate label of equation %s, other instance in %s"
msgstr "بر چسب معادله ی %s تکرار است، مورد دیگر در %s قرار دارد"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "قالب مرجع معادلهی ریاضی (math_eqref_format) نامعتبر: %r"
@@ -3423,7 +3423,7 @@ msgstr "C API تغییرات"
msgid "Other changes"
msgstr "دگر تغییرات"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "عدم نمایش نتایج یافت شده"
@@ -3666,17 +3666,17 @@ msgstr "به بست عنوانی برخورد که در قسمت، موضوع،
msgid "Footnotes"
msgstr "پانویس ها"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "هر دو مقدار tabularcolumns و :widths: داده شده، بنابراین :widths: حذف می شود."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "ابعاد واحد %sنامعتبر است و نادیده گرفته شد."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "نوع ناشناخته مدخل نمایه%s پیدا شد"
diff --git a/sphinx/locale/fi/LC_MESSAGES/sphinx.mo b/sphinx/locale/fi/LC_MESSAGES/sphinx.mo
index 8241eaf1b..00464da17 100644
Binary files a/sphinx/locale/fi/LC_MESSAGES/sphinx.mo and b/sphinx/locale/fi/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/fi/LC_MESSAGES/sphinx.po b/sphinx/locale/fi/LC_MESSAGES/sphinx.po
index 28284a95a..c68b7031f 100644
--- a/sphinx/locale/fi/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/fi/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FIRST AUTHOR , 2009\n"
"Language-Team: Finnish (http://www.transifex.com/sphinx-doc/sphinx-1/language/fi/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Piilota löydetyt"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/fr/LC_MESSAGES/sphinx.mo b/sphinx/locale/fr/LC_MESSAGES/sphinx.mo
index bf0eae4ab..f70f5a859 100644
Binary files a/sphinx/locale/fr/LC_MESSAGES/sphinx.mo and b/sphinx/locale/fr/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/fr/LC_MESSAGES/sphinx.po b/sphinx/locale/fr/LC_MESSAGES/sphinx.po
index 77996ec4f..98a201d4a 100644
--- a/sphinx/locale/fr/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/fr/LC_MESSAGES/sphinx.po
@@ -34,7 +34,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: David Georges, 2021\n"
"Language-Team: French (http://www.transifex.com/sphinx-doc/sphinx-1/language/fr/)\n"
@@ -2085,7 +2085,7 @@ msgstr "description de %s dupliquée pour%s; l'autre %s se trouve dans %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "Libellé dupliqué pour l'équation %s, autre instance dans %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "math_eqref_format invalide : %r"
@@ -3446,7 +3446,7 @@ msgstr "Modifications de l'API C"
msgid "Other changes"
msgstr "Autres modifications"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Cacher les résultats de la recherche"
@@ -3689,17 +3689,17 @@ msgstr "le titre de node rencontré n'est apparenté à aucun parmi section, top
msgid "Footnotes"
msgstr "Notes de bas de page"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "options tabularcolumns et :widths: simultanément présentes. :widths: sera ignoré."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "%s est invalide comme unité de dimension. Ignoré."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "le type inconnu d’entrée d’index %s a été trouvé"
diff --git a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo
index 9f34c4c47..dc10257f4 100644
Binary files a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo and b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po
index 869d29a27..d7baa399b 100644
--- a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: French (France) (http://www.transifex.com/sphinx-doc/sphinx-1/language/fr_FR/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/he/LC_MESSAGES/sphinx.mo b/sphinx/locale/he/LC_MESSAGES/sphinx.mo
index 9e604af09..40d8d58fa 100644
Binary files a/sphinx/locale/he/LC_MESSAGES/sphinx.mo and b/sphinx/locale/he/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/he/LC_MESSAGES/sphinx.po b/sphinx/locale/he/LC_MESSAGES/sphinx.po
index a26bd57fd..7dc76312e 100644
--- a/sphinx/locale/he/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/he/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FIRST AUTHOR , 2011\n"
"Language-Team: Hebrew (http://www.transifex.com/sphinx-doc/sphinx-1/language/he/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr "שינויים אחרים"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "הסתר תוצאות חיפוש"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr "הערות שוליים"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/hi/LC_MESSAGES/sphinx.mo b/sphinx/locale/hi/LC_MESSAGES/sphinx.mo
index f28238602..1ea0340dd 100644
Binary files a/sphinx/locale/hi/LC_MESSAGES/sphinx.mo and b/sphinx/locale/hi/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/hi/LC_MESSAGES/sphinx.po b/sphinx/locale/hi/LC_MESSAGES/sphinx.po
index 2ce4dcf28..e887350f5 100644
--- a/sphinx/locale/hi/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/hi/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Sumanjali Damarla , 2020\n"
"Language-Team: Hindi (http://www.transifex.com/sphinx-doc/sphinx-1/language/hi/)\n"
@@ -2062,7 +2062,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "समीकरण का प्रतिरूप शीर्षक %s, दूसरी प्रतिकृति %s में है "
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "अमान्य math_eqref_format: %r"
@@ -3423,7 +3423,7 @@ msgstr "सी ऐ.पी.आई. परिवर्तन"
msgid "Other changes"
msgstr "अन्य परिवर्तन"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "खोजे गए जोड़े छिपाएं"
@@ -3666,17 +3666,17 @@ msgstr "पाया गया शीर्ष बिंदु किसी भ
msgid "Footnotes"
msgstr "पाद टिप्पणियां"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "दोनों तालिका-स्तंभ और :चौड़ाई: विकल्प दिए गए हैं. :चौड़ाई: मान की उपेक्षा की जाएगी."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "परिमाण मात्रक %s अमान्य है. उपेक्षा की जाएगी."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "अनुक्रमणिका की प्रविष्टि का प्रकार %s मिला"
diff --git a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo
index c8685bc4d..bcb6fed65 100644
Binary files a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo and b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po
index 0e15083aa..d37a41a69 100644
--- a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Hindi (India) (http://www.transifex.com/sphinx-doc/sphinx-1/language/hi_IN/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.mo b/sphinx/locale/hr/LC_MESSAGES/sphinx.mo
index b74b28b74..46235f7fc 100644
Binary files a/sphinx/locale/hr/LC_MESSAGES/sphinx.mo and b/sphinx/locale/hr/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.po b/sphinx/locale/hr/LC_MESSAGES/sphinx.po
index b0e55ff50..823829049 100644
--- a/sphinx/locale/hr/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/hr/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Mario Šarić, 2015-2020\n"
"Language-Team: Croatian (http://www.transifex.com/sphinx-doc/sphinx-1/language/hr/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "dvostruka oznaka jednakosti %s, drugo pojavljivanje u %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr "C API promjene"
msgid "Other changes"
msgstr "Ostale promjene"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Sakrij rezultate pretrage"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Fusnote"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.mo b/sphinx/locale/hu/LC_MESSAGES/sphinx.mo
index f8f06febe..48d7cb020 100644
Binary files a/sphinx/locale/hu/LC_MESSAGES/sphinx.mo and b/sphinx/locale/hu/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.po b/sphinx/locale/hu/LC_MESSAGES/sphinx.po
index 78fe97a60..9ce1b7489 100644
--- a/sphinx/locale/hu/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/hu/LC_MESSAGES/sphinx.po
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Balázs Úr, 2020\n"
"Language-Team: Hungarian (http://www.transifex.com/sphinx-doc/sphinx-1/language/hu/)\n"
@@ -2064,7 +2064,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3425,7 +3425,7 @@ msgstr "C API változások"
msgid "Other changes"
msgstr "Egyéb változások"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Keresési Találatok Elrejtése"
@@ -3668,17 +3668,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Lábjegyzetek"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/id/LC_MESSAGES/sphinx.mo b/sphinx/locale/id/LC_MESSAGES/sphinx.mo
index 0b26e4ebb..9f590a796 100644
Binary files a/sphinx/locale/id/LC_MESSAGES/sphinx.mo and b/sphinx/locale/id/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/id/LC_MESSAGES/sphinx.po b/sphinx/locale/id/LC_MESSAGES/sphinx.po
index d9bc4b2b3..8870e6b40 100644
--- a/sphinx/locale/id/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/id/LC_MESSAGES/sphinx.po
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: oon arfiandwi , 2019-2020\n"
"Language-Team: Indonesian (http://www.transifex.com/sphinx-doc/sphinx-1/language/id/)\n"
@@ -2063,7 +2063,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "duplikasi label persamaan %s, misalnya di %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "Math_eqref_format tidak valid: %r"
@@ -3424,7 +3424,7 @@ msgstr "Perubahan API C"
msgid "Other changes"
msgstr "Perubahan lain"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Sembunyikan Hasil Pencarian"
@@ -3667,17 +3667,17 @@ msgstr "simpul judul tidak ditemui dalam bagian, topik, tabel, peringatan atau s
msgid "Footnotes"
msgstr "Catatan kaki"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "opsi tabularcolumns dan :widths: opsi diberikan bersamaan. :widths: diabaikan."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "unit dimensi %s tidak valid. Diabaikan"
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "entri indeks tidak diketahui ditemukan tipe %s"
diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.mo b/sphinx/locale/is/LC_MESSAGES/sphinx.mo
index 5ab564c81..5018d1b4c 100644
Binary files a/sphinx/locale/is/LC_MESSAGES/sphinx.mo and b/sphinx/locale/is/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.po b/sphinx/locale/is/LC_MESSAGES/sphinx.po
index 689c3364b..5a56ece63 100644
--- a/sphinx/locale/is/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/is/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Tryggvi Kalman , 2021\n"
"Language-Team: Icelandic (http://www.transifex.com/sphinx-doc/sphinx-1/language/is/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Fela leitarniðurstöður"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/it/LC_MESSAGES/sphinx.mo b/sphinx/locale/it/LC_MESSAGES/sphinx.mo
index 27d52cd3c..c1b9adefe 100644
Binary files a/sphinx/locale/it/LC_MESSAGES/sphinx.mo and b/sphinx/locale/it/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/it/LC_MESSAGES/sphinx.po b/sphinx/locale/it/LC_MESSAGES/sphinx.po
index fd405f1f7..690a25292 100644
--- a/sphinx/locale/it/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/it/LC_MESSAGES/sphinx.po
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Denis Cappellin , 2018\n"
"Language-Team: Italian (http://www.transifex.com/sphinx-doc/sphinx-1/language/it/)\n"
@@ -2063,7 +2063,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "etichetta dell'equazione %s duplicata, altra istanza in %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3424,7 +3424,7 @@ msgstr "Modifiche nelle API C"
msgid "Other changes"
msgstr "Altre modifiche"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Nascondi i risultati della ricerca"
@@ -3667,17 +3667,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Note a piè di pagina"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ja/LC_MESSAGES/sphinx.mo b/sphinx/locale/ja/LC_MESSAGES/sphinx.mo
index 7e0e7f358..70a5d1c4b 100644
Binary files a/sphinx/locale/ja/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ja/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ja/LC_MESSAGES/sphinx.po b/sphinx/locale/ja/LC_MESSAGES/sphinx.po
index 990f0fe4d..13885ac41 100644
--- a/sphinx/locale/ja/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ja/LC_MESSAGES/sphinx.po
@@ -24,7 +24,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: KaKkouo, 2021\n"
"Language-Team: Japanese (http://www.transifex.com/sphinx-doc/sphinx-1/language/ja/)\n"
@@ -2075,7 +2075,7 @@ msgstr "%s の記述 %s はすでに %s で %s が使われています"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "数式 %s のラベルはすでに %s で使われています"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "無効な math_eqref_format: %r"
@@ -3436,7 +3436,7 @@ msgstr "C API に関する変更"
msgid "Other changes"
msgstr "その他の変更"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "検索結果を隠す"
@@ -3679,17 +3679,17 @@ msgstr "セクション、トピック、表、訓戒またはサイドバーに
msgid "Footnotes"
msgstr "注記"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "tabularcolumns と :widths: オプションの両方が設定されています。:widths: は無視されます。"
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "ディメンション単位 %s が無効です。無視されます。"
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "不明なインデックスエントリタイプ %s が見つかりました"
diff --git a/sphinx/locale/ko/LC_MESSAGES/sphinx.mo b/sphinx/locale/ko/LC_MESSAGES/sphinx.mo
index 59a070c2d..bd9010607 100644
Binary files a/sphinx/locale/ko/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ko/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ko/LC_MESSAGES/sphinx.po b/sphinx/locale/ko/LC_MESSAGES/sphinx.po
index c58145b13..1cfa73c4b 100644
--- a/sphinx/locale/ko/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ko/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: YT H , 2019-2022\n"
"Language-Team: Korean (http://www.transifex.com/sphinx-doc/sphinx-1/language/ko/)\n"
@@ -2060,7 +2060,7 @@ msgstr "중복된 %s 설명 (%s에 대한), 다른 항목은 %s (%s)에 있음"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "중복 레이블의 수식 %s, 다른 인스턴스는 %s에 있음"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "잘못된 math_eqref_format: %r"
@@ -3421,7 +3421,7 @@ msgstr "C API 변경 사항"
msgid "Other changes"
msgstr "다른 변경 사항"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "검색 일치 숨기기"
@@ -3664,17 +3664,17 @@ msgstr "구역, 주제, 표, 조언, 사이드바 안에 있지 않은 제목
msgid "Footnotes"
msgstr "각주"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "tabularcolumns와 :widths: 옵션이 모두 설정되었습니다. :widths:는 무시됩니다."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "치수 단위 %s이(가) 잘못되었습니다. 무시합니다."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "알 수 없는 색인 항목 유형 %s이(가) 발견됨"
diff --git a/sphinx/locale/lt/LC_MESSAGES/sphinx.mo b/sphinx/locale/lt/LC_MESSAGES/sphinx.mo
index 9dcb93452..b9b45f5f9 100644
Binary files a/sphinx/locale/lt/LC_MESSAGES/sphinx.mo and b/sphinx/locale/lt/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/lt/LC_MESSAGES/sphinx.po b/sphinx/locale/lt/LC_MESSAGES/sphinx.po
index deec4cc58..50930a821 100644
--- a/sphinx/locale/lt/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/lt/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: DALIUS DOBRAVOLSKAS , 2010\n"
"Language-Team: Lithuanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/lt/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr "C API pakeitimai"
msgid "Other changes"
msgstr "Kiti pakeitimai"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Paslėpti paieškos rezultatus"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Išnašos"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/lv/LC_MESSAGES/sphinx.mo b/sphinx/locale/lv/LC_MESSAGES/sphinx.mo
index 25919e4d1..54d052b86 100644
Binary files a/sphinx/locale/lv/LC_MESSAGES/sphinx.mo and b/sphinx/locale/lv/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/lv/LC_MESSAGES/sphinx.po b/sphinx/locale/lv/LC_MESSAGES/sphinx.po
index 3391d9bef..c79ce9b4c 100644
--- a/sphinx/locale/lv/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/lv/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Latvian (http://www.transifex.com/sphinx-doc/sphinx-1/language/lv/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr "Izmaiņas iekš C API"
msgid "Other changes"
msgstr "Citas izmaiņas"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Paslēpt atlases vārdus"
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Vēres"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/mk/LC_MESSAGES/sphinx.mo b/sphinx/locale/mk/LC_MESSAGES/sphinx.mo
index a5218f552..b71c8d99f 100644
Binary files a/sphinx/locale/mk/LC_MESSAGES/sphinx.mo and b/sphinx/locale/mk/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/mk/LC_MESSAGES/sphinx.po b/sphinx/locale/mk/LC_MESSAGES/sphinx.po
index 99c42c4fa..168789e28 100644
--- a/sphinx/locale/mk/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/mk/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Vasil Vangelovski , 2013\n"
"Language-Team: Macedonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/mk/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo
index 1035f0162..f4825f3ab 100644
Binary files a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo and b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po
index e518cb24c..b3f17163c 100644
--- a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/sphinx-doc/sphinx-1/language/nb_NO/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr "Endringer i C API"
msgid "Other changes"
msgstr "Andre endringer"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Skjul søkeresultat"
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Fotnoter"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ne/LC_MESSAGES/sphinx.mo b/sphinx/locale/ne/LC_MESSAGES/sphinx.mo
index a5d8d9fe0..48b460afb 100644
Binary files a/sphinx/locale/ne/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ne/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ne/LC_MESSAGES/sphinx.po b/sphinx/locale/ne/LC_MESSAGES/sphinx.po
index 8fe4661cd..b05efdf2e 100644
--- a/sphinx/locale/ne/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ne/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Takeshi KOMIYA , 2016\n"
"Language-Team: Nepali (http://www.transifex.com/sphinx-doc/sphinx-1/language/ne/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr "C API का परिवर्तनहरु "
msgid "Other changes"
msgstr "अरु परिवर्तनहरु "
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "खोजेको नतिजाहरु लुकाउनुहोस्"
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr "फूट्नोट्स"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/nl/LC_MESSAGES/sphinx.mo b/sphinx/locale/nl/LC_MESSAGES/sphinx.mo
index 23800c092..57471456a 100644
Binary files a/sphinx/locale/nl/LC_MESSAGES/sphinx.mo and b/sphinx/locale/nl/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/nl/LC_MESSAGES/sphinx.po b/sphinx/locale/nl/LC_MESSAGES/sphinx.po
index efd2f87ab..711f3a2a7 100644
--- a/sphinx/locale/nl/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/nl/LC_MESSAGES/sphinx.po
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Takeshi KOMIYA , 2021\n"
"Language-Team: Dutch (http://www.transifex.com/sphinx-doc/sphinx-1/language/nl/)\n"
@@ -2065,7 +2065,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "duplicaatlabel van formule %s, andere in %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3426,7 +3426,7 @@ msgstr "Veranderingen in de C-API"
msgid "Other changes"
msgstr "Andere veranderingen"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Zoekresultaten verbergen"
@@ -3669,17 +3669,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Voetnoten"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.mo b/sphinx/locale/pl/LC_MESSAGES/sphinx.mo
index 1429c06a0..bcb72f296 100644
Binary files a/sphinx/locale/pl/LC_MESSAGES/sphinx.mo and b/sphinx/locale/pl/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.po b/sphinx/locale/pl/LC_MESSAGES/sphinx.po
index c5e466576..1e5ed6591 100644
--- a/sphinx/locale/pl/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/pl/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: m_aciek , 2017-2020\n"
"Language-Team: Polish (http://www.transifex.com/sphinx-doc/sphinx-1/language/pl/)\n"
@@ -2062,7 +2062,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "zduplikowana etykieta równania %s, inne wystąpienie w %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "Nieprawidłowy math_eqref_format: %r"
@@ -3423,7 +3423,7 @@ msgstr "Zmiany w C API"
msgid "Other changes"
msgstr "Inne zmiany"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Ukryj wyniki wyszukiwania"
@@ -3666,17 +3666,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Przypisy"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "%s"
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/pt/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt/LC_MESSAGES/sphinx.mo
index e8b86dd39..eaa6417eb 100644
Binary files a/sphinx/locale/pt/LC_MESSAGES/sphinx.mo and b/sphinx/locale/pt/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/pt/LC_MESSAGES/sphinx.po b/sphinx/locale/pt/LC_MESSAGES/sphinx.po
index 6309199df..d805837e9 100644
--- a/sphinx/locale/pt/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/pt/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Portuguese (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo
index ac72225e1..38b46d87a 100644
Binary files a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo and b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po
index b819012b7..3ac59c005 100644
--- a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Rafael Fontenelle , 2019-2022\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt_BR/)\n"
@@ -2064,7 +2064,7 @@ msgstr "descrição duplicada de %s de %s, outro %s em %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "rótulo duplicado da equação %s, outra instância em %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "math_eqref_format inválido: %r"
@@ -3425,7 +3425,7 @@ msgstr "Alterações na API C"
msgid "Other changes"
msgstr "Outras alterações"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Esconder Resultados da Busca"
@@ -3668,17 +3668,17 @@ msgstr "nó de título encontrado não na section, topic, table, admonition ou s
msgid "Footnotes"
msgstr "Notas de rodapé"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "tabularcolumns e opção :widths: foram fornecidas. :widths: foi ignorada."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "a unidade de dimensão %s é inválida. Ignorada."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "tipo desconhecido de entrada de índice %s encontrado"
diff --git a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo
index c3aafe3a6..814e58bcf 100644
Binary files a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo and b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po
index d0306df50..1d09abc7d 100644
--- a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Takeshi KOMIYA , 2016\n"
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt_PT/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr "Alterações na API C"
msgid "Other changes"
msgstr "Outras alterações"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Esconder Resultados da Pesquisa"
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Notas de rodapé"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ro/LC_MESSAGES/sphinx.mo b/sphinx/locale/ro/LC_MESSAGES/sphinx.mo
index f5d53a799..a04a14aea 100644
Binary files a/sphinx/locale/ro/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ro/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ro/LC_MESSAGES/sphinx.po b/sphinx/locale/ro/LC_MESSAGES/sphinx.po
index 3dc4b9b3f..ea049b181 100644
--- a/sphinx/locale/ro/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ro/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Razvan Stefanescu , 2015-2017\n"
"Language-Team: Romanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/ro/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr "Schimbări în API C"
msgid "Other changes"
msgstr "Alte schimbări"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Ascunde Rezultatele Căutării"
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Note de subsol"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ru/LC_MESSAGES/sphinx.mo b/sphinx/locale/ru/LC_MESSAGES/sphinx.mo
index a962ecbc3..da67a756f 100644
Binary files a/sphinx/locale/ru/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ru/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ru/LC_MESSAGES/sphinx.po b/sphinx/locale/ru/LC_MESSAGES/sphinx.po
index 103b03be3..579d7002f 100644
--- a/sphinx/locale/ru/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ru/LC_MESSAGES/sphinx.po
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Il'ya , 2022\n"
"Language-Team: Russian (http://www.transifex.com/sphinx-doc/sphinx-1/language/ru/)\n"
@@ -2065,7 +2065,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr "повторяющаяся метка уравнения %s, также используется в %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3426,7 +3426,7 @@ msgstr "Изменения в API C"
msgid "Other changes"
msgstr "Другие изменения"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Снять выделение"
@@ -3669,17 +3669,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Сноски"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/si/LC_MESSAGES/sphinx.mo b/sphinx/locale/si/LC_MESSAGES/sphinx.mo
index 537ce6dc6..60d0c4107 100644
Binary files a/sphinx/locale/si/LC_MESSAGES/sphinx.mo and b/sphinx/locale/si/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/si/LC_MESSAGES/sphinx.po b/sphinx/locale/si/LC_MESSAGES/sphinx.po
index a3f7391f8..04e0b895d 100644
--- a/sphinx/locale/si/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/si/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: callkalpa , 2013\n"
"Language-Team: Sinhala (http://www.transifex.com/sphinx-doc/sphinx-1/language/si/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr "C API වෙනස්කම්"
msgid "Other changes"
msgstr "වෙනත් වෙනස්කම්"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.mo b/sphinx/locale/sk/LC_MESSAGES/sphinx.mo
index fafa58d1b..e2f39161e 100644
Binary files a/sphinx/locale/sk/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sk/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.po b/sphinx/locale/sk/LC_MESSAGES/sphinx.po
index 20bf9aa3a..28f5f5cde 100644
--- a/sphinx/locale/sk/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sk/LC_MESSAGES/sphinx.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Slavko , 2013-2019,2021\n"
"Language-Team: Slovak (http://www.transifex.com/sphinx-doc/sphinx-1/language/sk/)\n"
@@ -2061,7 +2061,7 @@ msgstr "duplicitný %s popis %s, ďalší výskyt%s v %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "duplicitná menovka vzorca %s, ďalší výskyt v %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "neplatný math_eqref_format: %r"
@@ -3422,7 +3422,7 @@ msgstr "Zmeny API C"
msgid "Other changes"
msgstr "Ostatné zmeny"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Skryť výsledky hľadania"
@@ -3665,17 +3665,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Poznámky pod čiarou"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "sú zadané obe, tabularcolumns aj voľba :widths:. :widths: je ignorované."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.mo b/sphinx/locale/sl/LC_MESSAGES/sphinx.mo
index 7bb5df947..0381cece0 100644
Binary files a/sphinx/locale/sl/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sl/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.po b/sphinx/locale/sl/LC_MESSAGES/sphinx.po
index 61f179881..e9d061db8 100644
--- a/sphinx/locale/sl/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sl/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Slovenian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sl/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr "C API spremembe"
msgid "Other changes"
msgstr "Ostale spremembe"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Skrij resultate iskanja"
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Opombe"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sphinx.pot b/sphinx/locale/sphinx.pot
index c2ab2218b..9251b7123 100644
--- a/sphinx/locale/sphinx.pot
+++ b/sphinx/locale/sphinx.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx 5.0.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -2076,7 +2076,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3439,7 +3439,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3679,16 +3679,16 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid "both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.mo b/sphinx/locale/sq/LC_MESSAGES/sphinx.mo
index 99dd0d65a..d48fdbb4f 100644
Binary files a/sphinx/locale/sq/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sq/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.po b/sphinx/locale/sq/LC_MESSAGES/sphinx.po
index 4be1d8ce7..25a5db6f1 100644
--- a/sphinx/locale/sq/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sq/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Besnik Bleta , 2021-2022\n"
"Language-Team: Albanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sq/)\n"
@@ -2059,7 +2059,7 @@ msgstr "përshkrim %s i përsëdytur i %s, tjetër %s në %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "etiketë e përsëdytur ekuacioni %s, instancë tjetër te %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "math_eqref_format i pavlefshëm: %r"
@@ -3420,7 +3420,7 @@ msgstr "Ndryshime API C"
msgid "Other changes"
msgstr "Ndryshime të tjera"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Fshih Përputhje Kërkimi"
@@ -3663,17 +3663,17 @@ msgstr "u has nyje titulli jo në ndarje, temë, tabelë, paralajmërim ose anë
msgid "Footnotes"
msgstr "Poshtëshënime"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "janë dhënë që të dyja mundësitë, “tabularcolumns” dhe “:widths:”. shpërfillet :widths:."
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "njësia e përmasave %s është e pavlefshme. U shpërfill."
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "u gjet lloj i panjohur %s zërash treguesi"
diff --git a/sphinx/locale/sr/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr/LC_MESSAGES/sphinx.mo
index 1d485d8a8..893452efb 100644
Binary files a/sphinx/locale/sr/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sr/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sr/LC_MESSAGES/sphinx.po b/sphinx/locale/sr/LC_MESSAGES/sphinx.po
index 02da474d8..7be0acb97 100644
--- a/sphinx/locale/sr/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sr/LC_MESSAGES/sphinx.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Vladimir Milovanović , 2020\n"
"Language-Team: Serbian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr/)\n"
@@ -2060,7 +2060,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3421,7 +3421,7 @@ msgstr ""
msgid "Other changes"
msgstr "Друге измене"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3664,17 +3664,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo
index 74cda45c0..c75862e7c 100644
Binary files a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po
index d44774d8d..ce21c698b 100644
--- a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Serbian (Latin) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr@latin/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo
index 53c78f005..f6c7ab8cf 100644
Binary files a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po
index 2d340942c..c7ed37332 100644
--- a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Serbian (Serbia) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr_RS/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/sv/LC_MESSAGES/sphinx.mo b/sphinx/locale/sv/LC_MESSAGES/sphinx.mo
index 93ae8915d..140cb3603 100644
Binary files a/sphinx/locale/sv/LC_MESSAGES/sphinx.mo and b/sphinx/locale/sv/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/sv/LC_MESSAGES/sphinx.po b/sphinx/locale/sv/LC_MESSAGES/sphinx.po
index 55fd6b4b7..8428525d0 100644
--- a/sphinx/locale/sv/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/sv/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Swedish (http://www.transifex.com/sphinx-doc/sphinx-1/language/sv/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr "Förändringar i C-API"
msgid "Other changes"
msgstr "Övriga förändringar"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Dölj Sökresultat"
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Fotnoter"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ta/LC_MESSAGES/sphinx.mo b/sphinx/locale/ta/LC_MESSAGES/sphinx.mo
index 94635d524..03c71e5c6 100644
Binary files a/sphinx/locale/ta/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ta/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ta/LC_MESSAGES/sphinx.po b/sphinx/locale/ta/LC_MESSAGES/sphinx.po
index 5b098d0f3..ab79da93e 100644
--- a/sphinx/locale/ta/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ta/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Julien Malard , 2019\n"
"Language-Team: Tamil (http://www.transifex.com/sphinx-doc/sphinx-1/language/ta/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/te/LC_MESSAGES/sphinx.mo b/sphinx/locale/te/LC_MESSAGES/sphinx.mo
index 058850cde..056971e95 100644
Binary files a/sphinx/locale/te/LC_MESSAGES/sphinx.mo and b/sphinx/locale/te/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/te/LC_MESSAGES/sphinx.po b/sphinx/locale/te/LC_MESSAGES/sphinx.po
index d139fc9bb..f6958a54c 100644
--- a/sphinx/locale/te/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/te/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Telugu (http://www.transifex.com/sphinx-doc/sphinx-1/language/te/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.mo b/sphinx/locale/tr/LC_MESSAGES/sphinx.mo
index 54ce0a4aa..7d706bf14 100644
Binary files a/sphinx/locale/tr/LC_MESSAGES/sphinx.mo and b/sphinx/locale/tr/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.po b/sphinx/locale/tr/LC_MESSAGES/sphinx.po
index 8045c6ae1..06c7577d2 100644
--- a/sphinx/locale/tr/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/tr/LC_MESSAGES/sphinx.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: BouRock, 2020\n"
"Language-Team: Turkish (http://www.transifex.com/sphinx-doc/sphinx-1/language/tr/)\n"
@@ -2062,7 +2062,7 @@ msgstr "kopya %s açıklamasına ait %s, diğer %s, %s içinde"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "%s denkleminin kopya etiketi, %s içindeki diğer örnek"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "Geçersiz math_eqref_format: %r"
@@ -3423,7 +3423,7 @@ msgstr "C API'sindeki değişiklikler"
msgid "Other changes"
msgstr "Diğer değişiklikler"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Arama Eşleşmelerini Gizle"
@@ -3666,17 +3666,17 @@ msgstr ""
msgid "Footnotes"
msgstr "Dipnotlar"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo
index b6198f672..e284df4ba 100644
Binary files a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo and b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po
index 949a2a123..5fab87abf 100644
--- a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Petro Sasnyk , 2009\n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/sphinx-doc/sphinx-1/language/uk_UA/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr "зміни C API"
msgid "Other changes"
msgstr "Інші зміни"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "Приховати співпадіння пошуку"
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/ur/LC_MESSAGES/sphinx.mo b/sphinx/locale/ur/LC_MESSAGES/sphinx.mo
index 4396ae8b7..520da2c48 100644
Binary files a/sphinx/locale/ur/LC_MESSAGES/sphinx.mo and b/sphinx/locale/ur/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/ur/LC_MESSAGES/sphinx.po b/sphinx/locale/ur/LC_MESSAGES/sphinx.po
index 293a7c6b5..fa47a058d 100644
--- a/sphinx/locale/ur/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/ur/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Urdu (http://www.transifex.com/sphinx-doc/sphinx-1/language/ur/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/vi/LC_MESSAGES/sphinx.mo b/sphinx/locale/vi/LC_MESSAGES/sphinx.mo
index 5923d395e..704f7b515 100644
Binary files a/sphinx/locale/vi/LC_MESSAGES/sphinx.mo and b/sphinx/locale/vi/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/vi/LC_MESSAGES/sphinx.po b/sphinx/locale/vi/LC_MESSAGES/sphinx.po
index 9cfeaaae4..1d5087b4e 100644
--- a/sphinx/locale/vi/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/vi/LC_MESSAGES/sphinx.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Hoat Le Van , 2014\n"
"Language-Team: Vietnamese (http://www.transifex.com/sphinx-doc/sphinx-1/language/vi/)\n"
@@ -2059,7 +2059,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3420,7 +3420,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3663,17 +3663,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.mo b/sphinx/locale/yue/LC_MESSAGES/sphinx.mo
index b13ec24d0..7a054f3ad 100644
Binary files a/sphinx/locale/yue/LC_MESSAGES/sphinx.mo and b/sphinx/locale/yue/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.po b/sphinx/locale/yue/LC_MESSAGES/sphinx.po
index 65b65be22..af78a576b 100644
--- a/sphinx/locale/yue/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/yue/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Cantonese (http://www.transifex.com/sphinx-doc/sphinx-1/language/yue/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo
index 2e0c72153..920138be7 100644
Binary files a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo and b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po
index c1e2d7366..df9573e26 100644
--- a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po
@@ -24,7 +24,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: JY3, 2022\n"
"Language-Team: Chinese (China) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_CN/)\n"
@@ -2075,7 +2075,7 @@ msgstr "对%s重复的描述 %s,其它的%s出现在 %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "重复的公式标签 %s,另一实例出现在 %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "无效的 math_eqref_format:%r"
@@ -3436,7 +3436,7 @@ msgstr "C API 更改"
msgid "Other changes"
msgstr "其他更改"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "隐藏搜索结果"
@@ -3679,17 +3679,17 @@ msgstr "在节、话题、表格、警示或边栏以外的位置发现标题节
msgid "Footnotes"
msgstr "脚注"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "给出了表格列和 :width:选项。:宽度:被忽略。"
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "无效的量纲单位 %s,已忽略。"
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "发现未知的索引条目类型 %s"
diff --git a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo
index b08eb0098..4ae6a5d4f 100644
Binary files a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo and b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po
index 8b7d182b2..4b805e3cb 100644
--- a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Chinese (Hong Kong) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_HK/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo
index 677cd881f..69a4446bc 100644
Binary files a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo and b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po
index 18b11246d..bbe0a7f94 100644
--- a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Chinese (Taiwan) (Big5) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_TW.Big5/)\n"
@@ -2058,7 +2058,7 @@ msgstr ""
msgid "duplicate label of equation %s, other instance in %s"
msgstr ""
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr ""
@@ -3419,7 +3419,7 @@ msgstr ""
msgid "Other changes"
msgstr ""
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr ""
@@ -3662,17 +3662,17 @@ msgstr ""
msgid "Footnotes"
msgstr ""
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr ""
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr ""
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr ""
diff --git a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo
index 52e9dfc01..2e8b6f5c7 100644
Binary files a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo and b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo differ
diff --git a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po
index 127942963..f27b1f103 100644
--- a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2022-04-10 00:16+0000\n"
+"POT-Creation-Date: 2022-04-17 00:18+0000\n"
"PO-Revision-Date: 2013-04-02 08:44+0000\n"
"Last-Translator: Steven Hsu , 2021\n"
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_TW/)\n"
@@ -2066,7 +2066,7 @@ msgstr "%s 的重複 %s 敘述,其他的 %s 在 %s"
msgid "duplicate label of equation %s, other instance in %s"
msgstr "重複公式標籤 %s,亦出現於 %s"
-#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2027
+#: sphinx/domains/math.py:111 sphinx/writers/latex.py:2023
#, python-format
msgid "Invalid math_eqref_format: %r"
msgstr "無效的 math_eqref_format: %r"
@@ -3427,7 +3427,7 @@ msgstr "C API 的變更"
msgid "Other changes"
msgstr "其他變更"
-#: sphinx/themes/basic/static/doctools.js:155
+#: sphinx/themes/basic/static/doctools.js:153
msgid "Hide Search Matches"
msgstr "隱藏符合搜尋"
@@ -3670,17 +3670,17 @@ msgstr "遇到的標題節點不是在段落、主題、表格、警告或側邊
msgid "Footnotes"
msgstr "註腳"
-#: sphinx/writers/latex.py:863
+#: sphinx/writers/latex.py:861
msgid ""
"both tabularcolumns and :widths: option are given. :widths: is ignored."
msgstr "同時被給予 tabularcolumns 及 :widths: 選項。 :widths: 已略過。"
-#: sphinx/writers/latex.py:1194
+#: sphinx/writers/latex.py:1192
#, python-format
msgid "dimension unit %s is invalid. Ignored."
msgstr "維度單位 %s 是無效的。已略過。"
-#: sphinx/writers/latex.py:1507
+#: sphinx/writers/latex.py:1505
#, python-format
msgid "unknown index entry type %s found"
msgstr "找到了未知的索引條目型別 %s"
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index 6c9f1606e..1f7eb1bd0 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -298,18 +298,11 @@
%% FOOTNOTES
%
% Support scopes for footnote numbering
+% This is currently stepped at each input file
\newcounter{sphinxscope}
\newcommand{\sphinxstepscope}{\stepcounter{sphinxscope}}
-% Some footnotes are multiply referred-to. For unique hypertarget in pdf,
-% we need an additional counter. It is called "sphinxexplicit" for legacy
-% reasons as "explicitly" numbered footnotes may be multiply referred-to.
-\newcounter{sphinxexplicit}
-\newcommand{\sphinxstepexplicit}{\stepcounter{sphinxexplicit}}
-% Some babel/polyglossia languages fiddle with \@arabic, so let's be extra
-% cautious and redefine \thesphinxscope with \number not \@arabic.
-% Memo: we expect some subtle redefinition of \thesphinxscope to be a part of page
-% scoping for footnotes, when we shall implement it.
-\renewcommand{\thesphinxscope}{\number\value{sphinxscope}.\number\value{sphinxexplicit}}
+% We ensure \thesphinxscope expands to digits tokens, independently of language
+\renewcommand{\thesphinxscope}{\number\value{sphinxscope}}
\newcommand\sphinxthefootnotemark[2]{%
% this is used to make reference to an explicitly numbered footnote not on same page
% #1=label of footnote text, #2=page number where footnote text was printed
diff --git a/sphinx/texinputs/sphinxlatexobjects.sty b/sphinx/texinputs/sphinxlatexobjects.sty
index 85dd53a84..1b497111d 100644
--- a/sphinx/texinputs/sphinxlatexobjects.sty
+++ b/sphinx/texinputs/sphinxlatexobjects.sty
@@ -137,7 +137,11 @@
\pysigadjustitemsep
}
\newcommand{\pysiglinewithargsret}[3]{%
+ % as #1 may contain a footnote using \label we need to make \label
+ % a no-op here to avoid LaTeX complaining about duplicates
+\let\spx@label\label\let\label\@gobble
\settowidth{\py@argswidth}{#1\sphinxcode{(}}%
+\let\label\spx@label
\py@argswidth=\dimexpr\linewidth+\labelwidth-\py@argswidth\relax\relax
\item[{#1\sphinxcode{(}\py@sigparams{#2}{#3}\strut}]
\pysigadjustitemsep
diff --git a/sphinx/texinputs/sphinxpackagefootnote.sty b/sphinx/texinputs/sphinxpackagefootnote.sty
index a6071cf10..6a7884f83 100644
--- a/sphinx/texinputs/sphinxpackagefootnote.sty
+++ b/sphinx/texinputs/sphinxpackagefootnote.sty
@@ -1,27 +1,37 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sphinxpackagefootnote}%
- [2021/02/04 v1.1d footnotehyper adapted to sphinx (Sphinx team)]
-% Provides support for this output mark-up from Sphinx latex writer:
-% - footnote environment
-% - savenotes environment (table templates)
-% - \sphinxfootnotemark
-%
+ [2022/02/12 v4.5.0 Sphinx custom footnotehyper package (Sphinx team)]
%%
%% Package: sphinxpackagefootnote
%% Version: based on footnotehyper.sty 2021/02/04 v1.1d
-%% as available at https://www.ctan.org/pkg/footnotehyper
+%% https://www.ctan.org/pkg/footnotehyper
%% License: the one applying to Sphinx
%%
-%% Refer to the PDF documentation at https://www.ctan.org/pkg/footnotehyper for
-%% the code comments.
+% Provides support for footnote mark-up from Sphinx latex writer:
+% - "footnote" and "footnotetext" environments allowing verbatim material
+% - "savenotes" environment for wrapping environments, such as for tables
+% which have problems with LaTeX footnotes
+% - hyperlinks
+%
+% Sphinx uses exclusively this mark-up for footnotes:
+% - \begin{footnote}[N]
+% - \begin{footnotetext}[N]
+% - \sphinxfootnotemark[N]
+% where N is a number.
+%
+%% Some small differences from upstream footnotehyper.sty:
+%% - a tabulary compatibility layer (partial but enough for Sphinx),
+%% - usage of \spx@opt@BeforeFootnote
+%% - usage of \sphinxunactivateextrasandspace from sphinx.sty,
+%% - \sphinxlongtablepatch
%%
-%% Differences:
-%% 1. a partial tabulary compatibility layer added (enough for Sphinx mark-up),
-%% 2. use of \spx@opt@BeforeFootnote from sphinx.sty,
-%% 3. use of \sphinxunactivateextrasandspace from sphinx.sty,
-%% 4. macro definition \sphinxfootnotemark,
-%% 5. macro definition \sphinxlongtablepatch
-%% 6. replaced some \undefined by \@undefined
+%% Starting with Sphinx v4.5.0, inherited footnotehyper macros for
+%% footnote/footnotetext receive some Sphinx specific extras to
+%% implement "intelligent" footnote marks checking page numbers.
+%%
+%% All footnotes output from Sphinx are hyperlinked. With "savenotes"
+%% footnotes may appear on page distinct from footnote mark, the latter
+%% will indicate page number of the footnote.
\newif\iffootnotehyperparse\footnotehyperparsetrue
\DeclareOption*{\PackageWarning{sphinxpackagefootnote}{Option `\CurrentOption' is unknown}}%
\ProcessOptions\relax
@@ -42,6 +52,7 @@
\let\footnotetext \FNH@footnotetext
\let\endfootnote \FNH@endfntext
\let\endfootnotetext\FNH@endfntext
+ % always True branch taken with Sphinx
\@ifpackageloaded{hyperref}
{\ifHy@hyperfootnotes
\let\FNH@H@@footnotetext\H@@footnotetext
@@ -175,12 +186,40 @@
}%
\def\FNH@footnoteenv@i[#1]{%
\begingroup
+ % This legacy code from LaTeX core restricts #1 to be digits only
+ % This limitation could be lifted but legacy Sphinx anyhow obeys it
\csname c@\@mpfn\endcsname #1\relax
\unrestored@protected@xdef\@thefnmark{\thempfn}%
\endgroup
+% -- Sphinx specific:
+% currently commented out due to
+% https://github.com/sphinx-doc/sphinx/pull/10191#issuecomment-1038807448
+% Memo: memoir class detection of successive footnote marks (to separate them
+% by commas) is broken by \refstepcounter and also by \label, and some
+% mitigation such as in \sphinxfootref would be needed
+ % \global\let\spx@saved@thefnmark\@thefnmark
+ % % this is done to access robustly the page number where footnote mark is
+ % \refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
+ % % if possible, compare page numbers of mark and footnote to define \@thefnmark
+ % \ltx@ifundefined{r@\thesphinxscope.footnote.#1}%
+ % {}% one more latex run is needed
+ % {\sphinx@xdef@thefnmark{#1}}% check of page numbers possible
+% --
\@footnotemark
\def\FNH@endfntext@fntext{\@footnotetext}%
+% -- Sphinx specific:
+ % we need to reset \@thefnmark as it is used by \FNH@startfntext via
+ % \FNH@startnote to set \@currentlabel which will be used by \label
+% currently commented out (see above)
+ % \global\let\@thefnmark\spx@saved@thefnmark
+% --
\FNH@startfntext
+% -- again Sphinx specific
+ % \@currentlabel as needed by \label got set by \FNH@startnote
+ % insert this at start of footnote text then the label will allow
+ % to robustly know on which page the footnote text ends up
+% currently only of use for extra footnote marks so in case footnote multiply referred
+ \phantomsection\label{\thesphinxscope.footnote.#1}%
}%
\def\FNH@footnotetext{%
\ifx\@currenvir\FNH@footnotetext@envname
@@ -207,6 +246,8 @@
\def\FNH@endfntext@fntext{\FNH@H@@footnotetext}%
\fi
\FNH@startfntext
+% -- Sphinx specific addition
+ \phantomsection\label{\thesphinxscope.footnote.#1}%
}%
\def\FNH@startfntext{%
\setbox\z@\vbox\bgroup
@@ -329,60 +370,55 @@
}%
%
% some extras for Sphinx :
-% \sphinxfootnotemark: usable in section titles and silently removed from TOCs.
+% \sphinxfootnotemark:
+% - if in section titles will auto-remove itself from TOC
\def\sphinxfootnotemark [#1]%
{\ifx\thepage\relax\else\sphinxfootref{#1}\fi}%
-% \sphinxfootref:
-% - \spx@opt@BeforeFootnote is from BeforeFootnote sphinxsetup option
-% - \ref:
-% the latex.py writer inserts a \phantomsection\label{.}
-% whenever
-% - the footnote was explicitly numbered in sources,
-% - or it was in restrained context and is rendered using footnotetext
-%
-% These are the two types of footnotes that \sphinxfootnotemark must
-% handle. But for explicitly numbered footnotes the same number
-% can be found in document. So a secondary part in is updated
-% at each novel such footnote to know what is the target from then on
-% for \sphinxfootnotemark and already encountered [1], or [2],...
-%
-% LaTeX package varioref is not supported by hyperref (from its doc: "There
-% are too many problems with varioref. Nobody has time to sort them out.
-% Therefore this package is now unsupported.") So we will simply use our own
-% macros to access the page number of footnote text and decide whether to print
-% it. \pagename is internationalized by latex-babel.
-\def\spx@thefnmark#1#2{%
- % #1=label for reference, #2=page where footnote was printed
- \ifx\spx@tempa\spx@tempb
- % same page
- #1%
- \else
- \sphinxthefootnotemark{#1}{#2}%
- \fi
-}%
-\def\sphinxfootref@get #1#2#3#4#5\relax{%
- \def\sphinxfootref@label{#1}%
- \def\sphinxfootref@page {#2}%
- \def\sphinxfootref@Href {#4}%
-}%
-\protected\def\sphinxfootref#1{% #1 always explicit number in Sphinx usage
- \spx@opt@BeforeFootnote
- \ltx@ifundefined{r@\thesphinxscope.#1}%
- {\gdef\@thefnmark{?}\H@@footnotemark}%
- {\expandafter\expandafter\expandafter\sphinxfootref@get
- \csname r@\thesphinxscope.#1\endcsname\relax
- \edef\spx@tempa{\thepage}\edef\spx@tempb{\sphinxfootref@page}%
- \protected@xdef\@thefnmark{\spx@thefnmark{\sphinxfootref@label}{\sphinxfootref@page}}%
- \let\spx@@makefnmark\@makefnmark
- \def\@makefnmark{%
- \hyper@linkstart{link}{\sphinxfootref@Href}%
- \spx@@makefnmark
- \hyper@linkend
+\newcounter{sphinxfootnotemark}
+\renewcommand\thesphinxfootnotemark{\number\value{sphinxfootnotemark}}
+% - compares page number of footnote mark versus the one of footnote text
+\def\sphinx@xdef@thefnmark#1{%
+ \expandafter\expandafter\expandafter\sphinx@footref@get
+ \csname r@\thesphinxscope.footnote.#1\endcsname\relax
+ \expandafter\expandafter\expandafter\sphinx@footmark@getpage
+ \csname r@footnotemark.\thesphinxfootnotemark\endcsname\thepage\relax
+ \protected@xdef\@thefnmark{%
+ \ifx\spx@footmarkpage\spx@footrefpage
+ \spx@footreflabel
+ \else
+ % the macro \sphinxthefootnotemark is in sphinx.sty
+ \sphinxthefootnotemark{\spx@footreflabel}{\spx@footrefpage}%
+ \fi
}%
- \H@@footnotemark
- \let\@makefnmark\spx@@makefnmark
- }%
}%
+\def\sphinx@footref@get #1#2#3#4#5\relax{%
+ \def\spx@footreflabel{#1}%
+ \def\spx@footrefpage {#2}%
+ \def\spx@footrefHref {#4}%
+}%
+\def\sphinx@footmark@getpage #1#2#3\relax{%
+ \edef\spx@footmarkpage{#2}%
+}%
+\protected\def\sphinxfootref#1{% #1 always is explicit number in Sphinx
+ \spx@opt@BeforeFootnote
+ % each of \refstepcounter and \label interferes with memoir class detection
+ % of successive footnote marks, so we move them to inside \@makefnmark
+ \let\spx@saved@makefnmark\@makefnmark
+ \ltx@ifundefined{r@\thesphinxscope.footnote.#1}%
+ {\gdef\@thefnmark{?}% on first LaTeX run
+ \refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
+ }%
+ {\sphinx@xdef@thefnmark{#1}% also defines \spx@footrefHref
+ \def\@makefnmark{% will be used by \H@@footnotemark
+ \refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
+ \hyper@linkstart{link}{\spx@footrefHref}%
+ \spx@saved@makefnmark
+ \hyper@linkend
+ }%
+ }%
+ \H@@footnotemark
+ \let\@makefnmark\spx@saved@makefnmark
+}%
\AtBeginDocument{%
% let hyperref less complain
\pdfstringdefDisableCommands{\def\sphinxfootnotemark [#1]{}}%
diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py
index 680f06bf5..246f52362 100644
--- a/sphinx/writers/latex.py
+++ b/sphinx/writers/latex.py
@@ -814,16 +814,14 @@ class LaTeXTranslator(SphinxTranslator):
def visit_footnote(self, node: Element) -> None:
self.in_footnote += 1
label = cast(nodes.label, node[0])
- if 'referred' in node:
- self.body.append(r'\sphinxstepexplicit ')
if self.in_parsed_literal:
self.body.append(r'\begin{footnote}[%s]' % label.astext())
else:
self.body.append('%' + CR)
self.body.append(r'\begin{footnote}[%s]' % label.astext())
if 'referred' in node:
- self.body.append(r'\phantomsection'
- r'\label{\thesphinxscope.%s}%%' % label.astext() + CR)
+ # TODO: in future maybe output a latex macro with backrefs here
+ pass
self.body.append(r'\sphinxAtStartFootnote' + CR)
def depart_footnote(self, node: Element) -> None:
@@ -1717,9 +1715,7 @@ class LaTeXTranslator(SphinxTranslator):
def visit_footnotetext(self, node: Element) -> None:
label = cast(nodes.label, node[0])
self.body.append('%' + CR)
- self.body.append(r'\begin{footnotetext}[%s]'
- r'\phantomsection\label{\thesphinxscope.%s}%%'
- % (label.astext(), label.astext()) + CR)
+ self.body.append(r'\begin{footnotetext}[%s]' % label.astext())
self.body.append(r'\sphinxAtStartFootnote' + CR)
def depart_footnotetext(self, node: Element) -> None:
diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
index 50b2b693a..da853d0b5 100644
--- a/tests/test_build_latex.py
+++ b/tests/test_build_latex.py
@@ -723,13 +723,9 @@ def test_footnote(app, status, warning):
assert '\\sphinxcite{footnote:bar}' in result
assert ('\\bibitem[bar]{footnote:bar}\n\\sphinxAtStartPar\ncite\n') in result
assert '\\sphinxcaption{Table caption \\sphinxfootnotemark[4]' in result
- assert ('\\hline%\n\\begin{footnotetext}[4]'
- '\\phantomsection\\label{\\thesphinxscope.4}%\n'
- '\\sphinxAtStartFootnote\n'
+ assert ('\\hline%\n\\begin{footnotetext}[4]\\sphinxAtStartFootnote\n'
'footnote in table caption\n%\n\\end{footnotetext}\\ignorespaces %\n'
- '\\begin{footnotetext}[5]'
- '\\phantomsection\\label{\\thesphinxscope.5}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[5]\\sphinxAtStartFootnote\n'
'footnote in table header\n%\n\\end{footnotetext}\\ignorespaces '
'\n\\sphinxAtStartPar\n'
'VIDIOC\\_CROPCAP\n&\n\\sphinxAtStartPar\n') in result
@@ -755,27 +751,19 @@ def test_reference_in_caption_and_codeblock_in_footnote(app, status, warning):
assert '\\subsubsection*{The rubric title with a reference to {[}AuthorYear{]}}' in result
assert ('\\chapter{The section with a reference to \\sphinxfootnotemark[6]}\n'
'\\label{\\detokenize{index:the-section-with-a-reference-to}}'
- '%\n\\begin{footnotetext}[6]'
- '\\phantomsection\\label{\\thesphinxscope.6}%\n'
- '\\sphinxAtStartFootnote\n'
+ '%\n\\begin{footnotetext}[6]\\sphinxAtStartFootnote\n'
'Footnote in section\n%\n\\end{footnotetext}') in result
assert ('\\caption{This is the figure caption with a footnote to '
'\\sphinxfootnotemark[8].}\\label{\\detokenize{index:id35}}\\end{figure}\n'
- '%\n\\begin{footnotetext}[8]'
- '\\phantomsection\\label{\\thesphinxscope.8}%\n'
- '\\sphinxAtStartFootnote\n'
+ '%\n\\begin{footnotetext}[8]\\sphinxAtStartFootnote\n'
'Footnote in caption\n%\n\\end{footnotetext}') in result
assert ('\\sphinxcaption{footnote \\sphinxfootnotemark[9] in '
'caption of normal table}\\label{\\detokenize{index:id36}}') in result
assert ('\\caption{footnote \\sphinxfootnotemark[10] '
'in caption \\sphinxfootnotemark[11] of longtable\\strut}') in result
- assert ('\\endlastfoot\n%\n\\begin{footnotetext}[10]'
- '\\phantomsection\\label{\\thesphinxscope.10}%\n'
- '\\sphinxAtStartFootnote\n'
+ assert ('\\endlastfoot\n%\n\\begin{footnotetext}[10]\\sphinxAtStartFootnote\n'
'Foot note in longtable\n%\n\\end{footnotetext}\\ignorespaces %\n'
- '\\begin{footnotetext}[11]'
- '\\phantomsection\\label{\\thesphinxscope.11}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[11]\\sphinxAtStartFootnote\n'
'Second footnote in caption of longtable\n') in result
assert ('This is a reference to the code\\sphinxhyphen{}block in the footnote:\n'
'{\\hyperref[\\detokenize{index:codeblockinfootnote}]'
@@ -795,13 +783,13 @@ def test_footnote_referred_multiple_times(app, status, warning):
print(status.getvalue())
print(warning.getvalue())
- assert ('Explicitly numbered footnote: \\sphinxstepexplicit %\n'
- '\\begin{footnote}[100]\\phantomsection\\label{\\thesphinxscope.100}%\n'
+ assert ('Explicitly numbered footnote: %\n'
+ '\\begin{footnote}[100]'
'\\sphinxAtStartFootnote\nNumbered footnote\n%\n'
'\\end{footnote} \\sphinxfootnotemark[100]\n'
in result)
- assert ('Named footnote: \\sphinxstepexplicit %\n'
- '\\begin{footnote}[13]\\phantomsection\\label{\\thesphinxscope.13}%\n'
+ assert ('Named footnote: %\n'
+ '\\begin{footnote}[13]'
'\\sphinxAtStartFootnote\nNamed footnote\n%\n'
'\\end{footnote} \\sphinxfootnotemark[13]\n'
in result)
@@ -837,9 +825,7 @@ def test_latex_show_urls_is_inline(app, status, warning):
assert '\\sphinxhref{http://sphinx-doc.org/}{Sphinx} (http://sphinx\\sphinxhyphen{}doc.org/)' in result
assert ('Third footnote: %\n\\begin{footnote}[3]\\sphinxAtStartFootnote\n'
'Third \\sphinxfootnotemark[4]\n%\n\\end{footnote}%\n'
- '\\begin{footnotetext}[4]'
- '\\phantomsection\\label{\\thesphinxscope.4}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[4]\\sphinxAtStartFootnote\n'
'Footnote inside footnote\n%\n\\end{footnotetext}\\ignorespaces') in result
assert ('Fourth footnote: %\n\\begin{footnote}[5]\\sphinxAtStartFootnote\n'
'Fourth\n%\n\\end{footnote}\n') in result
@@ -849,8 +835,12 @@ def test_latex_show_urls_is_inline(app, status, warning):
'(http://sphinx\\sphinxhyphen{}doc.org/)}\n'
'\\sphinxAtStartPar\nDescription' in result)
assert ('\\sphinxlineitem{Footnote in term \\sphinxfootnotemark[7]}%\n'
- '\\begin{footnotetext}[7]\\phantomsection\\label{\\thesphinxscope.7}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[7]\\sphinxAtStartFootnote\n')
+ assert ('\\sphinxlineitem{\\sphinxhref{http://sphinx-doc.org/}{URL in term} '
+ '(http://sphinx\\sphinxhyphen{}doc.org/)}\n'
+ '\\sphinxAtStartPar\nDescription' in result)
+ assert ('\\sphinxlineitem{Footnote in term \\sphinxfootnotemark[7]}%\n'
+ '\\begin{footnotetext}[7]\\sphinxAtStartFootnote\n'
'Footnote in term\n%\n\\end{footnotetext}\\ignorespaces '
'\n\\sphinxAtStartPar\nDescription') in result
assert ('\\sphinxlineitem{\\sphinxhref{http://sphinx-doc.org/}{Term in deflist} '
@@ -893,9 +883,7 @@ def test_latex_show_urls_is_footnote(app, status, warning):
'\\sphinxnolinkurl{http://sphinx-doc.org/}\n%\n\\end{footnote}') in result
assert ('Third footnote: %\n\\begin{footnote}[6]\\sphinxAtStartFootnote\n'
'Third \\sphinxfootnotemark[7]\n%\n\\end{footnote}%\n'
- '\\begin{footnotetext}[7]'
- '\\phantomsection\\label{\\thesphinxscope.7}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[7]\\sphinxAtStartFootnote\n'
'Footnote inside footnote\n%\n'
'\\end{footnotetext}\\ignorespaces') in result
assert ('Fourth footnote: %\n\\begin{footnote}[8]\\sphinxAtStartFootnote\n'
@@ -905,18 +893,18 @@ def test_latex_show_urls_is_footnote(app, status, warning):
'\\sphinxnolinkurl{http://sphinx-doc.org/~test/}\n%\n\\end{footnote}') in result
assert ('\\sphinxlineitem{\\sphinxhref{http://sphinx-doc.org/}'
'{URL in term}\\sphinxfootnotemark[10]}%\n'
- '\\begin{footnotetext}[10]\\phantomsection\\label{\\thesphinxscope.10}%\n'
+ '\\begin{footnotetext}[10]'
'\\sphinxAtStartFootnote\n'
'\\sphinxnolinkurl{http://sphinx-doc.org/}\n%\n'
'\\end{footnotetext}\\ignorespaces \n\\sphinxAtStartPar\nDescription') in result
assert ('\\sphinxlineitem{Footnote in term \\sphinxfootnotemark[12]}%\n'
- '\\begin{footnotetext}[12]\\phantomsection\\label{\\thesphinxscope.12}%\n'
+ '\\begin{footnotetext}[12]'
'\\sphinxAtStartFootnote\n'
'Footnote in term\n%\n\\end{footnotetext}\\ignorespaces '
'\n\\sphinxAtStartPar\nDescription') in result
assert ('\\sphinxlineitem{\\sphinxhref{http://sphinx-doc.org/}{Term in deflist}'
'\\sphinxfootnotemark[11]}%\n'
- '\\begin{footnotetext}[11]\\phantomsection\\label{\\thesphinxscope.11}%\n'
+ '\\begin{footnotetext}[11]'
'\\sphinxAtStartFootnote\n'
'\\sphinxnolinkurl{http://sphinx-doc.org/}\n%\n'
'\\end{footnotetext}\\ignorespaces \n\\sphinxAtStartPar\nDescription') in result
@@ -955,9 +943,7 @@ def test_latex_show_urls_is_no(app, status, warning):
assert '\\sphinxhref{http://sphinx-doc.org/}{Sphinx}' in result
assert ('Third footnote: %\n\\begin{footnote}[3]\\sphinxAtStartFootnote\n'
'Third \\sphinxfootnotemark[4]\n%\n\\end{footnote}%\n'
- '\\begin{footnotetext}[4]'
- '\\phantomsection\\label{\\thesphinxscope.4}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[4]\\sphinxAtStartFootnote\n'
'Footnote inside footnote\n%\n\\end{footnotetext}\\ignorespaces') in result
assert ('Fourth footnote: %\n\\begin{footnote}[5]\\sphinxAtStartFootnote\n'
'Fourth\n%\n\\end{footnote}\n') in result
@@ -965,8 +951,7 @@ def test_latex_show_urls_is_no(app, status, warning):
assert ('\\sphinxlineitem{\\sphinxhref{http://sphinx-doc.org/}{URL in term}}\n'
'\\sphinxAtStartPar\nDescription') in result
assert ('\\sphinxlineitem{Footnote in term \\sphinxfootnotemark[7]}%\n'
- '\\begin{footnotetext}[7]\\phantomsection\\label{\\thesphinxscope.7}%\n'
- '\\sphinxAtStartFootnote\n'
+ '\\begin{footnotetext}[7]\\sphinxAtStartFootnote\n'
'Footnote in term\n%\n\\end{footnotetext}\\ignorespaces '
'\n\\sphinxAtStartPar\nDescription') in result
assert ('\\sphinxlineitem{\\sphinxhref{http://sphinx-doc.org/}{Term in deflist}}'
diff --git a/tox.ini b/tox.ini
index ccda6eab1..dc0e3167c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -83,7 +83,7 @@ description =
extras =
docs
commands =
- python -X dev -X warn_default_encoding setup.py build_sphinx {posargs}
+ python -X dev -X warn_default_encoding -m sphinx -M html ./doc ./build/sphinx -W
[testenv:docslint]
basepython = python3
diff --git a/utils/babel_runner.py b/utils/babel_runner.py
new file mode 100644
index 000000000..514ce9eb5
--- /dev/null
+++ b/utils/babel_runner.py
@@ -0,0 +1,171 @@
+"""Run babel for translations.
+
+Usage:
+
+babel_runner.py extract
+ Extract messages from the source code and update the ".pot" template file.
+
+babel_runner.py update
+ Update all language catalogues in "sphinx/locale//LC_MESSAGES"
+ with the current messages in the template file.
+
+babel_runner.py compile
+ Compile the ".po" catalogue files to ".mo" and ".js" files.
+"""
+
+import json
+import logging
+import os
+import sys
+
+from babel.messages.frontend import compile_catalog, extract_messages, update_catalog
+from babel.messages.pofile import read_po
+
+import sphinx
+
+ROOT = os.path.realpath(os.path.join(os.path.abspath(__file__), "..", ".."))
+
+
+class compile_catalog_plusjs(compile_catalog): # NoQA
+ """
+ An extended command that writes all message strings that occur in
+ JavaScript files to a JavaScript file along with the .mo file.
+
+ Unfortunately, babel's setup command isn't built very extensible, so
+ most of the run() code is duplicated here.
+ """
+
+ def run(self):
+ if super().run():
+ print("Compiling failed.", file=sys.stderr)
+ raise SystemExit(2)
+
+ for domain in self.domain:
+ self._run_domain_js(domain)
+
+ def _run_domain_js(self, domain):
+ po_files = []
+ js_files = []
+
+ if not self.input_file:
+ if self.locale:
+ po_files.append((self.locale,
+ os.path.join(self.directory, self.locale,
+ 'LC_MESSAGES',
+ domain + '.po')))
+ js_files.append(os.path.join(self.directory, self.locale,
+ 'LC_MESSAGES',
+ domain + '.js'))
+ else:
+ for locale in os.listdir(self.directory):
+ po_file = os.path.join(self.directory, locale,
+ 'LC_MESSAGES',
+ domain + '.po')
+ if os.path.exists(po_file):
+ po_files.append((locale, po_file))
+ js_files.append(os.path.join(self.directory, locale,
+ 'LC_MESSAGES',
+ domain + '.js'))
+ else:
+ po_files.append((self.locale, self.input_file))
+ if self.output_file:
+ js_files.append(self.output_file)
+ else:
+ js_files.append(os.path.join(self.directory, self.locale,
+ 'LC_MESSAGES',
+ domain + '.js'))
+
+ for js_file, (locale, po_file) in zip(js_files, po_files):
+ with open(po_file, encoding='utf8') as infile:
+ catalog = read_po(infile, locale)
+
+ if catalog.fuzzy and not self.use_fuzzy:
+ continue
+
+ self.log.info('writing JavaScript strings in catalog %s to %s',
+ po_file, js_file)
+
+ jscatalog = {}
+ for message in catalog:
+ if any(x[0].endswith(('.js', '.js_t', '.html'))
+ for x in message.locations):
+ msgid = message.id
+ if isinstance(msgid, (list, tuple)):
+ msgid = msgid[0]
+ jscatalog[msgid] = message.string
+
+ obj = json.dumps({
+ 'messages': jscatalog,
+ 'plural_expr': catalog.plural_expr,
+ 'locale': f'{catalog.locale!s}'
+ }, sort_keys=True, indent=4)
+ with open(js_file, 'w', encoding='utf8') as outfile:
+ outfile.write(f'Documentation.addTranslations({obj});')
+
+
+def _get_logger():
+ log = logging.getLogger('babel')
+ log.setLevel(logging.INFO)
+ handler = logging.StreamHandler()
+ handler.setFormatter(logging.Formatter('%(message)s'))
+ log.addHandler(handler)
+ return log
+
+
+def run_extract():
+ os.chdir(ROOT)
+ command = extract_messages()
+ command.log = _get_logger()
+ command.initialize_options()
+
+ command.keywords = "_ __ l_ lazy_gettext"
+ command.mapping_file = "babel.cfg"
+ command.output_file = os.path.join("sphinx", "locale", "sphinx.pot")
+ command.project = "Sphinx"
+ command.version = sphinx.__version__
+ command.input_paths = "sphinx"
+
+ command.finalize_options()
+ return command.run()
+
+
+def run_update():
+ os.chdir(ROOT)
+ command = update_catalog()
+ command.log = _get_logger()
+ command.initialize_options()
+
+ command.domain = "sphinx"
+ command.input_file = os.path.join("sphinx", "locale", "sphinx.pot")
+ command.output_dir = os.path.join("sphinx", "locale")
+
+ command.finalize_options()
+ return command.run()
+
+
+def run_compile():
+ os.chdir(ROOT)
+ command = compile_catalog_plusjs()
+ command.log = _get_logger()
+ command.initialize_options()
+
+ command.domain = "sphinx"
+ command.directory = os.path.join("sphinx", "locale")
+
+ command.finalize_options()
+ return command.run()
+
+
+if __name__ == '__main__':
+ try:
+ action = sys.argv[1].lower()
+ except IndexError:
+ print(__doc__, file=sys.stderr)
+ raise SystemExit(2)
+
+ if action == "extract":
+ raise SystemExit(run_extract())
+ if action == "update":
+ raise SystemExit(run_update())
+ if action == "compile":
+ raise SystemExit(run_compile())