Updates for file po/celestia.pot in zh_CN #242
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Process translations | |
on: | |
push: | |
branches: [ master ] | |
paths: [ po/**, .github/workflows/translations.yml ] | |
pull_request: | |
branches: [ master ] | |
paths: [ po/**, .github/workflows/translations.yml ] | |
jobs: | |
gettext: | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: [ ubuntu-latest ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Install dependencies' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gettext | |
- name: 'Checkout source code' | |
uses: actions/checkout@v4 | |
- name: 'Validate translations' | |
working-directory: ${{github.workspace}}/po | |
run: for i in *.po; do msgfmt --statistics --verbose $i; done |