I am loudly thinking whether it wouldn't be helpful to return various exit codes from the sphinx-intl update command.
E.g., return 0 if everything is okay
$ sphinx-intl stat
source/locales/cs/LC_MESSAGES/index.po: 3 translated, 0 fuzzy, 0 untranslated.
source/locales/uk/LC_MESSAGES/index.po: 3 translated, 0 fuzzy, 0 untranslated.
$ echo $?
0
And non-zero when fuzzy or missing messages are found.
$ sphinx-intl stat
source/locales/cs/LC_MESSAGES/index.po: 2 translated, 0 fuzzy, 1 untranslated.
source/locales/uk/LC_MESSAGES/index.po: 3 translated, 0 fuzzy, 0 untranslated.
However, I am unsure which non-zero value 🤷♂️ to use, whether the number of problems or the missing/fuzzy %?
I am loudly thinking whether it wouldn't be helpful to return various exit codes from the
sphinx-intl updatecommand.E.g., return 0 if everything is okay
And non-zero when fuzzy or missing messages are found.
However, I am unsure which non-zero value 🤷♂️ to use, whether the number of problems or the missing/fuzzy %?