mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-11-25 23:16:15 +01:00
feat(translations): add a report of missing and extra language keys (#860)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user