Add some i18n parameters
New mo and po files are created under ./locale/ dir Compact text false by default
This commit is contained in:
parent
fd3e774be5
commit
cf22d196c5
|
@ -6,6 +6,7 @@ __pycache__
|
||||||
*~
|
*~
|
||||||
.directory
|
.directory
|
||||||
.vscode/
|
.vscode/
|
||||||
|
*.mo
|
||||||
|
|
||||||
# Finder (MacOS) makes these automatically.
|
# Finder (MacOS) makes these automatically.
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
7
conf.py
7
conf.py
|
@ -94,3 +94,10 @@ latex_documents = [
|
||||||
(master_doc, 'GodotEngine.tex', 'Godot Engine Documentation',
|
(master_doc, 'GodotEngine.tex', 'Godot Engine Documentation',
|
||||||
'Juan Linietsky, Ariel Manzur and the Godot community', 'manual'),
|
'Juan Linietsky, Ariel Manzur and the Godot community', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# -- I18n settings --------------------------------------------------------
|
||||||
|
locale_dirs = ['locale/']
|
||||||
|
gettext_compact = False
|
||||||
|
# Exclude class reference when marked with tag i18n.
|
||||||
|
if tags.has('i18n'):
|
||||||
|
exclude_patterns = ['classes']
|
||||||
|
|
Loading…
Reference in New Issue