30 lines
585 B
YAML
30 lines
585 B
YAML
|
name: Sanity check translation phrases
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
paths:
|
||
|
- 'translations/**'
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- master
|
||
|
paths:
|
||
|
- 'translations/**'
|
||
|
workflow_dispatch:
|
||
|
jobs:
|
||
|
check_translations:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- uses: actions/setup-python@v4
|
||
|
name: Setup Python 3.10
|
||
|
with:
|
||
|
python-version: "3.10"
|
||
|
|
||
|
- name: Check translation phrases syntax
|
||
|
working-directory: tools/language_check
|
||
|
run: |
|
||
|
python ./sanity_check.py
|
||
|
|