Skip to content

Extract new strings (2024-11-20) #284

Extract new strings (2024-11-20)

Extract new strings (2024-11-20) #284

name: Check reference strings
on:
push:
branches:
- main
paths:
- ".github/workflows/check_reference_strings.yml"
- ".github/scripts/linter_config.json"
- "en-US/*.xliff"
pull_request:
branches:
- main
paths:
- ".github/workflows/check_reference_strings.yml"
- ".github/scripts/linter_config.json"
- "en-US/*.xliff"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Python dependencies
run: |
pip install -r .github/scripts/requirements.txt
- name: Lint reference locale
run: |
python .github/scripts/xliff_reference.py --path en-US --config .github/scripts/linter_config.json