Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-11-08 19:29:52 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-11-09 19:32:02 +0300
commit203094b4c3d0db34527281bd29601ab418325d5c (patch)
tree1bfadaadd0b53220d3e346ab3c673d09c8671303 /sphinx/config.py
parent8e350495b08fe5b06099ff85e3177ebd250e9181 (diff)
Close #9618: i18n: Add gettext_allow_fuzzy_translations
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/config.py b/sphinx/config.py
index 2ca20cb48..05bcdeccc 100644
--- a/sphinx/config.py
+++ b/sphinx/config.py
@@ -103,6 +103,7 @@ class Config:
'language': (None, 'env', [str]),
'locale_dirs': (['locales'], 'env', []),
'figure_language_filename': ('{root}.{language}{ext}', 'env', [str]),
+ 'gettext_allow_fuzzy_translations': (False, 'gettext', []),
'master_doc': ('index', 'env', []),
'root_doc': (lambda config: config.master_doc, 'env', []),