feat(translations): add a report of missing and extra language keys (#860)

This commit is contained in:
HetCreep
2026-11-10 23:34:30 +01:00
committed by Jeffrey
parent 6797d6e462
commit 39d1127f91
5 changed files with 291 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ Win11Debloat/
├── Assets/ # Static assets (icons, start menu templates)
├── Tools/ # Development scripts (excluded from release packages)
│ ├── Build-Release.ps1 # Runtime release packaging
│ ├── Get-LanguageKeyReport.ps1 # Compares language catalogs with en-US (plural-aware)
│ ├── Report-LanguageKeys.ps1 # Prints the missing/extra language key report
│ └── Run-Tests.ps1 # Pester test runner (optionally bootstraps Pester)
├── Tests/ # Pester tests for script and XAML contracts
├── Backups/ # Registry backups (generated during use)
+14
View File
@@ -42,3 +42,17 @@ jobs:
Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -Force -Confirm:$false
Import-Module PSScriptAnalyzer
Invoke-ScriptAnalyzer -Path . -Recurse -Severity Error -EnableExit
language-keys:
name: Language key report (informational)
runs-on: windows-latest
timeout-minutes: 5
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Report missing and extra language keys
shell: powershell
run: ./Tools/Report-LanguageKeys.ps1