Browse Source

Fix: locale config

main
Kujiu 1 year ago
parent
commit
c2be385d0d
Signed by: kujiu
GPG Key ID: ABBB2CAC6855599F
  1. 20
      setup.cfg
  2. 1
      setup.py

20
setup.cfg

@ -5,3 +5,23 @@ license-files =
LICENSE-de
LICENSE-fr
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

@ -44,7 +44,6 @@ setup(
"sphinx_gemini_builder": [
"locale/*/LC_MESSAGES/*.po",
"locale/*/LC_MESSAGES/*.mo",
"templates/*.gmi",
]
},
entry_points={

Loading…
Cancel
Save