Skip to content

Commit 472210a

Browse files
authored
Add automated msgfmt check workflow
1 parent 46273fd commit 472210a

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/workflows/po-check.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Check PO Syntax
2+
3+
on:
4+
pull_request:
5+
branches: [ "**" ]
6+
push:
7+
branches: [ "**" ]
8+
9+
jobs:
10+
check-po:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v4
16+
17+
- name: Install gettext
18+
run: sudo apt-get update && sudo apt-get install -y gettext
19+
20+
- name: Validate PO files with msgfmt
21+
run: |
22+
find . -name "*.po" -exec msgfmt --check --check-format -o /dev/null {} +

0 commit comments

Comments
 (0)