mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
692 B
YAML
31 lines
692 B
YAML
name: Translation Lint
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'src/duckstation-qt/translations/*.ts'
|
|
push:
|
|
branches:
|
|
- master
|
|
- dev
|
|
paths:
|
|
- 'src/duckstation-qt/translations/*.ts'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
translation-lint:
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 120
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
# Meh, can't be bothered to work out exactly which one was modified, just check them all.
|
|
- name: Check Translation Placeholders
|
|
shell: bash
|
|
run: |
|
|
for i in src/duckstation-qt/translations/*.ts; do
|
|
python scripts/verify_translation_placeholders.py "$i";
|
|
done
|