Closed tkoyama010 closed 1 year ago
@tkoyama010 I would like to take over this PR as I want to adjust it to fit the new sphinx-intl.
@tkoyama010 done. now the update.sh script updates po files (tested on my local)
@shimizukawa Thanks a lot for your help!
$ export SPHINXINTL_TRANSIFEX_ORGANIZATION_NAME=sphinx-doc
$ export SPHINXINTL_TRANSIFEX_PROJECT_NAME=sphinx-doc
$ export SPHINXINTL_TRANSIFEX_USERNAME=sphinxjp
$ export SPHINXINTL_TRANSIFEX_TOKEN=...
$ sh locale/update.sh
+ dirname locale/update.sh
+ cd locale
+ sphinx-intl create-transifexrc
/home/codespace/.transifexrc already exists, skipped.
+ sphinx-build -T -b gettext ../sphinx/doc pot
Running Sphinx v6.2.0+/7a092643c2
--(snip)--
build succeeded, 22 warnings.
The message catalogs are in pot.
+ sphinx-intl update-txconfig-resources -p pot -d .
adding pots... [####################################] 100% None
+ cat .tx/config
--(snip)--
Fix option errors in bumping sphinx-intl[transifex] from 2.0.1 to 2.1.0. See https://github.com/pyvista/pyvista-tutorial-translations/pull/24 .