git: Add script to check localized texts occurrences in code (#1511)

This script will be executed on every CI run as part of tests, and will
ensure no unlocalised strings are present in the code

Note that texts without the `_lang` suffix will not be checked, e.g.
96fe608d60/plugins/builtin/source/content/views/view_provider_settings.cpp (L10)
This commit is contained in:
iTrooz
2024-01-25 21:23:03 +01:00
committed by GitHub
parent e61ee528ff
commit d86bf44e39
4 changed files with 88 additions and 1 deletions

View File

@@ -61,3 +61,17 @@ jobs:
run: |
cd build
ctest --output-on-failure
langs:
name: 🧪 Langs
runs-on: ubuntu-22.04
steps:
- name: 🧰 Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Check langs
run:
python3 tests/check_langs.py