Add some i18n parameters

New mo and po files are created under ./locale/ dir
Compact text false by default
This commit is contained in:
Juankz 2018-03-02 19:40:52 -05:00 committed by Rémi Verschelde
parent fd3e774be5
commit cf22d196c5
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ __pycache__
*~
.directory
.vscode/
*.mo
# Finder (MacOS) makes these automatically.
.DS_Store

View File

@ -94,3 +94,10 @@ latex_documents = [
(master_doc, 'GodotEngine.tex', 'Godot Engine Documentation',
'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']