Fix: locale config

This commit is contained in:
Kujiu 2021-02-03 00:54:33 +01:00
parent 7365065beb
commit c2be385d0d
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 20 additions and 1 deletions

View file

@ -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/

View file

@ -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={