Skip to content

Commit a059207

Browse files
committed
Update transifex-util.py to use 'build' instead of 'gettext' for translation generation
1 parent 8123c18 commit a059207

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/transifex-pull.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
fetch-depth: 0
3434
- run: curl -O https://raw.githubusercontent.com/python-docs-translations/transifex-automations/master/sample-workflows/transifex-util.py
3535
- run: chmod +x transifex-util.py
36+
- run: |
37+
python - <<'PY'
38+
from pathlib import Path
39+
40+
path = Path('transifex-util.py')
41+
text = path.read_text()
42+
path.write_text(text.replace('make -C cpython/Doc/ gettext', 'make -C cpython/Doc/ build BUILDER=gettext'))
43+
PY
3644
- run: ./transifex-util.py recreate_tx_config --language ru --project-slug python-newest --version ${{ matrix.version }}
3745
env:
3846
TX_TOKEN: ${{ secrets.TX_TOKEN }}

0 commit comments

Comments
 (0)