Skip to content

Commit e65c5e2

Browse files
committed
Add powrap for formatting PO files in GitHub Actions workflow
1 parent 5ed327e commit e65c5e2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/sync.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
sudo apt-get update
3636
sudo apt-get install -y gettext
37-
pip install transifex-python sphinx-intl
37+
pip install transifex-python sphinx-intl polib powrap
3838
3939
- name: Sync with Transifex
4040
env:
@@ -46,6 +46,10 @@ jobs:
4646
# Format .po files
4747
find . -name "*.po" -exec msgcat --no-wrap {} -o {} \;
4848
49+
- name: Format PO files
50+
run: |
51+
find . -name "*.po" -exec powrap {} \;
52+
4953
- name: Commit and push changes
5054
run: |
5155
git config --local user.name "GitHub Action's update-translation job"

0 commit comments

Comments
 (0)