mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-12-25 15:38:48 +01:00
ebdacbc2b2
The new script makes sure that strings files don't contain obsolete strings but also ease the job of contributors by adding missing translations as comments. A Github Action ensures that translations stay in sync over time.
17 lines
366 B
YAML
17 lines
366 B
YAML
name: Check translations
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
check-translations:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v3
|
|
- run: python3 sync_translations.py
|
|
- name: Check that strings files are uptodate, run python3 sync_translations.py otherwise
|
|
run: git diff --exit-code
|