CI: Create Automated Workflow for Translation Catalog Updates (#5959)

* CI: Automate translation catalog update

Signed-off-by: GitHub <noreply@github.com>

* Update triggers for localization workflow

Signed-off-by: GitHub <noreply@github.com>

* Rewrite HintsToPot with Python

* Disable scheduled workflow runs

* Apply formatting to HintsToPot.py

* Add missing exit() call
This commit is contained in:
ElectricalBoy
2024-07-29 21:38:10 +09:00
committed by GitHub
parent 7236d6cdbf
commit b40853af94
4 changed files with 77 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ done
if $FULL_MODE; then
xgettext --keyword=L --keyword=_L --keyword=_u8L --keyword=L_CONTEXT:1,2c --keyword=_L_PLURAL:1,2 --add-comments=TRN --from-code=UTF-8 --no-location --debug --boost -f ./localization/i18n/list.txt -o ./localization/i18n/OrcaSlicer.pot
./build_arm64/src/hints/Release/hintsToPot.app/Contents/MacOS/hintsToPot ./resources ./localization/i18n
python3 scripts/HintsToPot.py ./resources ./localization/i18n
fi