From a993a52f373ccbca6a43d82c7f74fd7b746fc495 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Sun, 20 Oct 2024 21:04:37 -0300 Subject: [PATCH] Fix locale_dirs default value in documentation (#13052) --- doc/usage/configuration.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index 2b9fb7a8e3a..9768d248cce 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -569,17 +569,17 @@ See the documentation on :ref:`intl` for details. .. confval:: locale_dirs :type: :code-py:`list[str]` - :default: :code-py:`['locale']` + :default: :code-py:`['locales']` Directories in which to search for additional message catalogs (see :confval:`language`), relative to the source directory. The directories on this path are searched by the :mod:`gettext` module. Internal messages are fetched from a text domain of ``sphinx``; - so if you add the directory :file:`./locale` to this setting, + so if you add the directory :file:`./locales` to this setting, the message catalogs (compiled from ``.po`` format using :program:`msgfmt`) - must be in :file:`./locale/{language}/LC_MESSAGES/sphinx.mo`. + must be in :file:`./locales/{language}/LC_MESSAGES/sphinx.mo`. The text domain of individual documents depends on :confval:`gettext_compact`.