Add script to update translation strings for the documentation

This commit is contained in:
Georg Krause 2022-07-01 20:34:07 +02:00
parent 45cda643d0
commit 1ea16ae3ec
No known key found for this signature in database
GPG Key ID: 2970D504B2183D22
1 changed files with 5 additions and 0 deletions

5
docs/i18n_generate.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
poetry run make -e BUILDDIR=locales gettext
for f in $(ls locales | grep -v gettext); do
poetry run sphinx-intl update -p locales/gettext -l $f
done;