Life saver: update locale generation

This commit is contained in:
SoftFever 2023-09-05 22:36:29 +08:00
parent 86f51cd9d0
commit 76d59ac033
25 changed files with 71 additions and 12 deletions

26
.github/workflows/check_locale.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Check locale
on:
pull_request:
branches:
- main
paths:
- 'localization/**'
- ".github/workflows/check_locale.yml"
jobs:
publish_docs_to_wiki:
name: Publish docs to Wiki
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install gettext
run: |
sudo apt-get update
sudo apt-get install -y gettext
- name: Check translation format
run: |
./run_gettext.sh