Fix: locale config
This commit is contained in:
parent
7365065beb
commit
c2be385d0d
2 changed files with 20 additions and 1 deletions
20
setup.cfg
20
setup.cfg
|
@ -5,3 +5,23 @@ license-files =
|
||||||
LICENSE-de
|
LICENSE-de
|
||||||
LICENSE-fr
|
LICENSE-fr
|
||||||
LICENSE-nl
|
LICENSE-nl
|
||||||
|
|
||||||
|
|
||||||
|
[extract_messages]
|
||||||
|
output_file = sphinx_gemini_builder/locale/sphinx.pot
|
||||||
|
keywords = _ __ l_ lazy_gettext gettext ngettext
|
||||||
|
add_comments = Translators:
|
||||||
|
|
||||||
|
[init_catalog]
|
||||||
|
domain = sphinx
|
||||||
|
input_file = sphinx_gemini_builder/locale/sphinx.pot
|
||||||
|
output_dir = sphinx_gemini_builder/locale/
|
||||||
|
|
||||||
|
[update_catalog]
|
||||||
|
domain = sphinx
|
||||||
|
input_file = sphinx_gemini_builder/locale/sphinx.pot
|
||||||
|
output_dir = sphinx_gemini_builder/locale/
|
||||||
|
|
||||||
|
[compile_catalog]
|
||||||
|
domain = sphinx
|
||||||
|
directory = sphinx_gemini_builder/locale/
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -44,7 +44,6 @@ setup(
|
||||||
"sphinx_gemini_builder": [
|
"sphinx_gemini_builder": [
|
||||||
"locale/*/LC_MESSAGES/*.po",
|
"locale/*/LC_MESSAGES/*.po",
|
||||||
"locale/*/LC_MESSAGES/*.mo",
|
"locale/*/LC_MESSAGES/*.mo",
|
||||||
"templates/*.gmi",
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
|
|
Loading…
Reference in a new issue