rffontenelle / python-docs-tx-translations

Translating Python Docs in Transifex
https://explore.transifex.com/python-doc/
10 stars 1 forks source link

Improve problematic source string removal #98

Closed rffontenelle closed 2 weeks ago

rffontenelle commented 2 weeks ago

With scripts/remove-ilegal-strings.sh we only removed strings that were breaking POT upload to Transifex. Based on the same structured, now we can remove any problematic string by simply appending to the end of the script.

In particular, add library/sys.pot and c-api/sys.pot that had a string that should not be translated. Translating it would cause warning at sphinx-build, keeping a single whitespace would cause linting issues. Removing is the best way out.