Skip to content

Commit

Permalink
add gettext check
Browse files Browse the repository at this point in the history
  • Loading branch information
erral committed Dec 9, 2023
1 parent db1c7a9 commit 74ab52d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Workflow meant to be used by external repositories
# that are configured with this `meta` repository
name: Gettext check

jobs:
test:
name: Dependencies report
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Check that *.mo files are created correctly
run: |
for po in `find . -name "*.po"` ; do msgfmt --no-hash -o `dirname $po`/`basename $po .po`.mo $po; done

0 comments on commit 74ab52d

Please sign in to comment.