mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-11-26 07:26:18 +01:00
Compare commits
22
Commits
2026.10.30
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d8feefbbc | ||
|
|
30c4a8efed | ||
|
|
35f9e1837a | ||
|
|
4e1efed638 | ||
|
|
0801d25463 | ||
|
|
c465292add | ||
|
|
516fe42d47 | ||
|
|
330a5ea7f7 | ||
|
|
5c812a89e8 | ||
|
|
c701b1d1df | ||
|
|
74be0af452 | ||
|
|
39d1127f91 | ||
|
|
6797d6e462 | ||
|
|
f39885f6f2 | ||
|
|
e6184a2597 | ||
|
|
cf691cda94 | ||
|
|
a7566e21a0 | ||
|
|
b88733e2b8 | ||
|
|
f4a8903b60 | ||
|
|
eef5c592fb | ||
|
|
a23f2a08ad | ||
|
|
156e2517d4 |
+11
-21
@@ -65,13 +65,13 @@ The automated tests use Pester 5 and are found in the `Tests` directory. They co
|
||||
The bootstrap option can be used to automatically install Pester on your machine and run the full suite of tests:
|
||||
|
||||
```powershell
|
||||
.\Scripts\Run-Tests.ps1 -Bootstrap
|
||||
.\Tools\Run-Tests.ps1 -Bootstrap
|
||||
```
|
||||
|
||||
After the initial setup, you can simply run the full suite with:
|
||||
|
||||
```powershell
|
||||
.\Scripts\Run-Tests.ps1
|
||||
.\Tools\Run-Tests.ps1
|
||||
```
|
||||
|
||||
For a focused test run during development, you can also call Pester directly:
|
||||
@@ -124,7 +124,6 @@ Win11Debloat/
|
||||
├── Run.bat # Local launcher
|
||||
├── Scripts/ # Additional PowerShell scripts and functions
|
||||
│ ├── Get.ps1 # Download-and-launch script
|
||||
│ ├── Run-Tests.ps1 # Pester test runner (optionally bootstraps Pester)
|
||||
│ ├── AppRemoval/ # App package removal logic
|
||||
│ ├── CLI/ # Command-line interface helpers
|
||||
│ ├── Features/ # Feature apply, undo, backup, and restore logic
|
||||
@@ -143,6 +142,11 @@ Win11Debloat/
|
||||
│ └── Sysprep/ # Registry files for Sysprep mode
|
||||
├── Schemas/ # XAML views and shared GUI resources
|
||||
├── 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)
|
||||
└── Logs/ # Script logs (generated during use)
|
||||
@@ -301,14 +305,9 @@ Add your feature to the `"Features"` array in `Config/Features.json`:
|
||||
```json
|
||||
{
|
||||
"FeatureId": "YourFeatureId",
|
||||
"Label": "Short label describing the feature",
|
||||
"ToolTip": "Detailed explanation of what this feature does and its impact.",
|
||||
"Category": "Privacy & Suggested Content",
|
||||
"Priority": 1,
|
||||
"RegistryKey": "Disable_YourFeature.reg",
|
||||
"ApplyText": "Disabling your feature",
|
||||
"UndoLabel": "Short description for the undo",
|
||||
"ApplyUndoText": "Enabling your feature",
|
||||
"RegistryUndoKey": "Enable_YourFeature.reg",
|
||||
"RequiresReboot": false,
|
||||
"DisableWhenApplied": false,
|
||||
@@ -320,14 +319,9 @@ Add your feature to the `"Features"` array in `Config/Features.json`:
|
||||
**Field Descriptions**:
|
||||
|
||||
- `FeatureId`: Unique identifier, this must match parameter name in the Win11Debloat.ps1 and Get.ps1 files.
|
||||
- `Label`: Short description shown in the UI and wiki documentation.
|
||||
- `ToolTip`: Detailed explanation of what the feature does, used for tooltips in the GUI.
|
||||
- `Category`: One of the predefined categories (see Categories array in Features.json), features without a category won't be loaded into the GUI.
|
||||
- `Priority`: Optional. The priority value (int) is used to sort features within a category. If this field is omitted the feature will be sorted based on the order in the Features.json file.
|
||||
- `RegistryKey`: Filename of the registry file to apply (in Regfiles/ directory) or null if feature does not require registry changes.
|
||||
- `ApplyText`: Message shown when applying the feature.
|
||||
- `UndoLabel`: Short description for the undo shown in the UI.
|
||||
- `ApplyUndoText`: Message shown when undoing the feature.
|
||||
- `RegistryUndoKey`: Filename of the registry file to revert changes or null if feature does not require registry changes.
|
||||
- `RequiresReboot`: Optional boolean. Set to `true` if the feature requires a system reboot to take effect.
|
||||
- `DisableWhenApplied`: Optional boolean. Set to `true` if the feature has no supported undo method.
|
||||
@@ -344,7 +338,7 @@ Add a corresponding parameter to both `Win11Debloat.ps1` AND `Scripts/Get.ps1`,
|
||||
|
||||
#### 4. Add the English Translation Entry
|
||||
|
||||
Add a matching entry for your `FeatureId` to `Config/Languages/en-US/Features.json` (see [Localizing UI Text](#localizing-ui-text)) so the GUI shows your `Label`/`ToolTip`/etc. instead of the raw `FeatureId`.
|
||||
Add a matching entry for your `FeatureId` to `Config/Languages/en-US/Features.json` (see [Localizing UI Text](#localizing-ui-text)). Labels, tooltips, and apply/undo messages belong only in the language catalogs.
|
||||
|
||||
#### 5. Add or Update Tests
|
||||
|
||||
@@ -421,7 +415,7 @@ To add a new category for organizing features:
|
||||
}
|
||||
```
|
||||
|
||||
`CategoryId` is the stable identifier used for tweak presets, app-removal scope, and localization lookups. `Name` stays as the English display fallback. Skip `CategoryId` and the category falls back to using its `Name` as the ID, which breaks translation lookups, so always set one.
|
||||
`CategoryId` is required for tweak presets and localization. `Name` must match the `Category` value on features and groups. Add the display label to `Config/Languages/en-US/Categories.json`, keyed by `CategoryId`.
|
||||
|
||||
> [!TIP]
|
||||
> Use [Segoe Fluent Icon Assets](https://learn.microsoft.com/en-us/windows/apps/design/iconography/segoe-fluent-icons-font) for icon codes.
|
||||
@@ -435,17 +429,13 @@ UI Groups allow features to be grouped together in the GUI with a combobox
|
||||
```json
|
||||
{
|
||||
"GroupId": "UniqueGroupId",
|
||||
"Label": "Display label for the group",
|
||||
"ToolTip": "Explanation of what this group controls",
|
||||
"Category": "Category Name",
|
||||
"Priority": 1,
|
||||
"Values": [
|
||||
{
|
||||
"Label": "Option 1",
|
||||
"FeatureIds": ["FeatureId1"]
|
||||
},
|
||||
{
|
||||
"Label": "Option 2",
|
||||
"FeatureIds": ["FeatureId2"]
|
||||
}
|
||||
]
|
||||
@@ -459,9 +449,9 @@ Add a matching entry for your `GroupId` to `Config/Languages/en-US/Features.json
|
||||
|
||||
### Localizing UI Text
|
||||
|
||||
GUI text lives in `Config/Languages/en-US/`, not hardcoded in `Schemas/*.xaml` or `Scripts/GUI/*.ps1`. Adding or changing a Feature, Category, UI Group, or App means updating the matching English entry, or the GUI falls back to showing the raw ID.
|
||||
GUI text lives in `Config/Languages/en-US/`, not hardcoded in `Schemas/*.xaml`, `Scripts/GUI/*.ps1` or `Config/Features.json`. Adding or changing a Feature, Category, UI Group, or App means updating the matching English entry, or the GUI falls back to showing the raw ID.
|
||||
|
||||
- `Config/Languages/en-US/Features.json`, under `"Features"`, keyed by `FeatureId`. Add `Label`, `ToolTip`, `ApplyText`, `UndoLabel`, and `ApplyUndoText` to match whatever fields you set in `Config/Features.json`.
|
||||
- `Config/Languages/en-US/Features.json`, under `"Features"`, keyed by `FeatureId`: `Label` describes the feature, `ToolTip` explains its impact, and `ApplyText` is the operation message. For features supporting undo, also add `UndoLabel` and `ApplyUndoText`.
|
||||
- `Config/Languages/en-US/Features.json`, under `"UiGroups"`, keyed by `GroupId`. Add `Label`, `ToolTip`, and a `Values` map of `FeatureId: "Option label"` matching the group's `Values` array.
|
||||
- `Config/Languages/en-US/Categories.json`, keyed by `CategoryId`. Add a `Label` for every new category.
|
||||
- `Config/Languages/en-US/Apps.json`, keyed by `AppId`. Add `FriendlyName` and `Description` for every new app.
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
GH_REPO: ${{ github.repository }}
|
||||
RELEASE_TAG: ${{ inputs.tag }}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: master
|
||||
persist-credentials: false
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$global:LASTEXITCODE = 0
|
||||
./Scripts/Run-Tests.ps1 -Bootstrap
|
||||
./Tools/Run-Tests.ps1 -Bootstrap
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Release tests failed.' }
|
||||
|
||||
- name: Commit version and create release tag
|
||||
@@ -90,7 +90,7 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$source = @(Get-ChildItem release-source -Directory)[0].FullName
|
||||
& (Join-Path $source 'Scripts/Build-Release.ps1') -SourcePath $source -Version $env:RELEASE_TAG -OutputDirectory release-assets
|
||||
& (Join-Path $source 'Tools/Build-Release.ps1') -SourcePath $source -Version $env:RELEASE_TAG -OutputDirectory release-assets
|
||||
|
||||
- name: Create draft release
|
||||
shell: powershell
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
shell: powershell
|
||||
run: ./Scripts/Run-Tests.ps1 -Bootstrap
|
||||
run: ./Tools/Run-Tests.ps1 -Bootstrap
|
||||
|
||||
psscriptanalyzer:
|
||||
name: PSScriptAnalyzer (Error severity)
|
||||
@@ -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
|
||||
|
||||
+17
-543
File diff suppressed because it is too large
Load Diff
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "Benutzernamen eingeben",
|
||||
"HomeDefaultModeBtn": "Standardmodus",
|
||||
"HomeDefaultModeBtnTooltip": "Empfohlene Einstellungen schnell auswählen",
|
||||
"HomeCustomSetupBtn": "Benutzerdefiniert",
|
||||
"HomeCustomSetupBtn": "Benutzerdefinierter Modus",
|
||||
"HomeCustomSetupBtnTooltip": "Eigene Einstellungen manuell auswählen",
|
||||
"AppRemovalTabHeader": "App-Entfernung",
|
||||
"AppRemovalTitle": "App-Entfernung",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "Alle KI-Funktionen",
|
||||
"TweaksPresetAITooltip": "Alle KI-bezogenen Optimierungen auswählen",
|
||||
"TweaksDetectApplied": "Angewendete Optimierungen erkennen",
|
||||
"TweaksDetectAppliedTooltip": "Alle derzeit für den aktuellen Benutzer angewendeten Optimierungen erkennen",
|
||||
"TweaksDetectAppliedTooltip": "Bereits für den aktuellen Benutzer angewendete Optimierungen erkennen und die entsprechenden Kontrollkästchen aktivieren. Wenn Sie das Häkchen bei einer Optimierung entfernen, werden die zugehörigen Systemänderungen beim Anwenden der Änderungen rückgängig gemacht. Entfernte Apps werden dabei jedoch nicht neu installiert.",
|
||||
"TweaksSearchPlaceholder": "Optimierungen durchsuchen…",
|
||||
"TweaksSearchAutomationName": "Optimierungen durchsuchen",
|
||||
"DeployTabHeader": "Bereitstellungseinstellungen",
|
||||
"DeployTitle": "Bereitstellungseinstellungen",
|
||||
"DeploySubtitle": "Legen Sie fest, wie die ausgewählten Änderungen auf Ihr System angewendet werden",
|
||||
"DeployApplyToTitle": "Änderungen werden angewendet auf:",
|
||||
"DeployUserSelectionDescription": "Das aktuell angemeldete Benutzerprofil.",
|
||||
"DeployUserSelectionDescription": "Der aktuelle Benutzer",
|
||||
"DeployAppRemovalScopeTitle": "Apps werden entfernt für:",
|
||||
"DeployAppRemovalScopeAutomationName": "Umfang der App-Entfernung",
|
||||
"DeployAppRemovalScopeAllUsers": "Alle Benutzer",
|
||||
@@ -198,6 +198,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "Die Startmenü-Sicherung wurde für alle Benutzer erfolgreich wiederhergestellt. Die Änderungen werden bei der nächsten Anmeldung der Benutzer wirksam.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "Die Startmenü-Sicherung wurde für den aktuellen Benutzer erfolgreich wiederhergestellt. Die Änderungen werden bei Ihrer nächsten Anmeldung wirksam.",
|
||||
"RestoreOperationFailedMessage": "Wiederherstellung fehlgeschlagen: {0}",
|
||||
"RestoreRegistryFailures_one": "Wiederherstellung der Registrierung für {0} Schlüssel fehlgeschlagen. Details finden Sie in der Konsole.",
|
||||
"RestoreRegistryFailures_other": "Wiederherstellung der Registrierung für {0} Schlüssel fehlgeschlagen. Details finden Sie in der Konsole.",
|
||||
"RestoreOperationFailedTitle": "Wiederherstellung der Sicherung fehlgeschlagen",
|
||||
"RestoreUnexpectedError": "Ein unerwarteter Fehler ist aufgetreten.",
|
||||
"ImportExportCategoryApplications": "Anwendungen",
|
||||
"ImportExportCategorySystemTweaks": "Systemoptimierungen",
|
||||
@@ -252,13 +255,12 @@
|
||||
"TweaksAlreadyAppliedTooltip": "Diese Optimierung ist bereits angewendet und kann nicht automatisch rückgängig gemacht werden. Anweisungen zum manuellen Rückgängigmachen dieser Änderung finden Sie im Win11Debloat-Wiki.",
|
||||
"DeployChangeRemoveApps_one": "{0} Anwendung entfernen",
|
||||
"DeployChangeRemoveApps_other": "{0} Anwendungen entfernen",
|
||||
"DeployChangeUndoPrefix": "Rückgängig: {0}",
|
||||
"DeployNoChangesSelectedMessage": "Es wurden keine Änderungen ausgewählt.",
|
||||
"DeploySelectedChangesTitle": "Ausgewählte Änderungen",
|
||||
"DeployUserDescriptionCurrentUser": "Das aktuell angemeldete Benutzerprofil",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Das aktuell angemeldete Benutzerprofil: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Ein anderes Benutzerprofil auf diesem System",
|
||||
"DeployUserDescriptionOtherUserNamed": "Ein anderes Benutzerprofil auf diesem System: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "Der aktuelle Benutzer",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Der aktuelle Benutzer: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Ein anderer Benutzer",
|
||||
"DeployUserDescriptionOtherUserNamed": "Ein anderer Benutzer: {0}",
|
||||
"DeployUserDescriptionSysprep": "Die Standardbenutzervorlage, die für alle neuen Benutzer gilt, die ab diesem Zeitpunkt erstellt werden. Nützlich für die Sysprep-Bereitstellung.",
|
||||
"LogsMenuTitle": "Protokolle",
|
||||
"LogsFolderNotFoundMessage": "Kein Protokollordner gefunden unter: {0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Tipps, Tricks und vorgeschlagene Inhalte in ganz Windows deaktivieren",
|
||||
"ToolTip": "Diese Einstellung entfernt viele störende Ablenkungen aus Windows. Dazu gehören Benachrichtigungen, Erinnerungen und Werbung von Synchronisierungsanbietern. Außerdem wird die automatische Installation vorgeschlagener Apps verhindert.",
|
||||
"ToolTip": "Diese Einstellung entfernt viele störende Ablenkungen aus Windows. Dazu gehören Benachrichtigungen, Erinnerungen, Werbung und andere Unterbrechungen. Außerdem wird die automatische Installation vorgeschlagener Apps verhindert.",
|
||||
"ApplyText": "Tipps, Tricks, Vorschläge und Werbung in ganz Windows werden deaktiviert",
|
||||
"UndoLabel": "Tipps, Tricks und vorgeschlagene Inhalte in ganz Windows aktivieren",
|
||||
"ApplyUndoText": "Tipps, Tricks, Vorschläge und Werbung in ganz Windows werden aktiviert"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Bereich „Alle Apps“ im Startmenü anzeigen",
|
||||
"ApplyUndoText": "Bereich „Alle Apps“ im Startmenü wird aktiviert"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Speicherverbrauch der Windows-Suche durch Deaktivieren von WebView2 optimieren",
|
||||
"ToolTip": "Reduziert den Speicherverbrauch, indem die Verwendung von WebView2 in der Windows-Suche verhindert wird. Diese Einstellung gilt für alle Benutzer.",
|
||||
"ApplyText": "WebView2 in der Windows-Suche wird deaktiviert",
|
||||
"UndoLabel": "Standardverhalten der Windows-Suche wiederherstellen",
|
||||
"ApplyUndoText": "Standardverhalten der Windows-Suche wird wiederhergestellt"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Smartphone-Link-Integration im Startmenü deaktivieren",
|
||||
"ToolTip": "Hiermit wird die Smartphone-Link-Integration im Startmenü entfernt, wenn ein Mobilgerät mit Ihrem PC verknüpft ist.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Automatische Speicheroptimierung aktivieren",
|
||||
"ApplyUndoText": "Automatische Speicheroptimierung wird aktiviert"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Verzögerten Start von Autostart-Apps deaktivieren",
|
||||
"ToolTip": "Deaktiviert die Wartezeit für Apps, die automatisch mit Windows starten, sodass sie früher starten können. Auf älteren oder weniger leistungsstarken Geräten kann Windows dadurch nach der Anmeldung langsamer reagieren.",
|
||||
"ApplyText": "Verzögerung für Autostart-Apps wird deaktiviert",
|
||||
"UndoLabel": "Standardverzögerung für Autostart-Apps wiederherstellen",
|
||||
"ApplyUndoText": "Standardverzögerung für Autostart-Apps wird wiederhergestellt"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Schnellstart deaktivieren",
|
||||
"ToolTip": "Der Schnellstart hilft Ihrem PC, nach dem Herunterfahren schneller zu starten, indem ein Systemabbild auf dem Datenträger gespeichert wird. Das Deaktivieren des Schnellstarts kann bei bestimmten Problemen helfen, kann jedoch zu etwas längeren Startzeiten führen.",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"HomeUsernamePlaceholder": "Enter username",
|
||||
"HomeDefaultModeBtn": "Default Mode",
|
||||
"HomeDefaultModeBtnTooltip": "Quickly select the recommended settings",
|
||||
"HomeCustomSetupBtn": "Custom Setup",
|
||||
"HomeCustomSetupBtn": "Custom Mode",
|
||||
"HomeCustomSetupBtnTooltip": "Manually select your preferred settings",
|
||||
|
||||
"AppRemovalTabHeader": "App Removal",
|
||||
@@ -88,7 +88,7 @@
|
||||
"TweaksPresetAIAutomationName": "All AI features",
|
||||
"TweaksPresetAITooltip": "Select all AI related tweaks",
|
||||
"TweaksDetectApplied": "Detect applied tweaks",
|
||||
"TweaksDetectAppliedTooltip": "Detect all tweaks currently applied for the current user",
|
||||
"TweaksDetectAppliedTooltip": "Detect and check applied tweaks for the current user. Unchecking a tweak will undo any system changes when you apply changes, but will not reinstall removed apps.",
|
||||
"TweaksSearchPlaceholder": "Search tweaks...",
|
||||
"TweaksSearchAutomationName": "Search tweaks",
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
"DeployTitle": "Deployment Settings",
|
||||
"DeploySubtitle": "Configure how the selected changes will be applied to your system",
|
||||
"DeployApplyToTitle": "Changes will be applied to",
|
||||
"DeployUserSelectionDescription": "The currently logged-in user profile.",
|
||||
"DeployUserSelectionDescription": "The current user",
|
||||
"DeployAppRemovalScopeTitle": "Apps will be removed for",
|
||||
"DeployAppRemovalScopeAutomationName": "App Removal Scope",
|
||||
"DeployAppRemovalScopeAllUsers": "All users",
|
||||
@@ -211,6 +211,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "The Start Menu backup was successfully restored for all users. The changes will apply the next time users sign in.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "The Start Menu backup was successfully restored for the current user. The changes will apply the next time you sign in.",
|
||||
"RestoreOperationFailedMessage": "Restore failed: {0}",
|
||||
"RestoreRegistryFailures_one": "Registry restore failed for {0} key. See console for details.",
|
||||
"RestoreRegistryFailures_other": "Registry restore failed for {0} keys. See console for details.",
|
||||
"RestoreOperationFailedTitle": "Backup Restore Failed",
|
||||
"RestoreUnexpectedError": "An unexpected error occurred.",
|
||||
|
||||
"ImportExportCategoryApplications": "Applications",
|
||||
@@ -270,13 +273,12 @@
|
||||
|
||||
"DeployChangeRemoveApps_one": "Remove {0} application",
|
||||
"DeployChangeRemoveApps_other": "Remove {0} applications",
|
||||
"DeployChangeUndoPrefix": "Undo: {0}",
|
||||
"DeployNoChangesSelectedMessage": "No changes have been selected.",
|
||||
"DeploySelectedChangesTitle": "Selected Changes",
|
||||
"DeployUserDescriptionCurrentUser": "The currently logged-in user profile",
|
||||
"DeployUserDescriptionCurrentUserNamed": "The currently logged-in user profile: {0}",
|
||||
"DeployUserDescriptionOtherUser": "A different user profile on this system",
|
||||
"DeployUserDescriptionOtherUserNamed": "A different user profile on this system: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "The current user",
|
||||
"DeployUserDescriptionCurrentUserNamed": "The current user: {0}",
|
||||
"DeployUserDescriptionOtherUser": "A different user",
|
||||
"DeployUserDescriptionOtherUserNamed": "A different user: {0}",
|
||||
"DeployUserDescriptionSysprep": "The default user template, affecting all new users created after this point. Useful for Sysprep deployment.",
|
||||
|
||||
"LogsMenuTitle": "Logs",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Disable tips, tricks & suggested content throughout Windows",
|
||||
"ToolTip": "This setting removes many annoying distractions from Windows. This includes things like notifications, reminders and sync provider ads. It also prevents automated installation of suggested apps.",
|
||||
"ToolTip": "This setting removes many annoying distractions from Windows. This includes things like notifications, reminders, ads and other interruptions. It also prevents automated installation of suggested apps.",
|
||||
"ApplyText": "Disabling tips, tricks, suggestions and ads throughout Windows",
|
||||
"UndoLabel": "Enable tips, tricks & suggested content throughout Windows",
|
||||
"ApplyUndoText": "Enabling tips, tricks, suggestions and ads throughout Windows"
|
||||
@@ -181,6 +181,13 @@
|
||||
"UndoLabel": "Enable Microsoft Store app suggestions in search",
|
||||
"ApplyUndoText": "Enabling Microsoft Store app suggestions in search"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Optimize Windows search memory usage by disabling WebView2",
|
||||
"ToolTip": "Reduces memory usage by preventing Windows search from using WebView2. This setting applies to all users.",
|
||||
"ApplyText": "Disabling WebView2 in Windows search",
|
||||
"UndoLabel": "Restore default Windows search behavior",
|
||||
"ApplyUndoText": "Restoring default Windows search behavior"
|
||||
},
|
||||
"DisableSettings365Ads": {
|
||||
"Label": "Hide Microsoft 365 Copilot ads in Settings Home",
|
||||
"ToolTip": "This will turn off the Microsoft 365 Copilot ads that appear in the Settings Home page.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Enable Storage Sense automatic disk cleanup",
|
||||
"ApplyUndoText": "Enabling Storage Sense automatic disk cleanup"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Disable delayed launch of startup apps",
|
||||
"ToolTip": "Disables the delay before Windows runs startup apps after you sign in, allowing them to start sooner. This can make Windows less responsive after sign-in on less powerful or older devices.",
|
||||
"ApplyText": "Disabling startup app delay",
|
||||
"UndoLabel": "Restore default startup app delay",
|
||||
"ApplyUndoText": "Restoring default startup app delay"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Disable fast start-up",
|
||||
"ToolTip": "Fast Start-up helps your PC start faster after shutdown by saving a system image to disk. Disabling Fast Start-up can help with certain issues, but may result in slightly longer boot times.",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "Escriba el nombre de usuario",
|
||||
"HomeDefaultModeBtn": "Modo predeterminado",
|
||||
"HomeDefaultModeBtnTooltip": "Seleccionar rápidamente la configuración recomendada",
|
||||
"HomeCustomSetupBtn": "Ajustes personalizados",
|
||||
"HomeCustomSetupBtn": "Modo personalizado",
|
||||
"HomeCustomSetupBtnTooltip": "Seleccionar manualmente la configuración preferida",
|
||||
"AppRemovalTabHeader": "Quitar aplicaciones",
|
||||
"AppRemovalTitle": "Quitar aplicaciones",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "Todas las funciones de IA",
|
||||
"TweaksPresetAITooltip": "Seleccionar todos los ajustes relacionados con la IA",
|
||||
"TweaksDetectApplied": "Detectar los ajustes aplicados",
|
||||
"TweaksDetectAppliedTooltip": "Detectar todos los ajustes aplicados actualmente para el usuario actual",
|
||||
"TweaksDetectAppliedTooltip": "Detectar los ajustes aplicados al usuario actual y marcar sus casillas. Si desmarca un ajuste, se desharán los cambios realizados en el sistema cuando aplique los cambios, pero no se reinstalarán las aplicaciones eliminadas.",
|
||||
"TweaksSearchPlaceholder": "Buscar ajustes...",
|
||||
"TweaksSearchAutomationName": "Buscar ajustes",
|
||||
"DeployTabHeader": "Configuración de implementación",
|
||||
"DeployTitle": "Configuración de implementación",
|
||||
"DeploySubtitle": "Configure cómo se aplicarán los cambios seleccionados al sistema",
|
||||
"DeployApplyToTitle": "Los cambios se aplicarán a",
|
||||
"DeployUserSelectionDescription": "El perfil de usuario con la sesión iniciada actualmente.",
|
||||
"DeployUserSelectionDescription": "El usuario actual",
|
||||
"DeployAppRemovalScopeTitle": "Las aplicaciones se quitarán para",
|
||||
"DeployAppRemovalScopeAutomationName": "Ámbito de eliminación de aplicaciones",
|
||||
"DeployAppRemovalScopeAllUsers": "Todos los usuarios",
|
||||
@@ -198,6 +198,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "La copia de seguridad del menú Inicio se ha restaurado correctamente para todos los usuarios. Los cambios se aplicarán la próxima vez que los usuarios inicien sesión.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "La copia de seguridad del menú Inicio se ha restaurado correctamente para el usuario actual. Los cambios se aplicarán la próxima vez que inicie sesión.",
|
||||
"RestoreOperationFailedMessage": "Error al restaurar: {0}",
|
||||
"RestoreRegistryFailures_one": "La restauración del Registro ha fallado para {0} clave. Consulte la consola para obtener más información.",
|
||||
"RestoreRegistryFailures_other": "La restauración del Registro ha fallado para {0} claves. Consulte la consola para obtener más información.",
|
||||
"RestoreOperationFailedTitle": "Error al restaurar la copia de seguridad",
|
||||
"RestoreUnexpectedError": "Se ha producido un error inesperado.",
|
||||
"ImportExportCategoryApplications": "Aplicaciones",
|
||||
"ImportExportCategorySystemTweaks": "Ajustes del sistema",
|
||||
@@ -252,13 +255,12 @@
|
||||
"TweaksAlreadyAppliedTooltip": "Este ajuste ya está aplicado y no se puede deshacer automáticamente. Visite la wiki de Win11Debloat para obtener instrucciones sobre cómo revertir este cambio manualmente.",
|
||||
"DeployChangeRemoveApps_one": "Quitar {0} aplicación",
|
||||
"DeployChangeRemoveApps_other": "Quitar {0} aplicaciones",
|
||||
"DeployChangeUndoPrefix": "Deshacer: {0}",
|
||||
"DeployNoChangesSelectedMessage": "No se ha seleccionado ningún cambio.",
|
||||
"DeploySelectedChangesTitle": "Cambios seleccionados",
|
||||
"DeployUserDescriptionCurrentUser": "El perfil de usuario con la sesión iniciada actualmente",
|
||||
"DeployUserDescriptionCurrentUserNamed": "El perfil de usuario con la sesión iniciada actualmente: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Otro perfil de usuario de este sistema",
|
||||
"DeployUserDescriptionOtherUserNamed": "Otro perfil de usuario de este sistema: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "El usuario actual",
|
||||
"DeployUserDescriptionCurrentUserNamed": "El usuario actual: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Otro usuario",
|
||||
"DeployUserDescriptionOtherUserNamed": "Otro usuario: {0}",
|
||||
"DeployUserDescriptionSysprep": "La plantilla de usuario predeterminada, que afecta a todos los usuarios nuevos creados a partir de ahora. Útil para la implementación con Sysprep.",
|
||||
"LogsMenuTitle": "Archivos de registro",
|
||||
"LogsFolderNotFoundMessage": "No se ha encontrado ninguna carpeta de registros en: {0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Deshabilitar los consejos, los trucos y el contenido sugerido en todo Windows",
|
||||
"ToolTip": "Este ajuste elimina muchas distracciones molestas de Windows, como notificaciones, recordatorios y anuncios de proveedores de sincronización. También impide la instalación automática de las aplicaciones sugeridas.",
|
||||
"ToolTip": "Este ajuste elimina muchas distracciones molestas de Windows, como notificaciones, recordatorios, anuncios y otras interrupciones. También impide la instalación automática de las aplicaciones sugeridas.",
|
||||
"ApplyText": "Deshabilitando consejos, trucos, sugerencias y anuncios en todo Windows",
|
||||
"UndoLabel": "Habilitar los consejos, los trucos y el contenido sugerido en todo Windows",
|
||||
"ApplyUndoText": "Habilitando consejos, trucos, sugerencias y anuncios en todo Windows"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Mostrar la sección «Todas las aplicaciones» del menú Inicio",
|
||||
"ApplyUndoText": "Habilitando la sección «Todas las aplicaciones» del menú Inicio"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Optimizar el uso de memoria de la búsqueda de Windows deshabilitando WebView2",
|
||||
"ToolTip": "Reduce el uso de memoria al impedir que la búsqueda de Windows use WebView2. Esta configuración se aplica a todos los usuarios.",
|
||||
"ApplyText": "Deshabilitando WebView2 en la búsqueda de Windows",
|
||||
"UndoLabel": "Restaurar el comportamiento predeterminado de la búsqueda de Windows",
|
||||
"ApplyUndoText": "Restaurando el comportamiento predeterminado de la búsqueda de Windows"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Deshabilitar la integración de Enlace Móvil en el menú Inicio",
|
||||
"ToolTip": "Quitará la integración de Enlace Móvil del menú Inicio cuando haya un dispositivo móvil vinculado al equipo.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Habilitar la limpieza automática de disco de Sensor de almacenamiento",
|
||||
"ApplyUndoText": "Habilitando la limpieza automática de disco de Sensor de almacenamiento"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Deshabilitar el retraso de las aplicaciones de inicio",
|
||||
"ToolTip": "Deshabilita el tiempo de espera de las aplicaciones que se inician automáticamente con Windows, para que se abran antes. Esto puede hacer que Windows responda más lentamente después de iniciar sesión en dispositivos más antiguos o menos potentes.",
|
||||
"ApplyText": "Deshabilitando el retraso de las aplicaciones de inicio",
|
||||
"UndoLabel": "Restaurar el retraso predeterminado de las aplicaciones de inicio",
|
||||
"ApplyUndoText": "Restaurando el retraso predeterminado de las aplicaciones de inicio"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Deshabilitar el inicio rápido",
|
||||
"ToolTip": "El inicio rápido ayuda a que el equipo se inicie más rápido después de apagarlo, ya que guarda una imagen del sistema en el disco. Deshabilitarlo puede ayudar con determinados problemas, aunque puede alargar ligeramente el tiempo de arranque.",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "Saisir le nom d'utilisateur",
|
||||
"HomeDefaultModeBtn": "Mode par défaut",
|
||||
"HomeDefaultModeBtnTooltip": "Sélectionnez rapidement les paramètres recommandés",
|
||||
"HomeCustomSetupBtn": "Configuration perso.",
|
||||
"HomeCustomSetupBtn": "Mode personnalisé",
|
||||
"HomeCustomSetupBtnTooltip": "Sélectionnez manuellement les paramètres de votre choix",
|
||||
"AppRemovalTabHeader": "Suppr. d'applications",
|
||||
"AppRemovalTitle": "Suppression d'applications",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "Toutes les fonctionnalités d'IA",
|
||||
"TweaksPresetAITooltip": "Sélectionnez tous les ajustements liés à l'IA",
|
||||
"TweaksDetectApplied": "Détecter les ajustements appliqués",
|
||||
"TweaksDetectAppliedTooltip": "Détectez tous les ajustements actuellement appliqués pour l'utilisateur actuel",
|
||||
"TweaksDetectAppliedTooltip": "Détecter les ajustements appliqués à l’utilisateur actuel et cocher les cases correspondantes. Si vous décochez un ajustement, les modifications apportées au système seront annulées lorsque vous appliquerez les modifications, mais les applications supprimées ne seront pas réinstallées.",
|
||||
"TweaksSearchPlaceholder": "Rechercher des ajustements...",
|
||||
"TweaksSearchAutomationName": "Rechercher des ajustements",
|
||||
"DeployTabHeader": "Paramètres de déploiement",
|
||||
"DeployTitle": "Paramètres de déploiement",
|
||||
"DeploySubtitle": "Configurez la façon dont les modifications sélectionnées seront appliquées à votre système",
|
||||
"DeployApplyToTitle": "Les modifications seront appliquées à",
|
||||
"DeployUserSelectionDescription": "Le profil d'utilisateur actuellement connecté.",
|
||||
"DeployUserSelectionDescription": "L’utilisateur actuel",
|
||||
"DeployAppRemovalScopeTitle": "Les applications seront supprimées pour",
|
||||
"DeployAppRemovalScopeAutomationName": "Portée de la suppression d'applications",
|
||||
"DeployAppRemovalScopeAllUsers": "Tous les utilisateurs",
|
||||
@@ -198,6 +198,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "La sauvegarde du menu Démarrer a été restaurée avec succès pour tous les utilisateurs. Les modifications s'appliqueront lors de la prochaine connexion des utilisateurs.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "La sauvegarde du menu Démarrer a été restaurée avec succès pour l'utilisateur actuel. Les modifications s'appliqueront lors de votre prochaine connexion.",
|
||||
"RestoreOperationFailedMessage": "Échec de la restauration : {0}",
|
||||
"RestoreRegistryFailures_one": "Échec de la restauration du Registre pour {0} clé. Consultez la console pour plus de détails.",
|
||||
"RestoreRegistryFailures_other": "Échec de la restauration du Registre pour {0} clés. Consultez la console pour plus de détails.",
|
||||
"RestoreOperationFailedTitle": "Échec de la restauration de la sauvegarde",
|
||||
"RestoreUnexpectedError": "Une erreur inattendue s'est produite.",
|
||||
"ImportExportCategoryApplications": "Applications",
|
||||
"ImportExportCategorySystemTweaks": "Ajustements système",
|
||||
@@ -252,13 +255,12 @@
|
||||
"TweaksAlreadyAppliedTooltip": "Cet ajustement est déjà appliqué et ne peut pas être annulé automatiquement. Consultez le wiki de Win11Debloat pour savoir comment rétablir manuellement cette modification.",
|
||||
"DeployChangeRemoveApps_one": "Supprimer {0} application",
|
||||
"DeployChangeRemoveApps_other": "Supprimer {0} applications",
|
||||
"DeployChangeUndoPrefix": "Rétablir : {0}",
|
||||
"DeployNoChangesSelectedMessage": "Aucune modification n'a été sélectionnée.",
|
||||
"DeploySelectedChangesTitle": "Modifications sélectionnées",
|
||||
"DeployUserDescriptionCurrentUser": "Le profil d'utilisateur actuellement connecté",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Le profil d'utilisateur actuellement connecté : {0}",
|
||||
"DeployUserDescriptionOtherUser": "Un autre profil d'utilisateur sur ce système",
|
||||
"DeployUserDescriptionOtherUserNamed": "Un autre profil d'utilisateur sur ce système : {0}",
|
||||
"DeployUserDescriptionCurrentUser": "L’utilisateur actuel",
|
||||
"DeployUserDescriptionCurrentUserNamed": "L’utilisateur actuel : {0}",
|
||||
"DeployUserDescriptionOtherUser": "Un autre utilisateur",
|
||||
"DeployUserDescriptionOtherUserNamed": "Un autre utilisateur : {0}",
|
||||
"DeployUserDescriptionSysprep": "Le modèle d'utilisateur par défaut, qui s'applique à tous les nouveaux utilisateurs créés à partir de maintenant. Utile pour un déploiement Sysprep.",
|
||||
"LogsMenuTitle": "Journaux",
|
||||
"LogsFolderNotFoundMessage": "Aucun dossier de journaux trouvé à l'emplacement : {0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Désactiver les conseils, astuces et contenus suggérés dans Windows",
|
||||
"ToolTip": "Ce paramètre supprime de nombreuses distractions gênantes dans Windows, notamment les notifications, les rappels et les publicités des fournisseurs de synchronisation. Il empêche également l'installation automatique des applications suggérées.",
|
||||
"ToolTip": "Ce paramètre supprime de nombreuses distractions gênantes dans Windows, notamment les notifications, les rappels, les publicités et autres interruptions. Il empêche également l'installation automatique des applications suggérées.",
|
||||
"ApplyText": "Désactivation des conseils, astuces, suggestions et publicités dans Windows",
|
||||
"UndoLabel": "Activer les conseils, astuces et contenus suggérés dans Windows",
|
||||
"ApplyUndoText": "Activation des conseils, astuces, suggestions et publicités dans Windows"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Afficher la section « Toutes les applications » du menu Démarrer",
|
||||
"ApplyUndoText": "Activation de la section « Toutes les applications » du menu Démarrer"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Optimiser l’utilisation de la mémoire de la recherche Windows en désactivant WebView2",
|
||||
"ToolTip": "Réduit l’utilisation de la mémoire en empêchant la recherche Windows d’utiliser WebView2. Ce paramètre s’applique à tous les utilisateurs.",
|
||||
"ApplyText": "Désactivation de WebView2 dans la recherche Windows",
|
||||
"UndoLabel": "Restaurer le fonctionnement par défaut de la recherche Windows",
|
||||
"ApplyUndoText": "Restauration du fonctionnement par défaut de la recherche Windows"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Désactiver l'intégration de Mobile connecté dans le menu Démarrer",
|
||||
"ToolTip": "Cela supprime l'intégration de Mobile connecté dans le menu Démarrer lorsque vous avez un appareil mobile associé à votre PC.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Activer le nettoyage automatique du disque (Assistant Stockage)",
|
||||
"ApplyUndoText": "Activation du nettoyage automatique du disque (Assistant Stockage)"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Désactiver le lancement différé des applications au démarrage",
|
||||
"ToolTip": "Supprime le délai de lancement des applications qui démarrent automatiquement avec Windows, pour leur permettre de démarrer plus tôt. Sur les appareils plus anciens ou moins puissants, Windows peut alors être moins réactif après la connexion.",
|
||||
"ApplyText": "Désactivation du délai de lancement des applications au démarrage",
|
||||
"UndoLabel": "Rétablir le délai de lancement par défaut des applications au démarrage",
|
||||
"ApplyUndoText": "Rétablissement du délai de lancement par défaut des applications au démarrage"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Désactiver le démarrage rapide",
|
||||
"ToolTip": "Le démarrage rapide permet à votre PC de démarrer plus vite après un arrêt en enregistrant une image système sur le disque. Le désactiver peut résoudre certains problèmes, mais les temps de démarrage peuvent être légèrement plus longs.",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "Inserisci nome utente",
|
||||
"HomeDefaultModeBtn": "Modalità predefinita",
|
||||
"HomeDefaultModeBtnTooltip": "Seleziona rapidamente le impostazioni consigliate",
|
||||
"HomeCustomSetupBtn": "Configurazione personalizzata",
|
||||
"HomeCustomSetupBtn": "Modalità personalizzata",
|
||||
"HomeCustomSetupBtnTooltip": "Seleziona manualmente le impostazioni che preferisci",
|
||||
"AppRemovalTabHeader": "Rimozione app",
|
||||
"AppRemovalTitle": "Rimozione app",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "Tutte le funzionalità IA",
|
||||
"TweaksPresetAITooltip": "Seleziona tutte le modifiche relative all'IA",
|
||||
"TweaksDetectApplied": "Rileva modifiche applicate",
|
||||
"TweaksDetectAppliedTooltip": "Rileva tutte le modifiche attualmente applicate all'utente corrente",
|
||||
"TweaksDetectAppliedTooltip": "Rileva le modifiche applicate all’utente corrente e seleziona le caselle corrispondenti. Deselezionando una modifica, le relative modifiche al sistema verranno annullate quando si applicano le modifiche, ma le app rimosse non verranno reinstallate.",
|
||||
"TweaksSearchPlaceholder": "Cerca modifiche...",
|
||||
"TweaksSearchAutomationName": "Cerca modifiche",
|
||||
"DeployTabHeader": "Impostazioni di distribuzione",
|
||||
"DeployTitle": "Impostazioni di distribuzione",
|
||||
"DeploySubtitle": "Configura come applicare al sistema le modifiche selezionate",
|
||||
"DeployApplyToTitle": "Le modifiche verranno applicate a",
|
||||
"DeployUserSelectionDescription": "Il profilo dell'utente attualmente connesso.",
|
||||
"DeployUserSelectionDescription": "L’utente corrente",
|
||||
"DeployAppRemovalScopeTitle": "Le app verranno rimosse per",
|
||||
"DeployAppRemovalScopeAutomationName": "Ambito rimozione app",
|
||||
"DeployAppRemovalScopeAllUsers": "Tutti gli utenti",
|
||||
@@ -198,6 +198,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "Il backup del Menu Start è stato ripristinato correttamente per tutti gli utenti. Le modifiche verranno applicate al prossimo accesso degli utenti.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "Il backup del Menu Start è stato ripristinato correttamente per l'utente corrente. Le modifiche verranno applicate al prossimo accesso.",
|
||||
"RestoreOperationFailedMessage": "Ripristino non riuscito: {0}",
|
||||
"RestoreRegistryFailures_one": "Ripristino del Registro di sistema non riuscito per {0} chiave. Consulta la console per i dettagli.",
|
||||
"RestoreRegistryFailures_other": "Ripristino del Registro di sistema non riuscito per {0} chiavi. Consulta la console per i dettagli.",
|
||||
"RestoreOperationFailedTitle": "Ripristino del backup non riuscito",
|
||||
"RestoreUnexpectedError": "Si è verificato un errore imprevisto.",
|
||||
"ImportExportCategoryApplications": "Applicazioni",
|
||||
"ImportExportCategorySystemTweaks": "Modifiche di sistema",
|
||||
@@ -252,13 +255,12 @@
|
||||
"TweaksAlreadyAppliedTooltip": "Questa modifica è già applicata e non può essere annullata automaticamente. Visita la wiki di Win11Debloat per le istruzioni su come annullare manualmente questa modifica.",
|
||||
"DeployChangeRemoveApps_one": "Rimuovi {0} applicazione",
|
||||
"DeployChangeRemoveApps_other": "Rimuovi {0} applicazioni",
|
||||
"DeployChangeUndoPrefix": "Annulla: {0}",
|
||||
"DeployNoChangesSelectedMessage": "Non è stata selezionata alcuna modifica.",
|
||||
"DeploySelectedChangesTitle": "Modifiche selezionate",
|
||||
"DeployUserDescriptionCurrentUser": "Il profilo dell'utente attualmente connesso",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Il profilo dell'utente attualmente connesso: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Un profilo utente diverso presente nel sistema",
|
||||
"DeployUserDescriptionOtherUserNamed": "Un profilo utente diverso presente nel sistema: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "L’utente corrente",
|
||||
"DeployUserDescriptionCurrentUserNamed": "L’utente corrente: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Un altro utente",
|
||||
"DeployUserDescriptionOtherUserNamed": "Un altro utente: {0}",
|
||||
"DeployUserDescriptionSysprep": "Il modello utente predefinito, che influisce su tutti i nuovi utenti creati successivamente. Utile per la distribuzione tramite Sysprep.",
|
||||
"LogsMenuTitle": "Log",
|
||||
"LogsFolderNotFoundMessage": "Nessuna cartella dei log trovata in: {0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Disabilita suggerimenti, consigli e contenuti suggeriti in Windows",
|
||||
"ToolTip": "Questa impostazione rimuove molte distrazioni fastidiose da Windows. Include elementi come notifiche, promemoria e annunci dei provider di sincronizzazione. Impedisce inoltre l'installazione automatica delle app suggerite.",
|
||||
"ToolTip": "Questa impostazione rimuove molte distrazioni fastidiose da Windows, come notifiche, promemoria, annunci e altre interruzioni. Impedisce inoltre l'installazione automatica delle app suggerite.",
|
||||
"ApplyText": "Disabilitazione di suggerimenti, consigli, contenuti suggeriti e annunci in Windows",
|
||||
"UndoLabel": "Abilita suggerimenti, consigli e contenuti suggeriti in Windows",
|
||||
"ApplyUndoText": "Abilitazione di suggerimenti, consigli, contenuti suggeriti e annunci in Windows"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Mostra la sezione 'Tutte le app' nel Menu Start",
|
||||
"ApplyUndoText": "Abilitazione della sezione 'Tutte le app' nel Menu Start"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Ottimizza l'utilizzo della memoria della ricerca di Windows disabilitando WebView2",
|
||||
"ToolTip": "Riduce l'utilizzo della memoria impedendo alla ricerca di Windows di usare WebView2. Questa impostazione si applica a tutti gli utenti.",
|
||||
"ApplyText": "Disabilitazione di WebView2 nella ricerca di Windows",
|
||||
"UndoLabel": "Ripristina il funzionamento predefinito della ricerca di Windows",
|
||||
"ApplyUndoText": "Ripristino del funzionamento predefinito della ricerca di Windows"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Disabilita l'integrazione di Collegamento al telefono nel Menu Start",
|
||||
"ToolTip": "Rimuove l'integrazione di Collegamento al telefono dal Menu Start quando hai un dispositivo mobile collegato al PC.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Abilita la pulizia automatica del disco di Sensore memoria",
|
||||
"ApplyUndoText": "Abilitazione della pulizia automatica del disco di Sensore memoria"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Disabilita il ritardo delle app ad avvio automatico",
|
||||
"ToolTip": "Disabilita il tempo di attesa per le app che si avviano automaticamente con Windows, consentendo loro di avviarsi prima. Sui dispositivi più datati o meno potenti, Windows potrebbe risultare meno reattivo dopo l'accesso.",
|
||||
"ApplyText": "Disabilitazione del ritardo delle app ad avvio automatico",
|
||||
"UndoLabel": "Ripristina il ritardo predefinito delle app ad avvio automatico",
|
||||
"ApplyUndoText": "Ripristino del ritardo predefinito delle app ad avvio automatico"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Disabilita l'avvio rapido",
|
||||
"ToolTip": "L'avvio rapido aiuta il PC ad avviarsi più velocemente dopo l'arresto salvando un'immagine del sistema sul disco. Disabilitare l'avvio rapido può aiutare con alcuni problemi, ma può comportare tempi di avvio leggermente più lunghi.",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"HomeUsernamePlaceholder": "ユーザー名を入力",
|
||||
"HomeDefaultModeBtn": "既定モード",
|
||||
"HomeDefaultModeBtnTooltip": "推奨設定をすばやく選択します",
|
||||
"HomeCustomSetupBtn": "カスタム設定",
|
||||
"HomeCustomSetupBtn": "カスタムモード",
|
||||
"HomeCustomSetupBtnTooltip": "好みの設定を手動で選択します",
|
||||
|
||||
"AppRemovalTabHeader": "アプリの削除",
|
||||
@@ -88,7 +88,7 @@
|
||||
"TweaksPresetAIAutomationName": "すべての AI 機能",
|
||||
"TweaksPresetAITooltip": "AI 関連のすべての調整を選択します",
|
||||
"TweaksDetectApplied": "適用済みの調整を検出",
|
||||
"TweaksDetectAppliedTooltip": "現在のユーザーに現在適用されているすべての調整を検出します",
|
||||
"TweaksDetectAppliedTooltip": "現在のユーザーに適用済みの調整を検出し、チェックを入れます。調整のチェックを外すと、変更を適用したときにその調整によるシステムの変更が元に戻りますが、削除されたアプリは再インストールされません。",
|
||||
"TweaksSearchPlaceholder": "調整を検索...",
|
||||
"TweaksSearchAutomationName": "調整の検索",
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
"DeployTitle": "展開設定",
|
||||
"DeploySubtitle": "選択した変更をシステムにどのように適用するかを構成します",
|
||||
"DeployApplyToTitle": "変更の適用先",
|
||||
"DeployUserSelectionDescription": "現在サインインしているユーザー プロファイル。",
|
||||
"DeployUserSelectionDescription": "現在のユーザー",
|
||||
"DeployAppRemovalScopeTitle": "アプリの削除対象",
|
||||
"DeployAppRemovalScopeAutomationName": "アプリの削除対象範囲",
|
||||
"DeployAppRemovalScopeAllUsers": "すべてのユーザー",
|
||||
@@ -210,6 +210,8 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "すべてのユーザーのスタート メニュー バックアップが正常に復元されました。変更は次回サインイン時に適用されます。",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "現在のユーザーのスタート メニュー バックアップが正常に復元されました。変更は次回サインイン時に適用されます。",
|
||||
"RestoreOperationFailedMessage": "復元に失敗しました: {0}",
|
||||
"RestoreRegistryFailures_other": "{0} 件のレジストリ キーの復元に失敗しました。詳細はコンソールを確認してください。",
|
||||
"RestoreOperationFailedTitle": "バックアップの復元に失敗しました",
|
||||
"RestoreUnexpectedError": "予期しないエラーが発生しました。",
|
||||
|
||||
"ImportExportCategoryApplications": "アプリケーション",
|
||||
@@ -265,13 +267,12 @@
|
||||
"TweaksAlreadyAppliedTooltip": "この調整は既に適用されており、自動的に元に戻すことはできません。この変更を手動で元に戻す手順については、Win11Debloat の Wiki を参照してください。",
|
||||
|
||||
"DeployChangeRemoveApps_other": "{0} 個のアプリケーションを削除",
|
||||
"DeployChangeUndoPrefix": "元に戻す: {0}",
|
||||
"DeployNoChangesSelectedMessage": "変更が選択されていません。",
|
||||
"DeploySelectedChangesTitle": "選択された変更",
|
||||
"DeployUserDescriptionCurrentUser": "現在サインインしているユーザー プロファイル",
|
||||
"DeployUserDescriptionCurrentUserNamed": "現在サインインしているユーザー プロファイル: {0}",
|
||||
"DeployUserDescriptionOtherUser": "このシステムの別のユーザー プロファイル",
|
||||
"DeployUserDescriptionOtherUserNamed": "このシステムの別のユーザー プロファイル: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "現在のユーザー",
|
||||
"DeployUserDescriptionCurrentUserNamed": "現在のユーザー: {0}",
|
||||
"DeployUserDescriptionOtherUser": "別のユーザー",
|
||||
"DeployUserDescriptionOtherUserNamed": "別のユーザー: {0}",
|
||||
"DeployUserDescriptionSysprep": "既定のユーザー テンプレート。これ以降に作成されるすべての新しいユーザーに影響します。Sysprep 展開に便利です。",
|
||||
|
||||
"LogsMenuTitle": "ログ",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Windows 全体のヒント、おすすめコンテンツを無効にする",
|
||||
"ToolTip": "この設定は、Windows の煩わしい表示を多数削除します。これには通知、リマインダー、同期プロバイダーの広告などが含まれます。また、おすすめアプリの自動インストールも防止します。",
|
||||
"ToolTip": "この設定は、Windows の煩わしい表示や割り込みを多数取り除きます。これには通知、リマインダー、広告などが含まれます。また、おすすめアプリの自動インストールも防止します。",
|
||||
"ApplyText": "Windows 全体のヒント、おすすめ、広告を無効にしています",
|
||||
"UndoLabel": "Windows 全体のヒント、おすすめコンテンツを有効にする",
|
||||
"ApplyUndoText": "Windows 全体のヒント、おすすめ、広告を有効にしています"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "スタート メニューの「すべてのアプリ」セクションを表示する",
|
||||
"ApplyUndoText": "スタート メニューの「すべてのアプリ」セクションを有効にしています"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "WebView2 を無効にしてWindows 検索のメモリ使用量を最適化する",
|
||||
"ToolTip": "Windows 検索で WebView2 を使用しないようにして、メモリ使用量を削減します。この設定はすべてのユーザーに適用されます。",
|
||||
"ApplyText": "Windows 検索の WebView2 を無効にしています",
|
||||
"UndoLabel": "Windows 検索の動作を既定に戻す",
|
||||
"ApplyUndoText": "Windows 検索の動作を既定に戻しています"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "スタート メニューのスマートフォン連携を無効にする",
|
||||
"ToolTip": "PC にモバイル デバイスをリンクしている場合に、スタート メニューに表示されるスマートフォン連携を削除します。",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "ストレージ センサーの自動ディスク クリーンアップを有効にする",
|
||||
"ApplyUndoText": "ストレージ センサーの自動ディスク クリーンアップを有効にしています"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "スタートアップ アプリの起動遅延を無効にする",
|
||||
"ToolTip": "Windows とともに自動起動するアプリの待機時間をなくし、より早く起動できるようにします。古いデバイスや性能が低いデバイスでは、サインイン後の Windows の応答性が低下する場合があります。",
|
||||
"ApplyText": "スタートアップ アプリの起動遅延を無効にしています",
|
||||
"UndoLabel": "スタートアップ アプリの起動遅延を既定に戻す",
|
||||
"ApplyUndoText": "スタートアップ アプリの起動遅延を既定に戻しています"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "高速スタートアップを無効にする",
|
||||
"ToolTip": "高速スタートアップは、システム イメージをディスクに保存することでシャットダウン後の PC の起動を高速化します。高速スタートアップを無効にすると特定の問題の解決に役立つ場合がありますが、起動時間がわずかに長くなる可能性があります。",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "사용자 이름 입력",
|
||||
"HomeDefaultModeBtn": "기본 모드",
|
||||
"HomeDefaultModeBtnTooltip": "권장 설정을 빠르게 선택합니다",
|
||||
"HomeCustomSetupBtn": "사용자 지정 설정",
|
||||
"HomeCustomSetupBtn": "사용자 지정 모드",
|
||||
"HomeCustomSetupBtnTooltip": "원하는 설정을 직접 선택합니다",
|
||||
"AppRemovalTabHeader": "앱 제거",
|
||||
"AppRemovalTitle": "앱 제거",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "모든 AI 기능",
|
||||
"TweaksPresetAITooltip": "AI와 관련된 모든 조정 항목을 선택합니다",
|
||||
"TweaksDetectApplied": "적용된 조정 항목 감지",
|
||||
"TweaksDetectAppliedTooltip": "현재 사용자에게 적용된 모든 조정 항목을 감지합니다",
|
||||
"TweaksDetectAppliedTooltip": "현재 사용자에게 적용된 조정 항목을 감지하여 체크 표시합니다. 조정 항목의 체크를 해제하면 변경 사항을 적용할 때 해당 항목으로 인한 시스템 변경 사항이 취소되지만, 제거된 앱은 다시 설치되지 않습니다.",
|
||||
"TweaksSearchPlaceholder": "조정 항목 검색...",
|
||||
"TweaksSearchAutomationName": "조정 항목 검색",
|
||||
"DeployTabHeader": "배포 설정",
|
||||
"DeployTitle": "배포 설정",
|
||||
"DeploySubtitle": "선택한 변경 사항을 시스템에 적용할 방법을 구성합니다",
|
||||
"DeployApplyToTitle": "변경 사항 적용 대상",
|
||||
"DeployUserSelectionDescription": "현재 로그인한 사용자 프로필입니다.",
|
||||
"DeployUserSelectionDescription": "현재 사용자",
|
||||
"DeployAppRemovalScopeTitle": "앱 제거 대상",
|
||||
"DeployAppRemovalScopeAutomationName": "앱 제거 범위",
|
||||
"DeployAppRemovalScopeAllUsers": "모든 사용자",
|
||||
@@ -132,7 +132,6 @@
|
||||
"ApplyCompletionMessageVerificationUnavailable": "모든 변경 사항이 오류 없이 적용되었지만, Win11Debloat에서 선택한 모든 앱이 제대로 제거되었는지 확인하지는 못했습니다.",
|
||||
"WingetUserScopeUninstallDeferred": "{0} 앱은 사용자 범위로 설치되어 있어 관리자 권한으로 실행 중인 WinGet에서 제거할 수 없습니다. 제거를 완료하려면 PC를 다시 시작하거나, 로그아웃한 뒤 {1} 계정으로 다시 로그인하세요.",
|
||||
"WingetAllUsersUninstallDeferred": "{0} 앱은 사용자 범위로 설치되어 있어 관리자 권한으로 실행 중인 WinGet에서 제거할 수 없습니다. 기존의 모든 사용자 프로필과 나중에 만들어지는 프로필에 대해 로그인할 때 제거가 실행되도록 예약되었습니다.",
|
||||
"ApplyCompletionMessageFailures_one": "변경 사항 {0}개가 실패했습니다. 자세한 내용은 콘솔을 참조하세요.",
|
||||
"ApplyCompletionMessageFailures_other": "변경 사항 {0}개가 실패했습니다. 자세한 내용은 콘솔을 참조하세요.",
|
||||
"ApplyCompletionMessageReady": "시스템이 준비되었습니다. Win11Debloat를 사용해 주셔서 감사합니다!",
|
||||
"ApplyCompletionTitleError": "오류",
|
||||
@@ -198,6 +197,8 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "모든 사용자의 시작 메뉴 백업을 복원했습니다. 변경 사항은 다음에 로그인할 때 적용됩니다.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "현재 사용자의 시작 메뉴 백업을 복원했습니다. 변경 사항은 다음에 로그인할 때 적용됩니다.",
|
||||
"RestoreOperationFailedMessage": "복원하지 못했습니다: {0}",
|
||||
"RestoreRegistryFailures_other": "레지스트리 키 {0}개 복원에 실패했습니다. 자세한 내용은 콘솔을 참조하세요.",
|
||||
"RestoreOperationFailedTitle": "백업 복원 실패",
|
||||
"RestoreUnexpectedError": "예기치 않은 오류가 발생했습니다.",
|
||||
"ImportExportCategoryApplications": "앱",
|
||||
"ImportExportCategorySystemTweaks": "시스템 조정",
|
||||
@@ -231,15 +232,12 @@
|
||||
"ImportExportOptionRestartExplorer": "탐색기 다시 시작",
|
||||
"ImportExportOptionsPrefix": "옵션: {0}",
|
||||
"ImportExportDefaultDeploymentSettings": "기본 배포 설정",
|
||||
"ImportExportAppsSelected_one": "앱 {0}개 선택됨",
|
||||
"ImportExportAppsSelected_other": "앱 {0}개 선택됨",
|
||||
"ImportExportNoAppsSelected": "선택한 앱 없음",
|
||||
"ImportExportTweaksSelected_one": "조정 항목 {0}개 선택됨",
|
||||
"ImportExportTweaksSelected_other": "조정 항목 {0}개 선택됨",
|
||||
"ImportExportNoTweaksSelected": "선택한 조정 항목 없음",
|
||||
"AppSelectionWinGetLoadFailedMessage": "WinGet을 통해 설치된 앱 목록을 불러올 수 없습니다.",
|
||||
"ErrorTitle": "오류",
|
||||
"AppSelectionStatusSelected_one": "제거할 앱 {0}개 선택됨",
|
||||
"AppSelectionStatusSelected_other": "제거할 앱 {0}개 선택됨",
|
||||
"AppRemovalScopeDescriptionAllUsers": "모든 사용자에 대해 앱을 제거하고 Windows 이미지에서도 제거하여 새 사용자에게 다시 설치되지 않도록 합니다.",
|
||||
"AppRemovalScopeDescriptionCurrentUser": "현재 사용자에 대해서만 앱을 제거합니다.",
|
||||
@@ -250,15 +248,13 @@
|
||||
"TweaksOptionDisable": "사용 안 함",
|
||||
"TweaksOptionEnable": "사용",
|
||||
"TweaksAlreadyAppliedTooltip": "이 조정 항목은 이미 적용되어 자동으로 실행 취소할 수 없습니다. 이 변경 사항을 수동으로 되돌리는 방법은 Win11Debloat 위키를 참조하세요.",
|
||||
"DeployChangeRemoveApps_one": "앱 {0}개 제거",
|
||||
"DeployChangeRemoveApps_other": "앱 {0}개 제거",
|
||||
"DeployChangeUndoPrefix": "실행 취소: {0}",
|
||||
"DeployNoChangesSelectedMessage": "선택된 변경 사항이 없습니다.",
|
||||
"DeploySelectedChangesTitle": "선택한 변경 사항",
|
||||
"DeployUserDescriptionCurrentUser": "현재 로그인한 사용자 프로필",
|
||||
"DeployUserDescriptionCurrentUserNamed": "현재 로그인한 사용자 프로필: {0}",
|
||||
"DeployUserDescriptionOtherUser": "이 시스템의 다른 사용자 프로필",
|
||||
"DeployUserDescriptionOtherUserNamed": "이 시스템의 다른 사용자 프로필: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "현재 사용자",
|
||||
"DeployUserDescriptionCurrentUserNamed": "현재 사용자: {0}",
|
||||
"DeployUserDescriptionOtherUser": "다른 사용자",
|
||||
"DeployUserDescriptionOtherUserNamed": "다른 사용자: {0}",
|
||||
"DeployUserDescriptionSysprep": "기본 사용자 템플릿으로, 이후에 만들어지는 모든 새 사용자에게 적용됩니다. Sysprep 배포에 유용합니다.",
|
||||
"LogsMenuTitle": "로그",
|
||||
"LogsFolderNotFoundMessage": "{0}에서 로그 폴더를 찾을 수 없습니다",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Windows 전반의 팁, 요령 및 추천 콘텐츠 사용 안 함",
|
||||
"ToolTip": "이 설정은 Windows의 여러 가지 번거로운 방해 요소를 제거합니다. 알림, 미리 알림, 동기화 공급자 광고 등이 포함됩니다. 또한 추천 앱이 자동으로 설치되는 것을 방지합니다.",
|
||||
"ToolTip": "이 설정은 Windows의 여러 가지 번거로운 방해 요소를 제거합니다. 알림, 미리 알림, 광고 및 기타 방해 요소가 포함됩니다. 또한 추천 앱이 자동으로 설치되는 것을 방지합니다.",
|
||||
"ApplyText": "Windows 전반의 팁, 요령, 추천 및 광고 사용 안 함 설정 중",
|
||||
"UndoLabel": "Windows 전반의 팁, 요령 및 추천 콘텐츠 사용",
|
||||
"ApplyUndoText": "Windows 전반의 팁, 요령, 추천 및 광고 사용 설정 중"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "시작 메뉴에서 '모든 앱' 섹션 표시",
|
||||
"ApplyUndoText": "시작 메뉴의 '모든 앱' 섹션 사용 설정 중"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "WebView2를 사용하지 않도록 하여 Windows 검색의 메모리 사용량 최적화",
|
||||
"ToolTip": "Windows 검색에서 WebView2를 사용하지 않도록 하여 메모리 사용량을 줄입니다. 이 설정은 모든 사용자에게 적용됩니다.",
|
||||
"ApplyText": "Windows 검색의 WebView2 사용 안 함 설정 중",
|
||||
"UndoLabel": "Windows 검색의 기본 동작 복원",
|
||||
"ApplyUndoText": "Windows 검색의 기본 동작 복원 중"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "시작 메뉴의 휴대폰과 연결 통합 사용 안 함",
|
||||
"ToolTip": "PC에 모바일 장치가 연결되어 있을 때 시작 메뉴에 표시되는 휴대폰과 연결 통합을 제거합니다.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "저장 공간 센스 자동 디스크 정리 사용",
|
||||
"ApplyUndoText": "저장 공간 센스 자동 디스크 정리 사용 설정 중"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "시작 앱의 지연 실행 사용 안 함",
|
||||
"ToolTip": "Windows와 함께 자동으로 실행되는 앱의 대기 시간을 없애 앱이 더 빨리 시작되도록 합니다. 오래되었거나 성능이 낮은 장치에서는 로그인 후 Windows의 응답성이 떨어질 수 있습니다.",
|
||||
"ApplyText": "시작 앱 실행 지연 사용 안 함 설정 중",
|
||||
"UndoLabel": "시작 앱 실행 지연을 기본값으로 복원",
|
||||
"ApplyUndoText": "시작 앱 실행 지연을 기본값으로 복원 중"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "빠른 시작 사용 안 함",
|
||||
"ToolTip": "빠른 시작은 시스템 이미지를 디스크에 저장하여 종료 후 PC가 더 빠르게 시작되도록 돕습니다. 빠른 시작을 사용하지 않도록 설정하면 특정 문제가 해결될 수 있지만 부팅 시간이 약간 길어질 수 있습니다.",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "Voer een gebruikersnaam in",
|
||||
"HomeDefaultModeBtn": "Standaardmodus",
|
||||
"HomeDefaultModeBtnTooltip": "Snel de aanbevolen instellingen selecteren",
|
||||
"HomeCustomSetupBtn": "Aangepaste instellingen",
|
||||
"HomeCustomSetupBtn": "Aangepaste modus",
|
||||
"HomeCustomSetupBtnTooltip": "Zelf kiezen welke instellingen je wilt aanpassen",
|
||||
"AppRemovalTabHeader": "App-verwijdering",
|
||||
"AppRemovalTitle": "App-verwijdering",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "Alle AI-functies",
|
||||
"TweaksPresetAITooltip": "Alle AI-aanpassingen selecteren",
|
||||
"TweaksDetectApplied": "Toegepaste aanpassingen herkennen",
|
||||
"TweaksDetectAppliedTooltip": "Aanpassingen herkennen die al voor de huidige gebruiker zijn toegepast",
|
||||
"TweaksDetectAppliedTooltip": "Toegepaste aanpassingen voor de huidige gebruiker herkennen en aanvinken. Als je een aanpassing uitvinkt, worden de bijbehorende systeemwijzigingen ongedaan gemaakt zodra je de wijzigingen toepast. Verwijderde apps worden daarbij niet opnieuw geïnstalleerd.",
|
||||
"TweaksSearchPlaceholder": "Aanpassingen zoeken...",
|
||||
"TweaksSearchAutomationName": "Aanpassingen zoeken",
|
||||
"DeployTabHeader": "Instellingen",
|
||||
"DeployTitle": "Instellingen",
|
||||
"DeploySubtitle": "Stel in hoe de geselecteerde wijzigingen op je systeem worden toegepast",
|
||||
"DeployApplyToTitle": "Wijzigingen worden toegepast op",
|
||||
"DeployUserSelectionDescription": "Het gebruikersprofiel waarmee je nu bent aangemeld.",
|
||||
"DeployUserSelectionDescription": "De huidige gebruiker",
|
||||
"DeployAppRemovalScopeTitle": "Apps worden verwijderd voor",
|
||||
"DeployAppRemovalScopeAutomationName": "Bereik van app-verwijdering",
|
||||
"DeployAppRemovalScopeAllUsers": "Alle gebruikers",
|
||||
@@ -198,6 +198,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "De back-up van het Startmenu is teruggezet voor alle gebruikers. De wijzigingen worden actief zodra zij zich opnieuw aanmelden.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "De back-up van het Startmenu is teruggezet voor de huidige gebruiker. De wijzigingen worden actief zodra je je opnieuw aanmeldt.",
|
||||
"RestoreOperationFailedMessage": "Terugzetten mislukt: {0}",
|
||||
"RestoreRegistryFailures_one": "Het terugzetten van {0} registersleutel is mislukt. Zie de console voor meer informatie.",
|
||||
"RestoreRegistryFailures_other": "Het terugzetten van {0} registersleutels is mislukt. Zie de console voor meer informatie.",
|
||||
"RestoreOperationFailedTitle": "Back-up terugzetten mislukt",
|
||||
"RestoreUnexpectedError": "Er is een onverwachte fout opgetreden.",
|
||||
"ImportExportCategoryApplications": "Apps",
|
||||
"ImportExportCategorySystemTweaks": "Systeemaanpassingen",
|
||||
@@ -252,13 +255,12 @@
|
||||
"TweaksAlreadyAppliedTooltip": "Deze aanpassing is al toegepast en kan niet automatisch ongedaan worden gemaakt. Op de Win11Debloat-wiki lees je hoe je de wijziging zelf kunt terugdraaien.",
|
||||
"DeployChangeRemoveApps_one": "{0} app verwijderen",
|
||||
"DeployChangeRemoveApps_other": "{0} apps verwijderen",
|
||||
"DeployChangeUndoPrefix": "Ongedaan maken: {0}",
|
||||
"DeployNoChangesSelectedMessage": "Er zijn geen wijzigingen geselecteerd.",
|
||||
"DeploySelectedChangesTitle": "Geselecteerde wijzigingen",
|
||||
"DeployUserDescriptionCurrentUser": "Het gebruikersprofiel waarmee je nu bent aangemeld",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Het gebruikersprofiel waarmee je nu bent aangemeld: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Een ander gebruikersprofiel op dit systeem",
|
||||
"DeployUserDescriptionOtherUserNamed": "Een ander gebruikersprofiel op dit systeem: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "De huidige gebruiker",
|
||||
"DeployUserDescriptionCurrentUserNamed": "De huidige gebruiker: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Een andere gebruiker",
|
||||
"DeployUserDescriptionOtherUserNamed": "Een andere gebruiker: {0}",
|
||||
"DeployUserDescriptionSysprep": "Het standaardgebruikersprofiel van Windows. De geselecteerde instellingen gelden voor alle nieuwe gebruikersprofielen. Handig als je Windows voorbereidt met Sysprep.",
|
||||
"LogsMenuTitle": "Logboeken",
|
||||
"LogsFolderNotFoundMessage": "Geen map met logboeken gevonden in: {0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Tips en aanbevelingen in Windows uitschakelen",
|
||||
"ToolTip": "Verwijdert veel storende meldingen, herinneringen en advertenties van synchronisatieproviders uit Windows. Voorkomt ook dat aanbevolen apps automatisch worden geïnstalleerd.",
|
||||
"ToolTip": "Verwijdert veel storende meldingen, herinneringen, advertenties en andere onderbrekingen uit Windows. Voorkomt ook dat aanbevolen apps automatisch worden geïnstalleerd.",
|
||||
"ApplyText": "Tips, aanbevelingen en advertenties in Windows uitschakelen",
|
||||
"UndoLabel": "Tips en aanbevelingen in Windows inschakelen",
|
||||
"ApplyUndoText": "Tips, aanbevelingen en advertenties in Windows inschakelen"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "De sectie 'Alle apps' in het Startmenu tonen",
|
||||
"ApplyUndoText": "De sectie 'Alle apps' in het Startmenu inschakelen"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Geheugengebruik van Windows Zoeken optimaliseren door WebView2 uit te schakelen",
|
||||
"ToolTip": "Vermindert het geheugengebruik door te voorkomen dat Windows Zoeken WebView2 gebruikt. Deze instelling geldt voor alle gebruikers.",
|
||||
"ApplyText": "WebView2 voor Windows Zoeken uitschakelen",
|
||||
"UndoLabel": "Standaardwerking van Windows Zoeken herstellen",
|
||||
"ApplyUndoText": "Standaardwerking van Windows Zoeken herstellen"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Telefoonkoppeling in het Startmenu uitschakelen",
|
||||
"ToolTip": "Verwijdert Telefoonkoppeling integratie uit het Startmenu als je een mobiel apparaat aan je pc hebt gekoppeld.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Automatische schijfopruiming inschakelen",
|
||||
"ApplyUndoText": "Automatische schijfopruiming inschakelen"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Vertraging voor opstart-apps uitschakelen",
|
||||
"ToolTip": "Schakelt de wachttijd uit voor apps die automatisch met Windows opstarten, zodat ze eerder starten. Op oudere of minder krachtige apparaten kan Windows hierdoor na het aanmelden trager reageren.",
|
||||
"ApplyText": "Vertraging voor opstart-apps uitschakelen",
|
||||
"UndoLabel": "Standaardvertraging voor opstart-apps herstellen",
|
||||
"ApplyUndoText": "Standaardvertraging voor opstart-apps herstellen"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Snel opstarten uitschakelen",
|
||||
"ToolTip": "Met Snel opstarten start je pc sneller nadat je deze hebt afgesloten. Hiervoor bewaart Windows de systeemstatus op schijf. Uitschakelen kan bepaalde problemen oplossen, maar het opstarten kan dan iets langer duren.",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"HomeUsernamePlaceholder": "Digite o nome de usuário",
|
||||
"HomeDefaultModeBtn": "Modo padrão",
|
||||
"HomeDefaultModeBtnTooltip": "Selecionar rapidamente as configurações recomendadas",
|
||||
"HomeCustomSetupBtn": "Configuração personalizada",
|
||||
"HomeCustomSetupBtn": "Modo personalizado",
|
||||
"HomeCustomSetupBtnTooltip": "Selecionar manualmente suas configurações preferidas",
|
||||
|
||||
"AppRemovalTabHeader": "Remoção de apps",
|
||||
@@ -88,7 +88,7 @@
|
||||
"TweaksPresetAIAutomationName": "Todas funcionalidades de IA",
|
||||
"TweaksPresetAITooltip": "Selecionar todos os ajustes relacionados a IA",
|
||||
"TweaksDetectApplied": "Detectar ajustes aplicados",
|
||||
"TweaksDetectAppliedTooltip": "Detectar todos os ajustes atualmente aplicados para o usuário atual",
|
||||
"TweaksDetectAppliedTooltip": "Detectar os ajustes aplicados ao usuário atual e marcar as caixas correspondentes. Ao desmarcar um ajuste, as alterações feitas no sistema serão desfeitas quando você aplicar as alterações, mas os aplicativos removidos não serão reinstalados.",
|
||||
"TweaksSearchPlaceholder": "Pesquisar ajustes...",
|
||||
"TweaksSearchAutomationName": "Pesquisar ajustes",
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
"DeployTitle": "Configuração de implantação",
|
||||
"DeploySubtitle": "Configure como as alterações selecionadas serão aplicadas ao seu sistema",
|
||||
"DeployApplyToTitle": "As alterações serão aplicadas para",
|
||||
"DeployUserSelectionDescription": "O perfil do usuário atualmente conectado.",
|
||||
"DeployUserSelectionDescription": "O usuário atual",
|
||||
"DeployAppRemovalScopeTitle": "Os apps serão removidos para",
|
||||
"DeployAppRemovalScopeAutomationName": "Escopo de remoção de apps",
|
||||
"DeployAppRemovalScopeAllUsers": "Todos os usuários",
|
||||
@@ -212,6 +212,10 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "O backup do Menu Iniciar foi restaurado com sucesso para todos os usuários. As alterações serão aplicadas na próxima vez que os usuários fizerem login.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "O backup do Menu Iniciar foi restaurado com sucesso para o usuário atual. As alterações serão aplicadas na próxima vez que você fizer login.",
|
||||
"RestoreOperationFailedMessage": "Falha na restauração: {0}",
|
||||
"RestoreRegistryFailures_one": "Falha na restauração do Registro para {0} chave. Veja o console para detalhes.",
|
||||
"RestoreRegistryFailures_other": "Falha na restauração do Registro para {0} chaves. Veja o console para detalhes.",
|
||||
"RestoreRegistryFailures_many": "Falha na restauração do Registro para {0} chaves. Veja o console para detalhes.",
|
||||
"RestoreOperationFailedTitle": "Falha na restauração do backup",
|
||||
"RestoreUnexpectedError": "Ocorreu um erro inesperado.",
|
||||
|
||||
"ImportExportCategoryApplications": "Aplicativos",
|
||||
@@ -275,13 +279,12 @@
|
||||
"DeployChangeRemoveApps_one": "Remover {0} aplicativo",
|
||||
"DeployChangeRemoveApps_other": "Remover {0} aplicativos",
|
||||
"DeployChangeRemoveApps_many": "Remover {0} de aplicativos",
|
||||
"DeployChangeUndoPrefix": "Desfazer: {0}",
|
||||
"DeployNoChangesSelectedMessage": "Nenhuma alteração foi selecionada.",
|
||||
"DeploySelectedChangesTitle": "Alterações selecionadas",
|
||||
"DeployUserDescriptionCurrentUser": "O perfil do usuário atualmente conectado",
|
||||
"DeployUserDescriptionCurrentUserNamed": "O perfil do usuário atualmente conectado: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Um perfil de usuário diferente neste sistema",
|
||||
"DeployUserDescriptionOtherUserNamed": "Um perfil de usuário diferente neste sistema: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "O usuário atual",
|
||||
"DeployUserDescriptionCurrentUserNamed": "O usuário atual: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Outro usuário",
|
||||
"DeployUserDescriptionOtherUserNamed": "Outro usuário: {0}",
|
||||
"DeployUserDescriptionSysprep": "O modelo de usuário padrão, afetando todos os novos usuários criados após este ponto. Útil para implantação via Sysprep.",
|
||||
|
||||
"LogsMenuTitle": "Logs",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Desabilitar dicas, truques e conteúdo sugerido em todo o Windows",
|
||||
"ToolTip": "Esta configuração remove muitas distrações irritantes do Windows. Isso inclui coisas como notificações, lembretes e anúncios de provedor de sincronização. Também impede a instalação automática de apps sugeridos.",
|
||||
"ToolTip": "Esta configuração remove muitas distrações irritantes do Windows, como notificações, lembretes, anúncios e outras interrupções. Também impede a instalação automática de apps sugeridos.",
|
||||
"ApplyText": "Desabilitando dicas, truques, sugestões e anúncios em todo o Windows",
|
||||
"UndoLabel": "Habilitar dicas, truques e conteúdo sugerido em todo o Windows",
|
||||
"ApplyUndoText": "Habilitando dicas, truques, sugestões e anúncios em todo o Windows"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Mostrar seção 'Todos os Apps' no Menu Iniciar",
|
||||
"ApplyUndoText": "Habilitando a seção 'Todos os Apps' no Menu Iniciar"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Otimizar o uso de memória da pesquisa do Windows desabilitando o WebView2",
|
||||
"ToolTip": "Reduz o uso de memória impedindo que a pesquisa do Windows use o WebView2. Esta configuração se aplica a todos os usuários.",
|
||||
"ApplyText": "Desabilitando o WebView2 na pesquisa do Windows",
|
||||
"UndoLabel": "Restaurar o funcionamento padrão da pesquisa do Windows",
|
||||
"ApplyUndoText": "Restaurando o funcionamento padrão da pesquisa do Windows"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Desabilitar integração do Vincular ao Celular no Menu Iniciar",
|
||||
"ToolTip": "Isto removerá a integração do Vincular ao Celular no Menu Iniciar quando você tiver um dispositivo móvel conectado ao seu PC.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Habilitar limpeza automática de disco do Sensor de Armazenamento",
|
||||
"ApplyUndoText": "Habilitando limpeza automática de disco do Sensor de Armazenamento"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Desabilitar o atraso dos aplicativos de inicialização",
|
||||
"ToolTip": "Desabilita o tempo de espera dos aplicativos que iniciam automaticamente com o Windows, permitindo que iniciem mais cedo. Em dispositivos mais antigos ou menos potentes, isso pode deixar o Windows menos responsivo após o login.",
|
||||
"ApplyText": "Desabilitando o atraso dos aplicativos de inicialização",
|
||||
"UndoLabel": "Restaurar o atraso padrão dos aplicativos de inicialização",
|
||||
"ApplyUndoText": "Restaurando o atraso padrão dos aplicativos de inicialização"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Desabilitar inicialização rápida",
|
||||
"ToolTip": "A inicialização rápida ajuda seu PC a iniciar mais rapidamente após o desligamento, salvando uma imagem do sistema em disco. Desabilitar a inicialização rápida pode ajudar com certos problemas, mas pode resultar em tempos de inicialização um pouco mais longos.",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"MessageBoxCancel": "Отмена",
|
||||
"MessageBoxYes": "Да",
|
||||
"MessageBoxNo": "Нет",
|
||||
"TitleBarSupportCreator": "Поддержать автора",
|
||||
"TitleBarSupportCreator": "Поддержать Украину",
|
||||
"TitleBarOptions": "Параметры",
|
||||
"SettingsTitle": "Параметры",
|
||||
"SettingsSave": "Сохранить",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "Все функции ИИ",
|
||||
"TweaksPresetAITooltip": "Выбрать все настройки, связанные с ИИ",
|
||||
"TweaksDetectApplied": "Определить примененные настройки",
|
||||
"TweaksDetectAppliedTooltip": "Определить все настройки, уже примененные для текущего пользователя",
|
||||
"TweaksDetectAppliedTooltip": "Определить настройки, применённые для текущего пользователя, и установить соответствующие флажки. Если снять флажок с настройки, внесённые ею системные изменения будут отменены при применении изменений, но удалённые приложения не будут переустановлены.",
|
||||
"TweaksSearchPlaceholder": "Поиск настроек...",
|
||||
"TweaksSearchAutomationName": "Поиск настроек",
|
||||
"DeployTabHeader": "Параметры развертывания",
|
||||
"DeployTitle": "Параметры развертывания",
|
||||
"DeploySubtitle": "Настройте, как выбранные изменения будут применены к вашей системе",
|
||||
"DeployApplyToTitle": "Изменения будут применены для",
|
||||
"DeployUserSelectionDescription": "Профиль пользователя, который сейчас вошел в систему.",
|
||||
"DeployUserSelectionDescription": "Текущий пользователь",
|
||||
"DeployAppRemovalScopeTitle": "Приложения будут удалены для",
|
||||
"DeployAppRemovalScopeAutomationName": "Область удаления приложений",
|
||||
"DeployAppRemovalScopeAllUsers": "Все пользователи",
|
||||
@@ -108,8 +108,8 @@
|
||||
"AboutVersionLabel": "Версия:",
|
||||
"AboutAuthorLabel": "Автор:",
|
||||
"AboutProjectLabel": "Проект:",
|
||||
"AboutDonationMessage": "Я с увлечением развиваю Win11Debloat в свободное время. Если программа оказалась вам полезной, пожалуйста, поддержите ее развитие небольшим пожертвованием. Я буду очень признателен!",
|
||||
"AboutKofiLink": "Поддержать меня на Ko-fi",
|
||||
"AboutDonationMessage": "Я с увлечением развиваю Win11Debloat в свободное время. Если программа оказалась вам полезной, пожалуйста, помогите Украине защититься от российской агрессии, сделав пожертвование по ссылке ниже. Спасибо за вашу поддержку!",
|
||||
"AboutKofiLink": "Поддержать Украину",
|
||||
"AppSelectionWindowTitle": "Win11Debloat: выбор приложений",
|
||||
"AppSelectionWindowInstructions": "Установите флажки для приложений, которые нужно удалить, и снимите их для приложений, которые нужно оставить",
|
||||
"AppSelectionWindowCheckAll": "Отметить или снять все флажки",
|
||||
@@ -123,7 +123,7 @@
|
||||
"ApplyCreatingRegistryBackup": "Создание резервной копии реестра...",
|
||||
"ApplyCreatingRestorePoint": "Создание точки восстановления системы. Это может занять некоторое время...",
|
||||
"ApplyCompletionTitleSuccess": "Изменения применены",
|
||||
"ApplyCompletionMessageDefault": "Обратите внимание: некоторые изменения вступят в силу только после перезагрузки. Спасибо, что пользуетесь Win11Debloat!",
|
||||
"ApplyCompletionMessageDefault": "Обратите внимание: некоторые изменения вступят в силу только после перезагрузки. Спасибо, что пользуетесь Win11Debloat!\n\nАгрессия России против Украины привела к гибели тысяч людей. Поддержите Украину в защите своей страны, воспользовавшись ссылкой ниже.",
|
||||
"ApplyRebootRequiredHeader": "Чтобы эти изменения вступили в силу, требуется перезагрузка:",
|
||||
"ApplyRebootRequiredWingetDeferred": "Удаление приложения {0}",
|
||||
"ApplyCompletionTitleCancelled": "Отменено",
|
||||
@@ -136,7 +136,7 @@
|
||||
"ApplyCompletionMessageFailures_few": "Не удалось применить {0} изменения. Дополнительные сведения см. в консоли.",
|
||||
"ApplyCompletionMessageFailures_many": "Не удалось применить {0} изменений. Дополнительные сведения см. в консоли.",
|
||||
"ApplyCompletionMessageFailures_other": "Не удалось применить {0} изменений. Дополнительные сведения см. в консоли.",
|
||||
"ApplyCompletionMessageReady": "Система готова. Спасибо, что пользуетесь Win11Debloat!",
|
||||
"ApplyCompletionMessageReady": "Система готова. Спасибо, что пользуетесь Win11Debloat!\n\nАгрессия России против Украины привела к гибели тысяч людей. Поддержите Украину в защите своей страны, воспользовавшись ссылкой ниже.",
|
||||
"ApplyCompletionTitleError": "Ошибка",
|
||||
"ApplyCompletionMessageError": "При применении изменений произошла ошибка: {0}",
|
||||
"NavBack": "Назад",
|
||||
@@ -200,6 +200,11 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "Меню «Пуск» успешно восстановлено из резервной копии для всех пользователей. Изменения вступят в силу при следующем входе пользователей в систему.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "Меню «Пуск» успешно восстановлено из резервной копии для текущего пользователя. Изменения вступят в силу при следующем входе в систему.",
|
||||
"RestoreOperationFailedMessage": "Не удалось выполнить восстановление: {0}",
|
||||
"RestoreRegistryFailures_one": "Не удалось восстановить {0} раздел реестра. Дополнительные сведения см. в консоли.",
|
||||
"RestoreRegistryFailures_few": "Не удалось восстановить {0} раздела реестра. Дополнительные сведения см. в консоли.",
|
||||
"RestoreRegistryFailures_many": "Не удалось восстановить {0} разделов реестра. Дополнительные сведения см. в консоли.",
|
||||
"RestoreRegistryFailures_other": "Не удалось восстановить {0} разделов реестра. Дополнительные сведения см. в консоли.",
|
||||
"RestoreOperationFailedTitle": "Сбой восстановления из резервной копии",
|
||||
"RestoreUnexpectedError": "Произошла непредвиденная ошибка.",
|
||||
"ImportExportCategoryApplications": "Приложения",
|
||||
"ImportExportCategorySystemTweaks": "Настройки системы",
|
||||
@@ -262,13 +267,12 @@
|
||||
"DeployChangeRemoveApps_few": "Удалить {0} приложения",
|
||||
"DeployChangeRemoveApps_many": "Удалить {0} приложений",
|
||||
"DeployChangeRemoveApps_other": "Удалить {0} приложений",
|
||||
"DeployChangeUndoPrefix": "Отменить: {0}",
|
||||
"DeployNoChangesSelectedMessage": "Изменения не выбраны.",
|
||||
"DeploySelectedChangesTitle": "Выбранные изменения",
|
||||
"DeployUserDescriptionCurrentUser": "Профиль пользователя, который сейчас вошел в систему",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Профиль пользователя, который сейчас вошел в систему: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Другой профиль пользователя в этой системе",
|
||||
"DeployUserDescriptionOtherUserNamed": "Другой профиль пользователя в этой системе: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "Текущий пользователь",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Текущий пользователь: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Другой пользователь",
|
||||
"DeployUserDescriptionOtherUserNamed": "Другой пользователь: {0}",
|
||||
"DeployUserDescriptionSysprep": "Шаблон пользователя по умолчанию. Влияет на всех новых пользователей, созданных после этого момента. Удобно для развертывания с помощью Sysprep.",
|
||||
"LogsMenuTitle": "Журналы",
|
||||
"LogsFolderNotFoundMessage": "Папка журналов не найдена по пути: {0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Отключить советы, подсказки и рекомендуемое содержимое во всей системе Windows",
|
||||
"ToolTip": "Эта настройка убирает многие назойливые отвлекающие элементы Windows, например уведомления, напоминания и рекламу поставщиков синхронизации. Кроме того, она запрещает автоматическую установку предлагаемых приложений.",
|
||||
"ToolTip": "Эта настройка убирает многие назойливые отвлекающие элементы Windows, например уведомления, напоминания, рекламу и другие помехи. Кроме того, она запрещает автоматическую установку предлагаемых приложений.",
|
||||
"ApplyText": "Отключение советов, подсказок, предложений и рекламы во всей системе Windows",
|
||||
"UndoLabel": "Включить советы, подсказки и рекомендуемое содержимое во всей системе Windows",
|
||||
"ApplyUndoText": "Включение советов, подсказок, предложений и рекламы во всей системе Windows"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Показывать раздел «Все приложения» в меню «Пуск»",
|
||||
"ApplyUndoText": "Включение раздела «Все приложения» в меню «Пуск»"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "Оптимизировать потребление памяти поиском Windows, отключив WebView2",
|
||||
"ToolTip": "Снижает потребление памяти, запрещая поиску Windows использовать WebView2. Этот параметр применяется ко всем пользователям.",
|
||||
"ApplyText": "Отключение WebView2 в поиске Windows",
|
||||
"UndoLabel": "Восстановить стандартное поведение поиска Windows",
|
||||
"ApplyUndoText": "Восстановление стандартного поведения поиска Windows"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Отключить интеграцию приложения «Связь с телефоном» в меню «Пуск»",
|
||||
"ToolTip": "Убирает интеграцию приложения «Связь с телефоном» из меню «Пуск», если с компьютером связано мобильное устройство.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Включить автоматическую очистку диска функцией «Контроль памяти»",
|
||||
"ApplyUndoText": "Включение автоматической очистки диска функцией «Контроль памяти»"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Отключить отложенный запуск приложений автозагрузки",
|
||||
"ToolTip": "Отключает задержку для приложений, которые запускаются автоматически вместе с Windows, позволяя им запускаться раньше. На старых или менее мощных устройствах это может снизить отзывчивость Windows после входа в систему.",
|
||||
"ApplyText": "Отключение задержки запуска приложений автозагрузки",
|
||||
"UndoLabel": "Восстановить задержку запуска приложений автозагрузки по умолчанию",
|
||||
"ApplyUndoText": "Восстановление задержки запуска приложений автозагрузки по умолчанию"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Отключить быстрый запуск",
|
||||
"ToolTip": "Быстрый запуск помогает компьютеру быстрее запускаться после завершения работы за счет сохранения образа системы на диск. Отключение быстрого запуска может помочь устранить некоторые проблемы, но загрузка может стать немного дольше.",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"HomeUsernamePlaceholder": "Kullanıcı adını girin",
|
||||
"HomeDefaultModeBtn": "Önerilen ayarlar",
|
||||
"HomeDefaultModeBtnTooltip": "Önerilen ayarları hızlıca seç",
|
||||
"HomeCustomSetupBtn": "Özel ayarlar",
|
||||
"HomeCustomSetupBtn": "Özel mod",
|
||||
"HomeCustomSetupBtnTooltip": "Ayarları kendiniz seçin",
|
||||
|
||||
"AppRemovalTabHeader": "Uygulama kaldırma",
|
||||
@@ -88,7 +88,7 @@
|
||||
"TweaksPresetAIAutomationName": "Tüm yapay zeka özellikleri",
|
||||
"TweaksPresetAITooltip": "Yapay zekayla ilgili tüm ayarları seç",
|
||||
"TweaksDetectApplied": "Uygulanmış ayarları bul",
|
||||
"TweaksDetectAppliedTooltip": "Geçerli kullanıcı için şu anda uygulanmış ayarları bul",
|
||||
"TweaksDetectAppliedTooltip": "Geçerli kullanıcı için uygulanmış ayarları algılar ve ilgili kutuları işaretler. Bir ayarın işaretini kaldırırsanız değişiklikleri uyguladığınızda ilgili sistem değişiklikleri geri alınır, ancak kaldırılan uygulamalar yeniden yüklenmez.",
|
||||
"TweaksSearchPlaceholder": "Ayar ara...",
|
||||
"TweaksSearchAutomationName": "Ayar ara",
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
"DeployTitle": "Dağıtım ayarları",
|
||||
"DeploySubtitle": "Seçilen değişikliklerin sisteme nasıl uygulanacağını belirleyin",
|
||||
"DeployApplyToTitle": "Değişikliklerin uygulanacağı kullanıcı",
|
||||
"DeployUserSelectionDescription": "Şu anda oturum açmış kullanıcı profili.",
|
||||
"DeployUserSelectionDescription": "Geçerli kullanıcı",
|
||||
"DeployAppRemovalScopeTitle": "Uygulamaların kaldırılacağı kullanıcılar",
|
||||
"DeployAppRemovalScopeAutomationName": "Uygulama kaldırma kapsamı",
|
||||
"DeployAppRemovalScopeAllUsers": "Tüm kullanıcılar",
|
||||
@@ -211,6 +211,9 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "Başlat menüsü yedeği tüm kullanıcılar için geri yüklendi. Değişiklikler, kullanıcılar bir sonraki oturum açışında uygulanır.",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "Başlat menüsü yedeği geçerli kullanıcı için geri yüklendi. Değişiklikler bir sonraki oturum açışınızda uygulanır.",
|
||||
"RestoreOperationFailedMessage": "Geri yükleme başarısız oldu: {0}",
|
||||
"RestoreRegistryFailures_one": "{0} kayıt defteri anahtarı geri yüklenemedi. Ayrıntılar için konsola bakın.",
|
||||
"RestoreRegistryFailures_other": "{0} kayıt defteri anahtarı geri yüklenemedi. Ayrıntılar için konsola bakın.",
|
||||
"RestoreOperationFailedTitle": "Yedek geri yüklenemedi",
|
||||
"RestoreUnexpectedError": "Beklenmeyen bir hata oluştu.",
|
||||
|
||||
"ImportExportCategoryApplications": "Uygulamalar",
|
||||
@@ -270,13 +273,12 @@
|
||||
|
||||
"DeployChangeRemoveApps_one": "{0} uygulamayı kaldır",
|
||||
"DeployChangeRemoveApps_other": "{0} uygulamayı kaldır",
|
||||
"DeployChangeUndoPrefix": "Geri al: {0}",
|
||||
"DeployNoChangesSelectedMessage": "Seçili değişiklik yok.",
|
||||
"DeploySelectedChangesTitle": "Seçilen değişiklikler",
|
||||
"DeployUserDescriptionCurrentUser": "Şu anda oturum açmış kullanıcı profili",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Şu anda oturum açmış kullanıcı profili: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Bu sistemdeki başka bir kullanıcı profili",
|
||||
"DeployUserDescriptionOtherUserNamed": "Bu sistemdeki başka bir kullanıcı profili: {0}",
|
||||
"DeployUserDescriptionCurrentUser": "Geçerli kullanıcı",
|
||||
"DeployUserDescriptionCurrentUserNamed": "Geçerli kullanıcı: {0}",
|
||||
"DeployUserDescriptionOtherUser": "Başka bir kullanıcı",
|
||||
"DeployUserDescriptionOtherUserNamed": "Başka bir kullanıcı: {0}",
|
||||
"DeployUserDescriptionSysprep": "Varsayılan kullanıcı profili. Bundan sonra oluşturulan tüm kullanıcı hesaplarını etkiler. Sysprep ile Windows dağıtımı için kullanılabilir.",
|
||||
|
||||
"LogsMenuTitle": "Günlükler",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "Windows genelindeki ipuçlarını, püf noktalarını ve önerilen içeriği kapat",
|
||||
"ToolTip": "Windows'taki birçok dikkat dağıtıcı öğeyi kaldırır. Bildirimler, anımsatıcılar ve eşitleme sağlayıcısı reklamları buna dahildir. Önerilen uygulamaların kendiliğinden yüklenmesini de engeller.",
|
||||
"ToolTip": "Windows'taki birçok dikkat dağıtıcı öğeyi kaldırır. Bildirimler, anımsatıcılar, reklamlar ve diğer kesintiler buna dahildir. Önerilen uygulamaların kendiliğinden yüklenmesini de engeller.",
|
||||
"ApplyText": "Windows genelindeki ipuçları, öneriler ve reklamlar kapatılıyor",
|
||||
"UndoLabel": "Windows genelindeki ipuçlarını, püf noktalarını ve önerilen içeriği aç",
|
||||
"ApplyUndoText": "Windows genelindeki ipuçları, öneriler ve reklamlar açılıyor"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "Başlat menüsündeki 'Tüm uygulamalar' bölümünü göster",
|
||||
"ApplyUndoText": "Başlat menüsündeki 'Tüm uygulamalar' bölümü gösteriliyor"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "WebView2’yi devre dışı bırakarak Windows aramasının bellek kullanımını optimize et",
|
||||
"ToolTip": "Windows aramasının WebView2 kullanmasını engelleyerek bellek kullanımını azaltır. Bu ayar tüm kullanıcılar için geçerlidir.",
|
||||
"ApplyText": "Windows aramasında WebView2 devre dışı bırakılıyor",
|
||||
"UndoLabel": "Windows aramasının varsayılan davranışını geri yükle",
|
||||
"ApplyUndoText": "Windows aramasının varsayılan davranışı geri yükleniyor"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "Başlat menüsündeki Telefon Bağlantısı tümleştirmesini kapat",
|
||||
"ToolTip": "Bilgisayara bağlı bir telefon varken Başlat menüsünde görünen Telefon Bağlantısı tümleştirmesini kaldırır.",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "Akıllı Depolama özelliğini aç",
|
||||
"ApplyUndoText": "Akıllı Depolama açılıyor"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "Başlangıç uygulamalarının gecikmeli başlatılmasını kapat",
|
||||
"ToolTip": "Windows ile birlikte otomatik olarak başlayan uygulamaların bekleme süresini kaldırarak daha erken başlamalarını sağlar. Bu durum, eski veya daha az güçlü cihazlarda oturum açtıktan sonra Windows'un daha yavaş yanıt vermesine neden olabilir.",
|
||||
"ApplyText": "Başlangıç uygulamalarının başlatılma gecikmesi kapatılıyor",
|
||||
"UndoLabel": "Başlangıç uygulamalarının varsayılan başlatılma gecikmesini geri yükle",
|
||||
"ApplyUndoText": "Başlangıç uygulamalarının varsayılan başlatılma gecikmesi geri yükleniyor"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "Hızlı başlatmayı kapat",
|
||||
"ToolTip": "Hızlı başlatma, kapatma sırasında bir sistem görüntüsü kaydederek bilgisayarın daha çabuk açılmasını sağlar. Kapatmak bazı sorunları giderebilir ancak açılış biraz uzayabilir.",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "输入用户名",
|
||||
"HomeDefaultModeBtn": "默认模式",
|
||||
"HomeDefaultModeBtnTooltip": "快速选择推荐设置",
|
||||
"HomeCustomSetupBtn": "自定义设置",
|
||||
"HomeCustomSetupBtn": "自定义模式",
|
||||
"HomeCustomSetupBtnTooltip": "手动选择所需设置",
|
||||
"AppRemovalTabHeader": "卸载应用",
|
||||
"AppRemovalTitle": "卸载应用",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "所有AI功能",
|
||||
"TweaksPresetAITooltip": "选择所有与AI相关的系统调整",
|
||||
"TweaksDetectApplied": "检测已应用的调整",
|
||||
"TweaksDetectAppliedTooltip": "检测当前用户已应用的所有系统调整",
|
||||
"TweaksDetectAppliedTooltip": "检测当前用户已应用的调整,并勾选对应选项。取消勾选某项调整后,应用更改时会撤销该调整对系统所做的更改,但不会重新安装已移除的应用。",
|
||||
"TweaksSearchPlaceholder": "搜索系统调整…",
|
||||
"TweaksSearchAutomationName": "搜索系统调整",
|
||||
"DeployTabHeader": "部署设置",
|
||||
"DeployTitle": "部署设置",
|
||||
"DeploySubtitle": "设置如何将所选更改应用到系统",
|
||||
"DeployApplyToTitle": "更改将应用于",
|
||||
"DeployUserSelectionDescription": "当前登录用户的配置文件。",
|
||||
"DeployUserSelectionDescription": "当前用户",
|
||||
"DeployAppRemovalScopeTitle": "卸载应用的用户范围",
|
||||
"DeployAppRemovalScopeAutomationName": "应用卸载范围",
|
||||
"DeployAppRemovalScopeAllUsers": "所有用户",
|
||||
@@ -132,7 +132,6 @@
|
||||
"ApplyCompletionMessageCancelled": "用户已取消脚本执行。",
|
||||
"ApplyCompletionTitleErrors": "更改已应用,但存在错误",
|
||||
"ApplyCompletionMessageVerificationUnavailable": "应用所有更改时均未报错,但 Win11Debloat 无法确认所选应用是否已全部成功卸载。",
|
||||
"ApplyCompletionMessageFailures_one": "{0} 项更改失败。详情请查看控制台。",
|
||||
"ApplyCompletionMessageFailures_other": "{0} 项更改失败。详情请查看控制台。",
|
||||
"ApplyCompletionMessageReady": "系统已准备就绪。感谢使用 Win11Debloat!",
|
||||
"ApplyCompletionTitleError": "错误",
|
||||
@@ -198,6 +197,8 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "已成功为所有用户恢复开始菜单备份。更改将在用户下次登录时生效。",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "已成功为当前用户恢复开始菜单备份。更改将在你下次登录时生效。",
|
||||
"RestoreOperationFailedMessage": "恢复失败:{0}",
|
||||
"RestoreRegistryFailures_other": "{0} 个注册表项恢复失败。详情请查看控制台。",
|
||||
"RestoreOperationFailedTitle": "恢复备份失败",
|
||||
"RestoreUnexpectedError": "发生意外错误。",
|
||||
"ImportExportCategoryApplications": "应用",
|
||||
"ImportExportCategorySystemTweaks": "系统调整",
|
||||
@@ -231,15 +232,12 @@
|
||||
"ImportExportOptionRestartExplorer": "重启资源管理器",
|
||||
"ImportExportOptionsPrefix": "选项:{0}",
|
||||
"ImportExportDefaultDeploymentSettings": "默认部署设置",
|
||||
"ImportExportAppsSelected_one": "已选择 {0} 个应用",
|
||||
"ImportExportAppsSelected_other": "已选择 {0} 个应用",
|
||||
"ImportExportNoAppsSelected": "未选择应用",
|
||||
"ImportExportTweaksSelected_one": "已选择 {0} 项系统调整",
|
||||
"ImportExportTweaksSelected_other": "已选择 {0} 项系统调整",
|
||||
"ImportExportNoTweaksSelected": "未选择系统调整",
|
||||
"AppSelectionWinGetLoadFailedMessage": "无法通过 WinGet 加载已安装的应用列表。",
|
||||
"ErrorTitle": "错误",
|
||||
"AppSelectionStatusSelected_one": "已选择卸载 {0} 个应用",
|
||||
"AppSelectionStatusSelected_other": "已选择卸载 {0} 个应用",
|
||||
"AppRemovalScopeDescriptionAllUsers": "将为所有用户卸载应用,并从 Windows 映像中移除,防止为新用户重新安装。",
|
||||
"AppRemovalScopeDescriptionCurrentUser": "仅为当前用户卸载应用。",
|
||||
@@ -250,15 +248,13 @@
|
||||
"TweaksOptionDisable": "禁用",
|
||||
"TweaksOptionEnable": "启用",
|
||||
"TweaksAlreadyAppliedTooltip": "此项调整已应用,无法自动撤销。请访问 Win11Debloat Wiki,查看手动撤销此更改的说明。",
|
||||
"DeployChangeRemoveApps_one": "卸载 {0} 个应用",
|
||||
"DeployChangeRemoveApps_other": "卸载 {0} 个应用",
|
||||
"DeployChangeUndoPrefix": "撤销:{0}",
|
||||
"DeployNoChangesSelectedMessage": "未选择任何更改。",
|
||||
"DeploySelectedChangesTitle": "所选更改",
|
||||
"DeployUserDescriptionCurrentUser": "当前登录用户的配置文件",
|
||||
"DeployUserDescriptionCurrentUserNamed": "当前登录用户的配置文件:{0}",
|
||||
"DeployUserDescriptionOtherUser": "此系统上其他用户的配置文件",
|
||||
"DeployUserDescriptionOtherUserNamed": "此系统上其他用户的配置文件:{0}",
|
||||
"DeployUserDescriptionCurrentUser": "当前用户",
|
||||
"DeployUserDescriptionCurrentUserNamed": "当前用户:{0}",
|
||||
"DeployUserDescriptionOtherUser": "其他用户",
|
||||
"DeployUserDescriptionOtherUserNamed": "其他用户:{0}",
|
||||
"DeployUserDescriptionSysprep": "默认用户模板,影响此后创建的所有新用户。适用于 Sysprep 部署。",
|
||||
"LogsMenuTitle": "日志",
|
||||
"LogsFolderNotFoundMessage": "未在以下位置找到日志文件夹:{0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "禁用 Windows 中的提示、技巧和推荐内容",
|
||||
"ToolTip": "移除 Windows 中的多种干扰内容,包括通知、提醒和同步提供商广告,同时阻止自动安装推荐应用。",
|
||||
"ToolTip": "移除 Windows 中的多种干扰内容,包括通知、提醒、广告及其他干扰,同时阻止自动安装推荐应用。",
|
||||
"ApplyText": "正在禁用 Windows 中的提示、技巧、推荐内容和广告",
|
||||
"UndoLabel": "启用 Windows 中的提示、技巧和推荐内容",
|
||||
"ApplyUndoText": "正在启用 Windows 中的提示、技巧、推荐内容和广告"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "显示开始菜单的“所有应用”区域",
|
||||
"ApplyUndoText": "正在启用开始菜单的“所有应用”区域"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "禁用 WebView2 以优化Windows 搜索的内存使用",
|
||||
"ToolTip": "通过阻止Windows 搜索使用 WebView2 来减少内存占用。此设置适用于所有用户。",
|
||||
"ApplyText": "正在禁用Windows 搜索中的 WebView2",
|
||||
"UndoLabel": "恢复Windows 搜索的默认行为",
|
||||
"ApplyUndoText": "正在恢复Windows 搜索的默认行为"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "禁用开始菜单中的手机连接集成",
|
||||
"ToolTip": "当电脑关联了移动设备时,移除开始菜单中的手机连接集成。",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "启用存储感知自动磁盘清理",
|
||||
"ApplyUndoText": "正在启用存储感知自动磁盘清理"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "取消启动应用运行前的等待时间",
|
||||
"ToolTip": "取消随 Windows 自动启动的应用的等待时间,让这些应用更早启动。在较旧或性能较低的设备上,这可能会导致 Windows 在登录后的响应速度变慢。",
|
||||
"ApplyText": "正在取消启动应用运行前的等待时间",
|
||||
"UndoLabel": "恢复启动应用运行前的默认等待时间",
|
||||
"ApplyUndoText": "正在恢复启动应用运行前的默认等待时间"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "禁用快速启动",
|
||||
"ToolTip": "快速启动会将系统映像保存到磁盘,以加快关机后的启动速度。禁用后可能解决某些问题,但开机时间可能略有增加。",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"HomeUsernamePlaceholder": "輸入使用者名稱",
|
||||
"HomeDefaultModeBtn": "預設模式",
|
||||
"HomeDefaultModeBtnTooltip": "快速選取建議的設定",
|
||||
"HomeCustomSetupBtn": "自訂安裝",
|
||||
"HomeCustomSetupBtn": "自訂模式",
|
||||
"HomeCustomSetupBtnTooltip": "手動選取您偏好的設定",
|
||||
"AppRemovalTabHeader": "應用程式移除",
|
||||
"AppRemovalTitle": "應用程式移除",
|
||||
@@ -84,14 +84,14 @@
|
||||
"TweaksPresetAIAutomationName": "所有 AI 功能",
|
||||
"TweaksPresetAITooltip": "選取所有與 AI 相關的微調",
|
||||
"TweaksDetectApplied": "偵測已套用的微調",
|
||||
"TweaksDetectAppliedTooltip": "偵測目前使用者已套用的所有微調",
|
||||
"TweaksDetectAppliedTooltip": "偵測目前使用者已套用的微調,並勾選對應選項。取消勾選某項微調後,套用變更時會復原該微調對系統所做的變更,但不會重新安裝已移除的應用程式。",
|
||||
"TweaksSearchPlaceholder": "搜尋微調...",
|
||||
"TweaksSearchAutomationName": "搜尋微調",
|
||||
"DeployTabHeader": "部署設定",
|
||||
"DeployTitle": "部署設定",
|
||||
"DeploySubtitle": "設定選取的變更要如何套用到您的系統",
|
||||
"DeployApplyToTitle": "變更將套用至",
|
||||
"DeployUserSelectionDescription": "目前登入的使用者設定檔。",
|
||||
"DeployUserSelectionDescription": "目前使用者",
|
||||
"DeployAppRemovalScopeTitle": "將移除應用程式的對象",
|
||||
"DeployAppRemovalScopeAutomationName": "應用程式移除範圍",
|
||||
"DeployAppRemovalScopeAllUsers": "所有使用者",
|
||||
@@ -132,7 +132,6 @@
|
||||
"ApplyCompletionMessageVerificationUnavailable": "所有變更均已順利套用,但 Win11Debloat 無法確認所有選取的應用程式是否皆已成功解除安裝。",
|
||||
"WingetUserScopeUninstallDeferred": "WinGet 在以系統管理員身分執行時無法解除安裝 {0},因為它是針對使用者範圍安裝的。請重新啟動電腦,或以 {1} 的身分登出再重新登入,以完成移除。",
|
||||
"WingetAllUsersUninstallDeferred": "WinGet 在以系統管理員身分執行時無法解除安裝 {0},因為它是針對使用者範圍安裝的。解除安裝已排定於所有現有使用者設定檔及日後建立的設定檔登入時執行。",
|
||||
"ApplyCompletionMessageFailures_one": "{0} 項變更失敗。請查看主控台以了解詳細資料。",
|
||||
"ApplyCompletionMessageFailures_other": "{0} 項變更失敗。請查看主控台以了解詳細資料。",
|
||||
"ApplyCompletionMessageReady": "您的系統已就緒。感謝您使用 Win11Debloat!",
|
||||
"ApplyCompletionTitleError": "錯誤",
|
||||
@@ -198,6 +197,8 @@
|
||||
"RestoreStartMenuAllUsersSuccessMessage": "已成功為所有使用者還原開始功能表備份。變更將在每位使用者下次登入時生效。",
|
||||
"RestoreStartMenuCurrentUserSuccessMessage": "已成功為目前使用者還原開始功能表備份。變更將在您下次登入時生效。",
|
||||
"RestoreOperationFailedMessage": "還原失敗:{0}",
|
||||
"RestoreRegistryFailures_other": "{0} 個登錄機碼還原失敗。請查看主控台以了解詳細資料。",
|
||||
"RestoreOperationFailedTitle": "還原備份失敗",
|
||||
"RestoreUnexpectedError": "發生未預期的錯誤。",
|
||||
"ImportExportCategoryApplications": "應用程式",
|
||||
"ImportExportCategorySystemTweaks": "系統微調",
|
||||
@@ -231,15 +232,12 @@
|
||||
"ImportExportOptionRestartExplorer": "重新啟動檔案總管",
|
||||
"ImportExportOptionsPrefix": "選項:{0}",
|
||||
"ImportExportDefaultDeploymentSettings": "預設部署設定",
|
||||
"ImportExportAppsSelected_one": "已選取 {0} 個應用程式",
|
||||
"ImportExportAppsSelected_other": "已選取 {0} 個應用程式",
|
||||
"ImportExportNoAppsSelected": "未選取任何應用程式",
|
||||
"ImportExportTweaksSelected_one": "已選取 {0} 項微調",
|
||||
"ImportExportTweaksSelected_other": "已選取 {0} 項微調",
|
||||
"ImportExportNoTweaksSelected": "未選取任何微調",
|
||||
"AppSelectionWinGetLoadFailedMessage": "無法透過 WinGet 載入已安裝的應用程式清單。",
|
||||
"ErrorTitle": "錯誤",
|
||||
"AppSelectionStatusSelected_one": "已選取 {0} 個應用程式以供移除",
|
||||
"AppSelectionStatusSelected_other": "已選取 {0} 個應用程式以供移除",
|
||||
"AppRemovalScopeDescriptionAllUsers": "將為所有使用者移除應用程式,並從 Windows 映像中移除,以免新使用者再次取得這些應用程式。",
|
||||
"AppRemovalScopeDescriptionCurrentUser": "只會為目前使用者移除應用程式。",
|
||||
@@ -250,15 +248,13 @@
|
||||
"TweaksOptionDisable": "停用",
|
||||
"TweaksOptionEnable": "啟用",
|
||||
"TweaksAlreadyAppliedTooltip": "此微調已套用,且無法自動復原。請參閱 Win11Debloat Wiki 以了解如何手動還原此變更。",
|
||||
"DeployChangeRemoveApps_one": "移除 {0} 個應用程式",
|
||||
"DeployChangeRemoveApps_other": "移除 {0} 個應用程式",
|
||||
"DeployChangeUndoPrefix": "復原:{0}",
|
||||
"DeployNoChangesSelectedMessage": "未選取任何變更。",
|
||||
"DeploySelectedChangesTitle": "選取的變更",
|
||||
"DeployUserDescriptionCurrentUser": "目前登入的使用者設定檔",
|
||||
"DeployUserDescriptionCurrentUserNamed": "目前登入的使用者設定檔:{0}",
|
||||
"DeployUserDescriptionOtherUser": "此系統上的其他使用者設定檔",
|
||||
"DeployUserDescriptionOtherUserNamed": "此系統上的其他使用者設定檔:{0}",
|
||||
"DeployUserDescriptionCurrentUser": "目前使用者",
|
||||
"DeployUserDescriptionCurrentUserNamed": "目前使用者:{0}",
|
||||
"DeployUserDescriptionOtherUser": "其他使用者",
|
||||
"DeployUserDescriptionOtherUserNamed": "其他使用者:{0}",
|
||||
"DeployUserDescriptionSysprep": "預設使用者範本,會影響此後建立的所有新使用者。適用於 Sysprep 部署。",
|
||||
"LogsMenuTitle": "記錄",
|
||||
"LogsFolderNotFoundMessage": "找不到記錄資料夾:{0}",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"DisableSuggestions": {
|
||||
"Label": "停用 Windows 各處的提示、技巧與建議內容",
|
||||
"ToolTip": "此設定會移除 Windows 中許多惱人的干擾,包括通知、提醒和同步提供者廣告,也會阻止自動安裝建議的應用程式。",
|
||||
"ToolTip": "此設定會移除 Windows 中許多惱人的干擾,包括通知、提醒、廣告及其他干擾,也會阻止自動安裝建議的應用程式。",
|
||||
"ApplyText": "正在停用 Windows 各處的提示、技巧、建議與廣告",
|
||||
"UndoLabel": "啟用 Windows 各處的提示、技巧與建議內容",
|
||||
"ApplyUndoText": "正在啟用 Windows 各處的提示、技巧、建議與廣告"
|
||||
@@ -160,6 +160,13 @@
|
||||
"UndoLabel": "顯示開始功能表中的「所有應用程式」區段",
|
||||
"ApplyUndoText": "正在啟用開始功能表中的「所有應用程式」區段"
|
||||
},
|
||||
"DisableStartWebView2": {
|
||||
"Label": "停用 WebView2 以最佳化Windows 搜尋的記憶體使用量",
|
||||
"ToolTip": "透過防止Windows 搜尋使用 WebView2 來減少記憶體用量。此設定適用於所有使用者。",
|
||||
"ApplyText": "正在停用Windows 搜尋中的 WebView2",
|
||||
"UndoLabel": "還原Windows 搜尋的預設行為",
|
||||
"ApplyUndoText": "正在還原Windows 搜尋的預設行為"
|
||||
},
|
||||
"DisableStartPhoneLink": {
|
||||
"Label": "停用開始功能表中的手機連結整合",
|
||||
"ToolTip": "當您的 PC 連結行動裝置後,這會移除開始功能表中的手機連結整合。",
|
||||
@@ -343,6 +350,13 @@
|
||||
"UndoLabel": "啟用儲存空間感知器自動清理磁碟",
|
||||
"ApplyUndoText": "正在啟用儲存空間感知器自動清理磁碟"
|
||||
},
|
||||
"DisableStartupDelay": {
|
||||
"Label": "取消啟動應用程式執行前的等待時間",
|
||||
"ToolTip": "取消隨 Windows 自動啟動的應用程式的等待時間,讓這些應用程式更早啟動。在較舊或效能較低的裝置上,這可能會使 Windows 在登入後的反應速度變慢。",
|
||||
"ApplyText": "正在取消啟動應用程式執行前的等待時間",
|
||||
"UndoLabel": "還原啟動應用程式執行前的預設等待時間",
|
||||
"ApplyUndoText": "正在還原啟動應用程式執行前的預設等待時間"
|
||||
},
|
||||
"DisableFastStartup": {
|
||||
"Label": "停用快速啟動",
|
||||
"ToolTip": "快速啟動會將系統映像儲存到磁碟,讓 PC 在關機後更快啟動。停用快速啟動有助於解決某些問題,但可能使開機時間稍微變長。",
|
||||
|
||||
@@ -102,6 +102,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
- Turn off Enhance Pointer Precision (mouse acceleration).
|
||||
- Disable the Sticky Keys keyboard shortcut.
|
||||
- Disable Storage Sense automatic disk cleanup.
|
||||
- Disable the delay before startup apps run after signing in.
|
||||
- Disable fast start-up to ensure a full shutdown.
|
||||
- Disable BitLocker automatic device encryption.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain.
|
||||
@@ -125,6 +126,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
- Customize the start menu by removing pinned apps, hiding recommendations, and customizing the 'All Apps' section.
|
||||
- Disable the Phone Link mobile devices integration in the start menu.
|
||||
- Disable Bing web search & Copilot integration and Microsoft Store app suggestions in Windows search.
|
||||
- Optimize Windows search memory usage by disabling WebView2-based rendering.
|
||||
|
||||
#### Taskbar
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FeatureManagement\Overrides\8\1694661260]
|
||||
"EnabledState"=dword:00000001
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FeatureManagement\Overrides\8\1694661260]
|
||||
"EnabledState"=dword:00000001
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FeatureManagement\Overrides\8\1694661260]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -163,7 +163,7 @@
|
||||
Style="{DynamicResource ModalSecondaryStretchedButtonStyle}"
|
||||
AutomationProperties.Name="%LANG:TitleBarSupportCreator%">
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
||||
<TextBlock Text="" FontFamily="{DynamicResource AppIconFontFamily}" FontSize="14" VerticalAlignment="Center" Margin="0,0,8,-1"/>
|
||||
<TextBlock x:Name="ApplyKofiIcon" Text="" FontFamily="{DynamicResource AppIconFontFamily}" FontSize="14" VerticalAlignment="Center" Margin="0,0,8,-1"/>
|
||||
<TextBlock Text="%LANG:TitleBarSupportCreator%" VerticalAlignment="Center" FontSize="14" Margin="0,0,0,1"/>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
|
||||
@@ -367,7 +367,9 @@
|
||||
</TextBlock.Style>
|
||||
</TextBlock>
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal">
|
||||
<Button x:Name="KofiBtn" shell:WindowChrome.IsHitTestVisibleInChrome="True" Content="" FontSize="15" Style="{StaticResource TitlebarButton}" ToolTip="%LANG:TitleBarSupportCreator%" AutomationProperties.Name="%LANG:TitleBarSupportCreator%"/>
|
||||
<Button x:Name="KofiBtn" shell:WindowChrome.IsHitTestVisibleInChrome="True" FontSize="15" Style="{StaticResource TitlebarButton}" ToolTip="%LANG:TitleBarSupportCreator%" AutomationProperties.Name="%LANG:TitleBarSupportCreator%">
|
||||
<TextBlock x:Name="KofiIcon" Text="" VerticalAlignment="Center"/>
|
||||
</Button>
|
||||
<Button x:Name="SettingsBtn" shell:WindowChrome.IsHitTestVisibleInChrome="True" Content="" FontSize="15" Style="{StaticResource TitlebarButton}" ToolTip="%LANG:SettingsTitle%" AutomationProperties.Name="%LANG:SettingsTitle%"/>
|
||||
<Button x:Name="MenuBtn" shell:WindowChrome.IsHitTestVisibleInChrome="True" Content="" FontSize="15" Style="{StaticResource TitlebarButton}" ToolTip="%LANG:TitleBarOptions%" AutomationProperties.Name="%LANG:TitleBarOptions%">
|
||||
<Button.ContextMenu>
|
||||
@@ -810,7 +812,10 @@
|
||||
</Popup>
|
||||
</StackPanel>
|
||||
|
||||
<CheckBox x:Name="ShowCurrentlyAppliedTweaksCheckBox" Grid.Column="1" IsChecked="True" Foreground="{DynamicResource AppFgColor}" VerticalAlignment="Center" HorizontalAlignment="Left" AutomationProperties.Name="%LANG:TweaksDetectApplied%" ToolTip="%LANG:TweaksDetectAppliedTooltip%">
|
||||
<CheckBox x:Name="ShowCurrentlyAppliedTweaksCheckBox" Grid.Column="1" IsChecked="True" Foreground="{DynamicResource AppFgColor}" VerticalAlignment="Center" HorizontalAlignment="Left" AutomationProperties.Name="%LANG:TweaksDetectApplied%">
|
||||
<CheckBox.ToolTip>
|
||||
<TextBlock Text="%LANG:TweaksDetectAppliedTooltip%" TextWrapping="Wrap" MaxWidth="420"/>
|
||||
</CheckBox.ToolTip>
|
||||
<TextBlock Text="%LANG:TweaksDetectApplied%" TextWrapping="Wrap"/>
|
||||
</CheckBox>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
Iterates over every non-control parameter in $script:Params and emits a
|
||||
human-readable line for each change that will be applied. For the
|
||||
'RemoveApps' parameter the list of targeted app names is displayed
|
||||
inline. Feature labels are resolved from Features.json when available;
|
||||
inline. Feature labels are resolved from the language catalogs when available;
|
||||
otherwise the raw parameter name is used as a fallback.
|
||||
|
||||
After printing the summary the function pauses until the user presses
|
||||
@@ -16,7 +16,7 @@ function Write-PendingChanges {
|
||||
Write-Output "Win11Debloat will make the following changes:"
|
||||
|
||||
if ($script:Params['CreateRestorePoint']) {
|
||||
Write-Output "- $($script:Features['CreateRestorePoint'].Label)"
|
||||
Write-Output "- $(Get-Translation -Key 'CreateRestorePoint' -Field 'Label' -Section 'Features')"
|
||||
}
|
||||
foreach ($parameterName in $script:Params.Keys) {
|
||||
if ($script:ControlParams -contains $parameterName) {
|
||||
@@ -45,7 +45,7 @@ function Write-PendingChanges {
|
||||
continue
|
||||
}
|
||||
default {
|
||||
$message = $script:Features[$parameterName].Label
|
||||
$message = Get-Translation -Key $parameterName -Field 'Label' -Section 'Features'
|
||||
Write-Output "- $message"
|
||||
continue
|
||||
}
|
||||
|
||||
@@ -53,7 +53,14 @@ function Import-RegistryFile {
|
||||
|
||||
try {
|
||||
$global:LASTEXITCODE = 0
|
||||
$previousEap = $ErrorActionPreference
|
||||
$ErrorActionPreference = 'Continue'
|
||||
try {
|
||||
$output = reg import $targetRegFilePath 2>&1
|
||||
}
|
||||
finally {
|
||||
$ErrorActionPreference = $previousEap
|
||||
}
|
||||
$importExitCode = $LASTEXITCODE
|
||||
|
||||
if ($output) {
|
||||
|
||||
@@ -20,7 +20,7 @@ function Invoke-FeatureApply {
|
||||
try {
|
||||
# Resolve feature metadata from Features.json
|
||||
$feature = $script:Features[$FeatureId]
|
||||
$applyText = $feature.ApplyText
|
||||
$applyText = Get-Translation -Key $FeatureId -Field 'ApplyText' -Section 'Features'
|
||||
|
||||
# ---- Registry-backed features: import .reg file, then handle additional tasks ----
|
||||
if ($feature.RegistryKey) {
|
||||
@@ -162,7 +162,7 @@ function Invoke-FeatureUndo {
|
||||
return $false
|
||||
}
|
||||
|
||||
$undoText = if ($feature.ApplyUndoText) { $feature.ApplyUndoText } elseif ($feature.UndoLabel) { $feature.UndoLabel } else { $FeatureId }
|
||||
$undoText = Get-Translation -Key $FeatureId -Field 'ApplyUndoText' -Section 'Features'
|
||||
|
||||
try {
|
||||
# ---- Registry-backed features: import undo data, then handle additional tasks ----
|
||||
@@ -308,9 +308,7 @@ function Invoke-UndoFeatures {
|
||||
foreach ($featureId in $FeatureIds) {
|
||||
if ($script:CancelRequested) { return }
|
||||
|
||||
$f = if ($script:Features.ContainsKey($featureId)) { $script:Features[$featureId] } else { $null }
|
||||
$undoLabel = if ($f -and $f.UndoLabel) { Get-Translation -Key $featureId -Field 'UndoLabel' -Section 'Features' } else { $featureId }
|
||||
$undoText = if ($f -and $f.ApplyUndoText) { Get-Translation -Key $featureId -Field 'ApplyUndoText' -Section 'Features' } else { $undoLabel }
|
||||
$undoText = Get-Translation -Key $featureId -Field 'ApplyUndoText' -Section 'Features'
|
||||
|
||||
if ($script:ApplyProgressCallback) {
|
||||
& $script:ApplyProgressCallback $step $TotalSteps $undoText
|
||||
|
||||
@@ -246,10 +246,30 @@ function Restore-RegistryBackupState {
|
||||
$restoreAction = {
|
||||
param($normalizedBackup)
|
||||
|
||||
Write-Host "Applying registry restore from $(@($normalizedBackup.RegistryKeys).Count) root snapshot(s)."
|
||||
foreach ($rootSnapshot in @($normalizedBackup.RegistryKeys)) {
|
||||
$rootSnapshots = @($normalizedBackup.RegistryKeys)
|
||||
|
||||
foreach ($rootSnapshot in $rootSnapshots) {
|
||||
Test-RegistryKeySnapshotCanBeRestored -Snapshot $rootSnapshot
|
||||
}
|
||||
|
||||
Write-Host "Applying registry restore from $($rootSnapshots.Count) root snapshot(s)."
|
||||
$failureCount = 0
|
||||
|
||||
foreach ($rootSnapshot in $rootSnapshots) {
|
||||
try {
|
||||
Restore-RegistryKeySnapshot -Snapshot $rootSnapshot
|
||||
}
|
||||
catch {
|
||||
$failureCount++
|
||||
Write-Warning "Failed to restore '$($rootSnapshot.Path)': $($_.Exception.Message)"
|
||||
}
|
||||
}
|
||||
|
||||
if ($failureCount -gt 0) {
|
||||
$restoreError = [System.InvalidOperationException]::new("Registry restore finished with $failureCount failed key(s). See console for details.")
|
||||
$restoreError.Data['RegistryRestoreFailureCount'] = $failureCount
|
||||
throw $restoreError
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "Starting restore for $friendlyTarget."
|
||||
|
||||
@@ -323,7 +323,7 @@ function Get-Translation {
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Looks up a translated label for one value of a UiGroup, falling back to en-US, then to the raw label.
|
||||
Looks up a translated label for one value of a UiGroup, falling back to en-US, then to the feature ID.
|
||||
|
||||
.DESCRIPTION
|
||||
UiGroups[GroupId].Values in the language files is a FeatureId -> Label map, one level deeper
|
||||
@@ -336,13 +336,11 @@ function Get-GroupValueTranslation {
|
||||
[string]$GroupId,
|
||||
[Parameter(Mandatory)]
|
||||
[string]$FeatureId,
|
||||
[Parameter(Mandatory)]
|
||||
[string]$FallbackLabel,
|
||||
[object]$Lang = $script:Lang
|
||||
)
|
||||
|
||||
if (-not $Lang) {
|
||||
return $FallbackLabel
|
||||
return $FeatureId
|
||||
}
|
||||
|
||||
foreach ($candidateLang in (Get-LanguageFallbackChain -Lang $Lang)) {
|
||||
@@ -357,7 +355,7 @@ function Get-GroupValueTranslation {
|
||||
}
|
||||
}
|
||||
|
||||
return $FallbackLabel
|
||||
return $FeatureId
|
||||
}
|
||||
|
||||
<#
|
||||
@@ -503,7 +501,9 @@ function ConvertTo-LocalizedXaml {
|
||||
if (-not $resolvesSomewhere) { $missingKeys.Add($key) }
|
||||
if ($DynamicResources) { return "{DynamicResource Language_$key}" }
|
||||
$value = if ($resolvesSomewhere) { Get-Translation -Key $key -Lang $Lang } else { $key }
|
||||
return [System.Security.SecurityElement]::Escape($value)
|
||||
# Literal line breaks in XML attributes are normalized to spaces by the reader.
|
||||
# Character references preserve translated paragraphs in Text/ToolTip attributes.
|
||||
return [System.Security.SecurityElement]::Escape($value).Replace("`r", '
').Replace("`n", '
')
|
||||
}
|
||||
|
||||
$result = [System.Text.RegularExpressions.Regex]::Replace($Xaml, '%LANG:([A-Za-z0-9_]+)%', $evaluator)
|
||||
|
||||
@@ -1,18 +1,6 @@
|
||||
# MainWindow-Deployment.ps1
|
||||
# Overview generation, pending tweak actions, feature labels, tweak preset maps, apply logic, user mode state, user selection, and validation.
|
||||
|
||||
function Get-UndoFeatureLabel {
|
||||
param([string]$FeatureId)
|
||||
|
||||
$undoLabel = $script:UndoFeatureLabelLookup[$FeatureId]
|
||||
if (-not [string]::IsNullOrWhiteSpace([string]$undoLabel)) {
|
||||
return [string]$undoLabel
|
||||
}
|
||||
|
||||
# Fall back to the regular label (prefixed for undo context)
|
||||
return [string]$script:FeatureLabelLookup[$FeatureId]
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Returns the tweak actions that are pending based on the current UI state.
|
||||
@@ -61,7 +49,7 @@ function Get-PendingTweakActions {
|
||||
$actions.Add([PSCustomObject]@{
|
||||
Action = 'Undo'
|
||||
FeatureId = [string]$mapping.FeatureId
|
||||
Label = [string](Get-UndoFeatureLabel -FeatureId $mapping.FeatureId)
|
||||
Label = [string]$script:UndoFeatureLabelLookup[$mapping.FeatureId]
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -129,13 +117,8 @@ function New-Overview {
|
||||
}
|
||||
|
||||
foreach ($tweakAction in @(Get-PendingTweakActions -Window $Window -ShowAppliedTweaksMode:$showAppliedTweaksMode)) {
|
||||
if ($tweakAction.Action -eq 'Undo') {
|
||||
$changesList += Get-Translation -Key 'DeployChangeUndoPrefix' -FormatArgs @($tweakAction.Label)
|
||||
}
|
||||
else {
|
||||
$changesList += $tweakAction.Label
|
||||
}
|
||||
}
|
||||
|
||||
return $changesList
|
||||
}
|
||||
|
||||
@@ -21,6 +21,53 @@ function Update-WindowLanguageResources {
|
||||
$text = Get-Translation -Key $key -Section 'Chrome'
|
||||
foreach ($target in $targets) { $target.Resources["Language_$key"] = $text }
|
||||
}
|
||||
Set-SupportLinkIcon -Icon $Window.FindName('KofiIcon')
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Returns the support destination for the active interface language.
|
||||
#>
|
||||
function Get-SupportLinkUrl {
|
||||
if ($script:Lang.LanguageCode -eq 'ru-RU') {
|
||||
return 'https://war.ukraine.ua/support-ukraine/'
|
||||
}
|
||||
return 'https://ko-fi.com/raphire'
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows the Ukrainian flag for Russian, or the creator support heart otherwise.
|
||||
|
||||
.PARAMETER Icon
|
||||
The support link's icon TextBlock, when present in the window.
|
||||
#>
|
||||
function Set-SupportLinkIcon {
|
||||
param([System.Windows.Controls.TextBlock]$Icon)
|
||||
|
||||
if ($null -eq $Icon) { return }
|
||||
if ($script:Lang.LanguageCode -eq 'ru-RU') {
|
||||
# Draw the flag directly so it also renders on Windows without flag emoji support.
|
||||
$drawing = [System.Windows.Media.DrawingGroup]::new()
|
||||
foreach ($stripe in @(
|
||||
@{ Color = '#0057B7'; Y = 0 }
|
||||
@{ Color = '#FFD700'; Y = 1 }
|
||||
)) {
|
||||
$brush = [System.Windows.Media.BrushConverter]::new().ConvertFromString($stripe.Color)
|
||||
$rectangle = [System.Windows.Media.RectangleGeometry]::new([System.Windows.Rect]::new(0, $stripe.Y, 3, 1))
|
||||
$drawing.Children.Add([System.Windows.Media.GeometryDrawing]::new($brush, $null, $rectangle))
|
||||
}
|
||||
$Icon.Text = ''
|
||||
$Icon.Width = 18
|
||||
$Icon.Height = 12
|
||||
$Icon.Background = [System.Windows.Media.DrawingBrush]::new($drawing)
|
||||
}
|
||||
else {
|
||||
$Icon.Text = [string][char]0xEB52
|
||||
$Icon.ClearValue([System.Windows.FrameworkElement]::WidthProperty)
|
||||
$Icon.ClearValue([System.Windows.FrameworkElement]::HeightProperty)
|
||||
$Icon.ClearValue([System.Windows.Controls.TextBlock]::BackgroundProperty)
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
.PARAMETER Mapping
|
||||
A control mapping with Type and either FeatureId or GroupId and Values. Group values
|
||||
contain FeatureIds and fallback Label text.
|
||||
contain FeatureIds.
|
||||
|
||||
.PARAMETER Features
|
||||
The feature definitions keyed by FeatureId. Defaults to $script:Features.
|
||||
@@ -30,7 +30,7 @@ function Get-TweakControlText {
|
||||
$label = Get-Translation -Key $Mapping.GroupId -Field 'Label' -Section 'UiGroups'
|
||||
$tooltip = Get-Translation -Key $Mapping.GroupId -Field 'ToolTip' -Section 'UiGroups'
|
||||
$options += @($Mapping.Values | ForEach-Object {
|
||||
Get-GroupValueTranslation -GroupId $Mapping.GroupId -FeatureId $_.FeatureIds[0] -FallbackLabel $_.Label
|
||||
Get-GroupValueTranslation -GroupId $Mapping.GroupId -FeatureId $_.FeatureIds[0]
|
||||
})
|
||||
}
|
||||
else {
|
||||
@@ -66,11 +66,9 @@ function Update-FeatureLabelLookup {
|
||||
$script:UndoFeatureLabelLookup = @{}
|
||||
foreach ($feature in $Features) {
|
||||
$script:FeatureLabelLookup[$feature.FeatureId] = Get-Translation -Key $feature.FeatureId -Field 'Label' -Section 'Features'
|
||||
if ($feature.UndoLabel) {
|
||||
$script:UndoFeatureLabelLookup[$feature.FeatureId] = Get-Translation -Key $feature.FeatureId -Field 'UndoLabel' -Section 'Features'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@@ -244,7 +242,7 @@ function New-DynamicTweakControls {
|
||||
$text = Get-TweakControlText -Mapping $mapping -Features $featureMap
|
||||
$controlName = ("Feature_{0}_Combo" -f $feature.FeatureId) -replace '[^a-zA-Z0-9_]', ''
|
||||
$control = New-LabeledCombo -parent $parent -labelText $text.Label -comboName $controlName -items $text.Options
|
||||
if ($feature.ToolTip -or $feature.DisableWhenApplied -eq $true) {
|
||||
if ($text.ToolTip -and $text.ToolTip -ne $feature.FeatureId) {
|
||||
Set-TweakControlToolTip -control $control -tooltipText $text.ToolTip -ShowOnDisabled
|
||||
}
|
||||
$script:UiControlMappings[$controlName] = $mapping
|
||||
@@ -353,33 +351,10 @@ function New-DynamicTweakControls {
|
||||
}
|
||||
foreach ($f in $featuresJson.Features) { if ($f.Category) { $categoriesPresent[$f.Category] = $true } }
|
||||
|
||||
# Create cards in the order defined in Features.json Categories (if present)
|
||||
$orderedCategories = @()
|
||||
if ($featuresJson.Categories) {
|
||||
foreach ($c in $featuresJson.Categories) {
|
||||
$categoryName = if ($c -is [string]) { $c } else { $c.Name }
|
||||
if ($categoriesPresent.ContainsKey($categoryName)) {
|
||||
# Store the full category object (or create one with default icon for string categories).
|
||||
# A category without its own CategoryId falls back to its Name, same as before CategoryId existed.
|
||||
$categoryObj = if ($c -is [string]) {
|
||||
@{Name = $c; CategoryId = $c; Icon = '' }
|
||||
}
|
||||
elseif (-not $c.CategoryId) {
|
||||
@{Name = $c.Name; CategoryId = $c.Name; Icon = $c.Icon }
|
||||
}
|
||||
else {
|
||||
$c
|
||||
}
|
||||
$orderedCategories += $categoryObj
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
# For backward compatibility, create category objects from keys
|
||||
foreach ($catName in $categoriesPresent.Keys) {
|
||||
$orderedCategories += @{Name = $catName; CategoryId = $catName; Icon = '' }
|
||||
}
|
||||
}
|
||||
# Create cards in the order defined in Features.json Categories.
|
||||
$orderedCategories = @($featuresJson.Categories | Where-Object {
|
||||
$categoriesPresent.ContainsKey($_.Name)
|
||||
})
|
||||
|
||||
# Build a FeatureId -> feature lookup for version filtering in groups
|
||||
$featureMap = @{}
|
||||
@@ -482,7 +457,7 @@ function New-DynamicTweakControls {
|
||||
$comboName = 'Group_{0}Combo' -f $group.GroupId
|
||||
if (-not $panel) { $panel = Get-OrCreateCategoryCard -categoryObj $categoryObj }
|
||||
$combo = New-LabeledCombo -parent $panel -labelText $text.Label -comboName $comboName -items $text.Options
|
||||
if ($group.ToolTip) {
|
||||
if ($text.ToolTip -and $text.ToolTip -ne $group.GroupId) {
|
||||
Set-TweakControlToolTip -control $combo -tooltipText $text.ToolTip
|
||||
}
|
||||
$script:UiControlMappings[$comboName] = $mapping
|
||||
|
||||
@@ -57,6 +57,7 @@ function Show-AboutDialog {
|
||||
$versionText = $aboutWindow.FindName('VersionText')
|
||||
$projectLink = $aboutWindow.FindName('ProjectLink')
|
||||
$kofiLink = $aboutWindow.FindName('KofiLink')
|
||||
Set-SupportLinkIcon -Icon $aboutWindow.FindName('KofiLinkIcon')
|
||||
$closeButton = $aboutWindow.FindName('CloseButton')
|
||||
|
||||
# Set version
|
||||
@@ -72,9 +73,9 @@ function Show-AboutDialog {
|
||||
Start-Process "https://github.com/Raphire/Win11Debloat"
|
||||
})
|
||||
|
||||
# Ko-fi link click handler
|
||||
# Support link click handler
|
||||
$kofiLink.Add_Click({
|
||||
Start-Process "https://ko-fi.com/raphire"
|
||||
Start-Process (Get-SupportLinkUrl)
|
||||
})
|
||||
|
||||
# Close button handler
|
||||
|
||||
@@ -70,6 +70,7 @@ function Show-ApplyModal {
|
||||
$applyRebootList = $applyWindow.FindName('ApplyRebootList')
|
||||
$applyCloseBtn = $applyWindow.FindName('ApplyCloseBtn')
|
||||
$applyKofiBtn = $applyWindow.FindName('ApplyKofiBtn')
|
||||
Set-SupportLinkIcon -Icon $applyWindow.FindName('ApplyKofiIcon')
|
||||
$applyCancelBtn = $applyWindow.FindName('ApplyCancelBtn')
|
||||
|
||||
# Initialize in-progress state
|
||||
@@ -242,7 +243,7 @@ function Show-ApplyModal {
|
||||
if ($script:ApplyModalInErrorState) {
|
||||
Start-Process "https://github.com/Raphire/Win11Debloat/issues/new"
|
||||
} else {
|
||||
Start-Process "https://ko-fi.com/raphire"
|
||||
Start-Process (Get-SupportLinkUrl)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ function Show-MainWindow {
|
||||
})
|
||||
|
||||
# ---- Menu/button event wiring ----
|
||||
$kofiBtn.Add_Click({ Start-Process "https://ko-fi.com/raphire" })
|
||||
$kofiBtn.Add_Click({ Start-Process (Get-SupportLinkUrl) })
|
||||
$window.FindName('SettingsBtn').Add_Click({ Open-MainWindowSettings -Window $window })
|
||||
|
||||
$menuBtn.Add_Click({
|
||||
|
||||
@@ -114,8 +114,15 @@ function Show-RestoreBackupWindow {
|
||||
}
|
||||
catch {
|
||||
$errorMessage = if ($_.Exception.Message) { $_.Exception.Message } else { Get-Translation -Key 'RestoreUnexpectedError' }
|
||||
Write-Error "Restore operation failed: $errorMessage"
|
||||
Show-MessageBox -Title (Get-Translation -Key 'ErrorTitle') -Message (Get-Translation -Key 'RestoreOperationFailedMessage' -FormatArgs @($errorMessage)) -Icon Error
|
||||
$failureCount = $_.Exception.Data['RegistryRestoreFailureCount']
|
||||
$dialogMessage = if ($failureCount -gt 0) {
|
||||
Get-Translation -Key 'RestoreRegistryFailures' -Count $failureCount -FormatArgs @($failureCount)
|
||||
}
|
||||
else {
|
||||
Get-Translation -Key 'RestoreOperationFailedMessage' -FormatArgs @($errorMessage)
|
||||
}
|
||||
Write-Error "Restore operation failed: $errorMessage" -ErrorAction Continue
|
||||
Show-MessageBox -Title (Get-Translation -Key 'RestoreOperationFailedTitle') -Message $dialogMessage -Icon Error
|
||||
return [PSCustomObject]@{
|
||||
RestoredRegistry = $false
|
||||
RestoredStartMenu = $false
|
||||
|
||||
+6
-37
@@ -28,6 +28,7 @@ param (
|
||||
[switch]$EnableWindowsSubsystemForLinux,
|
||||
[switch]$DisableTelemetry,
|
||||
[switch]$DisableFastStartup,
|
||||
[switch]$DisableStartupDelay,
|
||||
[switch]$DisableBitlockerAutoEncryption,
|
||||
[switch]$DisableModernStandbyNetworking,
|
||||
[switch]$DisableNotifications,
|
||||
@@ -65,6 +66,7 @@ param (
|
||||
[switch]$DisableStartRecommended,
|
||||
[switch]$DisableStartAllApps, [switch]$StartAllAppsCategory, [switch]$StartAllAppsGrid, [switch]$StartAllAppsList,
|
||||
[switch]$DisableStartPhoneLink,
|
||||
[switch]$DisableStartWebView2,
|
||||
[switch]$DisableCopilot,
|
||||
[switch]$DisableRecall,
|
||||
[switch]$DisableClickToDo,
|
||||
@@ -193,31 +195,12 @@ if ($expectedArchiveHash -and -not (Test-FileHashMatch $tempArchivePath $expecte
|
||||
Exit 1
|
||||
}
|
||||
|
||||
# Remove old script folder if it exists, but keep configs, logs and backups
|
||||
# Remove old script files if they exist, but keep logs and backups
|
||||
if (Test-Path $tempWorkPath) {
|
||||
Write-Output ""
|
||||
Write-Output "> Cleaning up old script files..."
|
||||
|
||||
Get-ChildItem -Path $tempWorkPath -Exclude Config,Logs,Backups | Remove-Item -Recurse -Force
|
||||
}
|
||||
|
||||
$configDir = Join-Path $tempWorkPath 'Config'
|
||||
$backupDir = Join-Path $tempWorkPath 'ConfigOld'
|
||||
|
||||
# Temporarily move existing config files if they exist to prevent them from being overwritten by the new script files, will be moved back after the new script is unpacked
|
||||
if (Test-Path "$configDir") {
|
||||
Write-Output ""
|
||||
Write-Output "> Backing up existing config files..."
|
||||
|
||||
New-Item -ItemType Directory -Path "$backupDir" -Force | Out-Null
|
||||
|
||||
$filesToKeep = @(
|
||||
'LastUsedSettings.json'
|
||||
)
|
||||
|
||||
Get-ChildItem -Path "$configDir" -Recurse | Where-Object { $_.Name -in $filesToKeep } | Move-Item -Destination "$backupDir"
|
||||
|
||||
Remove-Item "$configDir" -Recurse -Force
|
||||
Get-ChildItem -Path $tempWorkPath -Exclude Logs,Backups | Remove-Item -Recurse -Force
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
@@ -232,19 +215,6 @@ Remove-Item $tempArchivePath
|
||||
# Move files
|
||||
Get-ChildItem -Path (Join-Path $tempWorkPath '*Win11Debloat-*') -Recurse | Move-Item -Destination $tempWorkPath
|
||||
|
||||
# Add existing config files back to Config folder
|
||||
if (Test-Path "$backupDir") {
|
||||
if (-not (Test-Path "$configDir")) {
|
||||
New-Item -ItemType Directory -Path "$configDir" -Force | Out-Null
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
Write-Output "> Restoring existing config files..."
|
||||
|
||||
Get-ChildItem -Path "$backupDir" -Recurse | Move-Item -Destination "$configDir"
|
||||
Remove-Item "$backupDir" -Recurse -Force
|
||||
}
|
||||
|
||||
# Quote a value so it survives CommandLineToArgvW parsing in the child process: double any backslash run that
|
||||
# precedes a quote or the closing quote, and escape embedded quotes, before wrapping the value in quotes.
|
||||
function Format-LauncherArg([string]$Value) {
|
||||
@@ -307,13 +277,12 @@ if ($null -ne $debloatProcess) {
|
||||
$exitCode = $debloatProcess.ExitCode
|
||||
}
|
||||
|
||||
# Remove all remaining script files, except for configs, logs and backups
|
||||
# Remove all remaining script files, except for logs and backups
|
||||
if (Test-Path $tempWorkPath) {
|
||||
Write-Output ""
|
||||
Write-Output "> Cleaning up..."
|
||||
|
||||
# Cleanup, remove Win11Debloat directory
|
||||
Get-ChildItem -Path $tempWorkPath -Exclude Config,Logs,Backups | Remove-Item -Recurse -Force
|
||||
Get-ChildItem -Path $tempWorkPath -Exclude Logs,Backups | Remove-Item -Recurse -Force
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
.DESCRIPTION
|
||||
Combines parameter keys from both forward and undo selections, removes duplicates,
|
||||
and returns the feature label that should be shown to users. Undo selections use
|
||||
UndoLabel when available.
|
||||
UndoLabel.
|
||||
#>
|
||||
function Get-RebootFeatureLabels {
|
||||
$rebootFeatureLabels = [System.Collections.Generic.List[string]]::new()
|
||||
@@ -13,9 +13,9 @@ function Get-RebootFeatureLabels {
|
||||
|
||||
foreach ($paramKey in $candidateParamKeys) {
|
||||
if ($script:Features.ContainsKey($paramKey) -and $script:Features[$paramKey].RequiresReboot -eq $true) {
|
||||
$feature = $script:Features[$paramKey]
|
||||
$isUndo = $script:UndoParams.ContainsKey($paramKey)
|
||||
$displayLabel = if ($isUndo -and $feature.UndoLabel) { Get-Translation -Key $paramKey -Field 'UndoLabel' -Section 'Features' } else { Get-Translation -Key $paramKey -Field 'Label' -Section 'Features' }
|
||||
$labelField = if ($isUndo) { 'UndoLabel' } else { 'Label' }
|
||||
$displayLabel = Get-Translation -Key $paramKey -Field $labelField -Section 'Features'
|
||||
|
||||
if (-not [string]::IsNullOrWhiteSpace([string]$displayLabel)) {
|
||||
[void]$rebootFeatureLabels.Add([string]$displayLabel)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
BeforeAll {
|
||||
$repositoryRoot = Split-Path -Parent $PSScriptRoot
|
||||
$buildScript = Join-Path $repositoryRoot 'Scripts/Build-Release.ps1'
|
||||
$buildScript = Join-Path $repositoryRoot 'Tools/Build-Release.ps1'
|
||||
$releasePath = Join-Path $TestDrive 'release'
|
||||
$version = '2026.10.22-r2'
|
||||
$originalScript = [IO.File]::ReadAllText((Join-Path $repositoryRoot 'Win11Debloat.ps1'))
|
||||
Push-Location $TestDrive
|
||||
try { & $buildScript -SourcePath $repositoryRoot -Version $version -OutputDirectory 'release' }
|
||||
try { & $buildScript -Version $version -OutputDirectory 'release' }
|
||||
finally { Pop-Location }
|
||||
$unpackedPath = Join-Path $TestDrive 'unpacked'
|
||||
Expand-Archive -LiteralPath (Join-Path $releasePath 'Win11Debloat.zip') -DestinationPath $unpackedPath
|
||||
@@ -29,7 +29,7 @@ Describe 'Release packaging' {
|
||||
}
|
||||
|
||||
It 'excludes development files and existing user data' {
|
||||
foreach ($path in 'Tests', '.github', '.git', '.gitignore', 'Logs', 'Backups', 'Scripts/Run-Tests.ps1', 'Scripts/Build-Release.ps1', 'LastUsedSettings.json', 'Config/LastUsedSettings.json') {
|
||||
foreach ($path in 'Tests', 'Tools', '.github', '.git', '.gitignore', 'Logs', 'Backups', 'LastUsedSettings.json', 'Config/LastUsedSettings.json') {
|
||||
Test-Path -LiteralPath (Join-Path $packagePath $path) | Should -BeFalse
|
||||
}
|
||||
}
|
||||
@@ -43,12 +43,12 @@ Describe 'Release packaging' {
|
||||
|
||||
It 'includes new files automatically and prunes exclusions and nested output' {
|
||||
$source = Join-Path $TestDrive 'source-fixture'
|
||||
foreach ($directory in 'NewRuntime', 'Scripts', 'Tests', '.git', '.github', 'Logs', 'Backups', 'Config') {
|
||||
foreach ($directory in 'NewRuntime', 'Scripts', 'Tools', 'Tests', '.git', '.github', 'Logs', 'Backups', 'Config') {
|
||||
New-Item -ItemType Directory -Path (Join-Path $source $directory) -Force | Out-Null
|
||||
}
|
||||
Copy-Item -LiteralPath (Join-Path $repositoryRoot 'Win11Debloat.ps1') -Destination $source
|
||||
Copy-Item -LiteralPath (Join-Path $repositoryRoot 'Scripts/Get.ps1') -Destination (Join-Path $source 'Scripts/Get.ps1')
|
||||
foreach ($path in 'extra.txt', 'NewRuntime/data.txt', 'Scripts/NewHelper.ps1', 'Tests/test.txt', '.git/config', '.github/workflow.yml', '.gitignore', 'Logs/log.txt', 'Backups/backup.json', 'Scripts/Build-Release.ps1', 'Scripts/Run-Tests.ps1', 'LastUsedSettings.json', 'Config/LastUsedSettings.json') {
|
||||
foreach ($path in 'extra.txt', 'NewRuntime/data.txt', 'Scripts/NewHelper.ps1', 'Tools/NewBuildHelper.ps1', 'Tests/test.txt', '.git/config', '.github/workflow.yml', '.gitignore', 'Logs/log.txt', 'Backups/backup.json', 'LastUsedSettings.json', 'Config/LastUsedSettings.json') {
|
||||
Set-Content -LiteralPath (Join-Path $source $path) -Value 'fixture'
|
||||
}
|
||||
$output = Join-Path $source 'output'
|
||||
@@ -59,7 +59,7 @@ Describe 'Release packaging' {
|
||||
foreach ($path in 'extra.txt', 'NewRuntime/data.txt', 'Scripts/NewHelper.ps1', 'Scripts/Get.ps1') {
|
||||
Test-Path -LiteralPath (Join-Path $root $path) | Should -BeTrue
|
||||
}
|
||||
foreach ($path in 'Tests', '.git', '.github', '.gitignore', 'Logs', 'Backups', 'Scripts/Build-Release.ps1', 'Scripts/Run-Tests.ps1', 'LastUsedSettings.json', 'Config/LastUsedSettings.json', 'output') {
|
||||
foreach ($path in 'Tests', 'Tools', '.git', '.github', '.gitignore', 'Logs', 'Backups', 'LastUsedSettings.json', 'Config/LastUsedSettings.json', 'output') {
|
||||
Test-Path -LiteralPath (Join-Path $root $path) | Should -BeFalse
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,40 @@ BeforeAll {
|
||||
}
|
||||
|
||||
Describe 'FeatureId parameter contracts' {
|
||||
It 'keeps localized text out of feature definitions and uses category names for membership' {
|
||||
$config = Get-Content -LiteralPath $script:FeaturesPath -Raw | ConvertFrom-Json
|
||||
$objects = @($config.Categories) + @($config.Features) + @($config.UiGroups) + @($config.UiGroups.Values)
|
||||
foreach ($item in $objects) {
|
||||
foreach ($field in 'Label', 'ToolTip', 'ApplyText', 'UndoLabel', 'ApplyUndoText') {
|
||||
$item.PSObject.Properties.Name | Should -Not -Contain $field
|
||||
}
|
||||
}
|
||||
foreach ($item in (@($config.Features) + @($config.UiGroups) | Where-Object { $_.Category })) {
|
||||
$config.Categories.Name | Should -Contain $item.Category
|
||||
}
|
||||
}
|
||||
|
||||
It 'has English text for feature operations, groups, options, and categories directly in the language catalogs' {
|
||||
$config = Get-Content -LiteralPath $script:FeaturesPath -Raw | ConvertFrom-Json
|
||||
$catalog = Get-Content -LiteralPath (Join-Path $script:RepoRoot 'Config\Languages\en-US\Features.json') -Raw | ConvertFrom-Json
|
||||
$categories = Get-Content -LiteralPath (Join-Path $script:RepoRoot 'Config\Languages\en-US\Categories.json') -Raw | ConvertFrom-Json
|
||||
foreach ($feature in $config.Features) {
|
||||
$entry = $catalog.Features.($feature.FeatureId)
|
||||
$entry.ApplyText | Should -Not -BeNullOrEmpty -Because $feature.FeatureId
|
||||
if ($feature.RegistryUndoKey -or $feature.FeatureId -in @('EnableWindowsSandbox', 'EnableWindowsSubsystemForLinux', 'DisableStoreSearchSuggestions')) {
|
||||
$entry.UndoLabel | Should -Not -BeNullOrEmpty -Because $feature.FeatureId
|
||||
$entry.ApplyUndoText | Should -Not -BeNullOrEmpty -Because $feature.FeatureId
|
||||
}
|
||||
}
|
||||
foreach ($group in $config.UiGroups) {
|
||||
$entry = $catalog.UiGroups.($group.GroupId)
|
||||
$entry.Label | Should -Not -BeNullOrEmpty
|
||||
$entry.ToolTip | Should -Not -BeNullOrEmpty
|
||||
foreach ($value in $group.Values) { $entry.Values.($value.FeatureIds[0]) | Should -Not -BeNullOrEmpty }
|
||||
}
|
||||
foreach ($category in $config.Categories) { $categories.($category.CategoryId).Label | Should -Not -BeNullOrEmpty }
|
||||
}
|
||||
|
||||
It 'declares every FeatureId as a parameter on Win11Debloat.ps1' {
|
||||
$parameterNames = Get-ScriptParameterNames -Path $script:Win11DebloatPath
|
||||
$missing = @($script:Features.FeatureId | Where-Object { $parameterNames -notcontains $_ })
|
||||
|
||||
@@ -0,0 +1,140 @@
|
||||
BeforeAll {
|
||||
. (Join-Path $PSScriptRoot '..\Scripts\FileIO\Import-JsonFile.ps1')
|
||||
. (Join-Path $PSScriptRoot '..\Scripts\FileIO\Import-LanguageFile.ps1')
|
||||
. (Join-Path $PSScriptRoot '..\Tools\Get-LanguageKeyReport.ps1')
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Writes a language folder from plain hashtables, so each test states exactly which keys a language ships.
|
||||
|
||||
.PARAMETER Root
|
||||
The directory that receives the language folder.
|
||||
|
||||
.PARAMETER Code
|
||||
The language folder name, for example de-DE.
|
||||
|
||||
.PARAMETER Chrome
|
||||
The flat Chrome catalog (key to text).
|
||||
|
||||
.PARAMETER Features
|
||||
The Features table of Features.json (feature id to fields).
|
||||
#>
|
||||
function New-LanguageFolder {
|
||||
param([string]$Root, [string]$Code, [hashtable]$Chrome, [hashtable]$Features = @{ TweakA = @{ Label = 'A' } })
|
||||
|
||||
$folder = Join-Path $Root $Code
|
||||
New-Item -ItemType Directory -Path $folder | Out-Null
|
||||
$files = @{
|
||||
Chrome = $Chrome
|
||||
Features = @{ Features = $Features; UiGroups = @{ GroupA = @{ Label = 'G'; Values = @{ ValueA = 'V' } } } }
|
||||
Categories = @{ CategoryA = @{ Label = 'C' } }
|
||||
Apps = @{ 'App.A' = @{ FriendlyName = 'App' } }
|
||||
}
|
||||
foreach ($name in $files.Keys) {
|
||||
$files[$name] | ConvertTo-Json -Depth 6 | Set-Content -LiteralPath (Join-Path $folder "$name.json") -Encoding UTF8
|
||||
}
|
||||
}
|
||||
|
||||
$script:EnglishChrome = @{ Title = 'Title'; Selected_one = '{0} item'; Selected_other = '{0} items' }
|
||||
}
|
||||
|
||||
Describe 'Get-LanguageKeyReport' {
|
||||
BeforeEach {
|
||||
$root = Join-Path $TestDrive ([guid]::NewGuid().ToString('N'))
|
||||
New-Item -ItemType Directory -Path $root | Out-Null
|
||||
New-LanguageFolder -Root $root -Code 'en-US' -Chrome $script:EnglishChrome
|
||||
}
|
||||
|
||||
It 'reports nothing for a language that has every key' {
|
||||
New-LanguageFolder -Root $root -Code 'de-DE' -Chrome $script:EnglishChrome
|
||||
|
||||
$report = Get-LanguageKeyReport -LanguagesPath $root
|
||||
|
||||
$report.LanguageCode | Should -Be 'de-DE'
|
||||
$report.MissingKeys | Should -BeNullOrEmpty
|
||||
$report.ExtraKeys | Should -BeNullOrEmpty
|
||||
}
|
||||
|
||||
It 'lists missing and extra keys, including nested catalog fields' {
|
||||
New-LanguageFolder -Root $root -Code 'de-DE' -Chrome @{ Selected_one = 'x'; Selected_other = 'x'; Old = 'x' } `
|
||||
-Features @{ TweakB = @{ Label = 'B' } }
|
||||
|
||||
$report = Get-LanguageKeyReport -LanguagesPath $root
|
||||
|
||||
$report.MissingKeys | Should -Be @('Features.TweakA.Label', 'Title')
|
||||
$report.ExtraKeys | Should -Be @('Features.TweakB.Label', 'Old')
|
||||
}
|
||||
|
||||
It 'expects no _one keys for a language whose rule only returns other' {
|
||||
New-LanguageFolder -Root $root -Code 'ja-JP' -Chrome @{ Title = 'x'; Selected_other = 'x' }
|
||||
|
||||
$report = Get-LanguageKeyReport -LanguagesPath $root
|
||||
|
||||
$report.MissingKeys | Should -BeNullOrEmpty
|
||||
$report.ExtraKeys | Should -BeNullOrEmpty
|
||||
}
|
||||
|
||||
It 'flags a _one key that a language whose rule only returns other never uses' {
|
||||
New-LanguageFolder -Root $root -Code 'zh-CN' -Chrome $script:EnglishChrome
|
||||
|
||||
(Get-LanguageKeyReport -LanguagesPath $root).ExtraKeys | Should -Be @('Selected_one')
|
||||
}
|
||||
|
||||
It 'expects a _many key where the language rule returns many' {
|
||||
New-LanguageFolder -Root $root -Code 'pt-BR' -Chrome $script:EnglishChrome
|
||||
|
||||
(Get-LanguageKeyReport -LanguagesPath $root).MissingKeys | Should -Be @('Selected_many')
|
||||
}
|
||||
|
||||
It 'does not report a shipped _other key as extra when the rule never returns other' {
|
||||
New-LanguageFolder -Root $root -Code 'ru-RU' -Chrome @{ Title = 'x'; Selected_one = 'x'; Selected_few = 'x'; Selected_many = 'x'; Selected_other = 'x' }
|
||||
|
||||
$report = Get-LanguageKeyReport -LanguagesPath $root
|
||||
|
||||
$report.MissingKeys | Should -BeNullOrEmpty
|
||||
$report.ExtraKeys | Should -BeNullOrEmpty
|
||||
}
|
||||
|
||||
It 'marks a folder with a missing catalog as not loaded' {
|
||||
New-LanguageFolder -Root $root -Code 'de-DE' -Chrome $script:EnglishChrome
|
||||
Remove-Item -LiteralPath (Join-Path $root 'de-DE\Apps.json')
|
||||
Mock Import-JsonFile -ParameterFilter { $filePath -like '*de-DE*Apps.json' } { $null }
|
||||
|
||||
$report = Get-LanguageKeyReport -LanguagesPath $root
|
||||
|
||||
$report.Loaded | Should -BeFalse
|
||||
}
|
||||
|
||||
It 'marks a folder with a missing catalog as not loaded when errors stop the script, and still reports the others' {
|
||||
New-LanguageFolder -Root $root -Code 'de-DE' -Chrome $script:EnglishChrome
|
||||
New-LanguageFolder -Root $root -Code 'fr-FR' -Chrome $script:EnglishChrome
|
||||
Remove-Item -LiteralPath (Join-Path $root 'de-DE\Apps.json')
|
||||
Mock Write-Warning {}
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$report = @(Get-LanguageKeyReport -LanguagesPath $root)
|
||||
|
||||
$report.LanguageCode | Should -Be @('de-DE', 'fr-FR')
|
||||
$report[0].Loaded | Should -BeFalse
|
||||
$report[1].Loaded | Should -BeTrue
|
||||
Should -Invoke Write-Warning -Times 1 -Exactly -ParameterFilter { $Message -like "*de-DE*" }
|
||||
}
|
||||
|
||||
It 'limits the report to the requested languages' {
|
||||
New-LanguageFolder -Root $root -Code 'de-DE' -Chrome $script:EnglishChrome
|
||||
New-LanguageFolder -Root $root -Code 'fr-FR' -Chrome $script:EnglishChrome
|
||||
|
||||
@(Get-LanguageKeyReport -LanguagesPath $root -LanguageCode 'fr-FR').LanguageCode | Should -Be @('fr-FR')
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Shipped languages' {
|
||||
It 'all load for the report' {
|
||||
$reports = @(Get-LanguageKeyReport -LanguagesPath (Join-Path $PSScriptRoot '..\Config\Languages'))
|
||||
|
||||
$reports | Should -Not -BeNullOrEmpty
|
||||
foreach ($report in $reports) {
|
||||
$report.Loaded | Should -BeTrue -Because "$($report.LanguageCode) must load"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -100,6 +100,10 @@ Describe 'Get-RebootFeatureLabels' {
|
||||
}
|
||||
|
||||
It 'includes reboot-required selections once and uses undo labels for undo operations' {
|
||||
foreach ($feature in $script:Features.Values) {
|
||||
$feature.PSObject.Properties.Remove('Label')
|
||||
$feature.PSObject.Properties.Remove('UndoLabel')
|
||||
}
|
||||
$result = @(Get-RebootFeatureLabels)
|
||||
|
||||
$result | Should -HaveCount 2
|
||||
@@ -118,7 +122,7 @@ Describe 'Get-RebootFeatureLabels' {
|
||||
$result | Should -Contain 'Apply feature'
|
||||
}
|
||||
|
||||
It 'falls back to the regular label when an undo selection has no undo label' {
|
||||
It 'uses the translation key when an undo selection has no undo label' {
|
||||
$script:Params = @{}
|
||||
$script:UndoParams = @{ ApplyFeature = $true }
|
||||
$script:Features.ApplyFeature.UndoLabel = $null
|
||||
@@ -127,10 +131,10 @@ Describe 'Get-RebootFeatureLabels' {
|
||||
$result = @(Get-RebootFeatureLabels)
|
||||
|
||||
$result | Should -HaveCount 1
|
||||
$result | Should -Contain 'Apply feature'
|
||||
$result | Should -Contain 'ApplyFeature'
|
||||
}
|
||||
|
||||
It 'falls back to the regular label when the feature has no UndoLabel property' {
|
||||
It 'uses the translation key when the feature has no UndoLabel property' {
|
||||
$script:Params = @{}
|
||||
$script:UndoParams = @{ MissingUndoLabelFeature = $true }
|
||||
$script:Features.MissingUndoLabelFeature = [PSCustomObject]@{
|
||||
@@ -142,7 +146,7 @@ Describe 'Get-RebootFeatureLabels' {
|
||||
$result = @(Get-RebootFeatureLabels)
|
||||
|
||||
$result | Should -HaveCount 1
|
||||
$result | Should -Contain 'Feature without undo label'
|
||||
$result | Should -Contain 'MissingUndoLabelFeature'
|
||||
}
|
||||
|
||||
It 'returns no labels when there are no selected parameters' {
|
||||
|
||||
@@ -329,6 +329,21 @@ Describe 'ConvertTo-LocalizedXaml' {
|
||||
ConvertTo-LocalizedXaml -Xaml $xaml -Lang $script:EnLang | Should -Be '<a Text="Options"/><b Text="Close"/>'
|
||||
}
|
||||
|
||||
It 'preserves translated paragraphs through XML attribute parsing with <LineEnding> line breaks' -ForEach @(
|
||||
@{ LineEnding = 'LF'; Separator = "`n" }
|
||||
@{ LineEnding = 'CRLF'; Separator = "`r`n" }
|
||||
) {
|
||||
$text = "First & second.${Separator}${Separator}Support Ukraine."
|
||||
$lang = [PSCustomObject]@{ Chrome = [PSCustomObject]@{ Message = $text } }
|
||||
$xaml = ConvertTo-LocalizedXaml -Xaml '<TextBlock Text="%LANG:Message%"/>' -Lang $lang
|
||||
$reader = [System.Xml.XmlReader]::Create([System.IO.StringReader]::new($xaml))
|
||||
try {
|
||||
[void]$reader.Read()
|
||||
$reader.GetAttribute('Text') | Should -BeExactly $text
|
||||
}
|
||||
finally { $reader.Close() }
|
||||
}
|
||||
|
||||
It 'throws when a marker key does not exist in any language' {
|
||||
$xaml = '<Button Content="%LANG:NoSuchKeyAnywhere%"/>'
|
||||
|
||||
|
||||
@@ -75,4 +75,71 @@ Describe 'Import-RegistryFile' {
|
||||
Should -Invoke Invoke-NonBlocking -Times 1 -Exactly
|
||||
Should -Invoke Invoke-RegistryOperationsFromRegFile -Times 0 -Exactly
|
||||
}
|
||||
|
||||
It 'does not treat the reg import success banner as a failure' {
|
||||
Mock Invoke-NonBlocking {
|
||||
param($ScriptBlock, $ArgumentList)
|
||||
& $ScriptBlock @ArgumentList
|
||||
}
|
||||
|
||||
function global:reg {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Test stand-in for reg.exe that emits a localized success banner on the error stream.
|
||||
|
||||
.DESCRIPTION
|
||||
Mimics a successful Windows reg import under Windows PowerShell 5.1 by writing a
|
||||
non-English success banner as a NativeCommandError and setting LASTEXITCODE to 0.
|
||||
Import-RegistryFile must treat exit code 0 as success without matching banner text.
|
||||
#>
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(ValueFromRemainingArguments = $true)]
|
||||
[object[]]$Arguments
|
||||
)
|
||||
|
||||
$exception = [System.Management.Automation.RemoteException]::new('A operação foi concluída com êxito.')
|
||||
$errorRecord = [System.Management.Automation.ErrorRecord]::new(
|
||||
$exception,
|
||||
'NativeCommandError',
|
||||
[System.Management.Automation.ErrorCategory]::NotSpecified,
|
||||
'reg.exe'
|
||||
)
|
||||
$PSCmdlet.WriteError($errorRecord)
|
||||
$global:LASTEXITCODE = 0
|
||||
}
|
||||
|
||||
$previousEap = $ErrorActionPreference
|
||||
$ErrorActionPreference = 'Stop'
|
||||
try {
|
||||
Import-RegistryFile -message 'Apply' -path 'feature.reg' | Should -BeTrue
|
||||
}
|
||||
finally {
|
||||
$ErrorActionPreference = $previousEap
|
||||
Remove-Item -Path 'Function:\reg'
|
||||
}
|
||||
|
||||
Should -Invoke Invoke-NonBlocking -Times 1 -Exactly
|
||||
Should -Invoke Invoke-RegistryOperationsFromRegFile -Times 0 -Exactly
|
||||
Should -Invoke Write-Warning -Times 0 -Exactly
|
||||
}
|
||||
|
||||
It 'falls back to the PowerShell writer when reg cannot start' {
|
||||
Mock Invoke-NonBlocking {
|
||||
param($ScriptBlock, $ArgumentList)
|
||||
& $ScriptBlock @ArgumentList
|
||||
}
|
||||
|
||||
$previousPath = $env:PATH
|
||||
$env:PATH = ''
|
||||
try {
|
||||
Import-RegistryFile -message 'Apply' -path 'feature.reg' | Should -BeTrue
|
||||
}
|
||||
finally {
|
||||
$env:PATH = $previousPath
|
||||
}
|
||||
|
||||
Should -Invoke Invoke-RegistryOperationsFromRegFile -Times 1 -Exactly
|
||||
Should -Invoke Write-Warning -Times 1 -Exactly -ParameterFilter { $Message -like "reg import failed*" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ BeforeAll {
|
||||
$entry = @{}
|
||||
foreach ($field in 'ApplyText', 'UndoLabel', 'ApplyUndoText') {
|
||||
if ($null -ne $feature.$field) { $entry[$field] = [string]$feature.$field }
|
||||
$feature.PSObject.Properties.Remove($field)
|
||||
}
|
||||
$langFeatures[$featureId] = [PSCustomObject]$entry
|
||||
}
|
||||
@@ -112,7 +113,7 @@ Describe 'Invoke-FeatureApply' {
|
||||
It 'imports a registry-backed feature' {
|
||||
Invoke-FeatureApply -FeatureId 'RegistryFeature'
|
||||
|
||||
Should -Invoke Import-RegistryFile -Times 1 -Exactly -ParameterFilter { $path -eq 'feature.reg' }
|
||||
Should -Invoke Import-RegistryFile -Times 1 -Exactly -ParameterFilter { $path -eq 'feature.reg' -and $Message -eq '> Apply registry feature...' }
|
||||
Should -Invoke Remove-SelectedApps -Times 0 -Exactly
|
||||
}
|
||||
|
||||
@@ -352,6 +353,7 @@ Describe 'Invoke-FeatureUndo' {
|
||||
DisableTelemetry = [PSCustomObject]@{}
|
||||
DisableStoreSearchSuggestions = [PSCustomObject]@{}
|
||||
}
|
||||
Sync-TestLangFeatures
|
||||
Mock Set-StoreSearchSuggestionsEnabledForAllUsers { $true }
|
||||
Mock Set-StoreSearchSuggestionsEnabled { $true }
|
||||
Mock Get-StoreAppsDatabasePathForUser { 'store.db' }
|
||||
@@ -380,6 +382,12 @@ Describe 'Invoke-FeatureUndo' {
|
||||
$script:disabledFeatures | Should -Be @('Microsoft-Windows-Subsystem-Linux', 'VirtualMachinePlatform')
|
||||
}
|
||||
|
||||
It 'uses the language catalog for undo messages without display metadata' {
|
||||
Invoke-FeatureUndo -FeatureId 'EnableWindowsSandbox' | Should -BeTrue
|
||||
|
||||
Should -Invoke Write-Host -Times 1 -Exactly -ParameterFilter { $Object -eq '> Disable Sandbox...' }
|
||||
}
|
||||
|
||||
It 'disables Sandbox and re-enables telemetry tasks' {
|
||||
$script:Features.DisableTelemetry = [PSCustomObject]@{ ApplyUndoText = 'Enable telemetry'; RegistryUndoKey = 'enable-telemetry.reg' }
|
||||
Invoke-FeatureUndo -FeatureId 'EnableWindowsSandbox'
|
||||
|
||||
@@ -95,3 +95,39 @@ Describe 'Shipped language catalogs: <LanguageCode>' -ForEach $languageCases {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Describe 'Plural keys in catalogs for languages without a singular form' {
|
||||
BeforeAll {
|
||||
. (Join-Path $PSScriptRoot '..\Scripts\FileIO\Import-LanguageFile.ps1')
|
||||
$script:LanguagesPath = Join-Path $PSScriptRoot '..\Config\Languages'
|
||||
|
||||
# A language needs no '_one' key when Get-PluralCategory cannot return 'one'
|
||||
# for it. Probe with the counts that CLDR rules actually branch on.
|
||||
function Get-LanguageNeedsSingular {
|
||||
param([string]$LanguageCode)
|
||||
|
||||
foreach ($count in @(0, 1, 2, 5, 11, 21, 100, 1000000)) {
|
||||
if ((Get-PluralCategory -LanguageCode $LanguageCode -Count $count) -eq 'one') {
|
||||
return $true
|
||||
}
|
||||
}
|
||||
|
||||
return $false
|
||||
}
|
||||
}
|
||||
|
||||
It 'has no unreachable "_one" keys in <LanguageCode>' -ForEach $languageCases {
|
||||
if (Get-LanguageNeedsSingular -LanguageCode $LanguageCode) {
|
||||
Set-ItResult -Skipped -Because "$LanguageCode has a singular category"
|
||||
return
|
||||
}
|
||||
|
||||
$chromePath = Join-Path $script:LanguagesPath "$LanguageCode/Chrome.json"
|
||||
$chrome = Get-Content -LiteralPath $chromePath -Raw -Encoding UTF8 | ConvertFrom-Json -ErrorAction Stop
|
||||
$deadKeys = @($chrome.PSObject.Properties.Name | Where-Object { $_ -like '*_one' })
|
||||
|
||||
$keyList = $deadKeys -join ', '
|
||||
$deadKeys.Count | Should -Be 0 -Because "$LanguageCode never resolves the one category, so these keys are unreachable and only add translation burden: $keyList"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,17 +37,7 @@ BeforeAll {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Get-UndoFeatureLabel' {
|
||||
BeforeEach {
|
||||
$script:UndoFeatureLabelLookup = @{ DisableTelemetry = 'Enable telemetry' }
|
||||
$script:FeatureLabelLookup = @{ DisableTelemetry = 'Disable telemetry'; DisableWidgets = 'Disable widgets' }
|
||||
}
|
||||
|
||||
It 'prefers undo labels and falls back to feature labels' {
|
||||
Get-UndoFeatureLabel -FeatureId 'DisableTelemetry' | Should -Be 'Enable telemetry'
|
||||
Get-UndoFeatureLabel -FeatureId 'DisableWidgets' | Should -Be 'Disable widgets'
|
||||
}
|
||||
|
||||
Describe 'Main window helpers' {
|
||||
It 'reads selected app IDs from string or array settings and removes blanks' {
|
||||
$stringSettings = [PSCustomObject]@{ Settings = @([PSCustomObject]@{ Name = 'Apps'; Value = ' One.App, ,Two.App ' }) }
|
||||
$arraySettings = [PSCustomObject]@{ Settings = @([PSCustomObject]@{ Name = 'Apps'; Value = @(' One.App ', '', 'Two.App') }) }
|
||||
|
||||
@@ -43,13 +43,13 @@ BeforeAll {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Legacy tweak categories' {
|
||||
It 'uses the category Name as CategoryId when building controls without a CategoryId' {
|
||||
Describe 'Tweak category identifiers' {
|
||||
It 'uses the defined CategoryId for controls and presets when it differs from Name' {
|
||||
$script:Lang = Import-LanguageFile -LanguageCode 'en-US'
|
||||
$feature = $script:Features['DisableTelemetry'] | Select-Object *
|
||||
$feature.Category = 'Legacy Category'
|
||||
$legacyCatalog = [PSCustomObject]@{
|
||||
Categories = @([PSCustomObject]@{ Name = 'Legacy Category'; Icon = '' })
|
||||
Categories = @([PSCustomObject]@{ Name = 'Legacy Category'; CategoryId = 'PrivacySuggestedContent'; Icon = '' })
|
||||
Features = @($feature)
|
||||
}
|
||||
Mock Import-JsonFile { $legacyCatalog } -ParameterFilter { $filePath -eq $script:FeaturesFilePath }
|
||||
@@ -59,8 +59,8 @@ Describe 'Legacy tweak categories' {
|
||||
|
||||
$controlName = 'Feature_DisableTelemetry_Combo'
|
||||
$script:UiControlMappings.Count | Should -Be 1
|
||||
$script:UiControlMappings[$controlName].CategoryId | Should -Be 'Legacy Category'
|
||||
$map = Get-CategoryTweakPresetMap -Window $window -CategoryId 'Legacy Category'
|
||||
$script:UiControlMappings[$controlName].CategoryId | Should -Be 'PrivacySuggestedContent'
|
||||
$map = Get-CategoryTweakPresetMap -Window $window -CategoryId 'PrivacySuggestedContent'
|
||||
$map.Count | Should -Be 1
|
||||
$map[$controlName].Control | Should -Be ($window.FindName($controlName))
|
||||
$map[$controlName].DesiredValue | Should -BeTrue
|
||||
@@ -175,7 +175,7 @@ Describe 'Language changes on existing controls' {
|
||||
$disabled.ToolTip.Text | Should -Be (Get-Translation -Key 'TweaksAlreadyAppliedTooltip')
|
||||
[object]::ReferenceEquals($group.SelectedItem, $selectedItem) | Should -BeTrue
|
||||
$group.SelectedIndex | Should -Be 2
|
||||
$selectedItem.Content | Should -Be (Get-GroupValueTranslation -GroupId 'SearchIcon' -FeatureId $script:UiControlMappings['Group_SearchIconCombo'].Values[1].FeatureIds[0] -FallbackLabel 'fallback')
|
||||
$selectedItem.Content | Should -Be (Get-GroupValueTranslation -GroupId 'SearchIcon' -FeatureId $script:UiControlMappings['Group_SearchIconCombo'].Values[1].FeatureIds[0])
|
||||
@(Get-PendingTweakActions -Window $window -ShowAppliedTweaksMode $true | ForEach-Object { "$($_.Action):$($_.FeatureId)" } | Sort-Object) | Should -Be $before
|
||||
$script:FeatureLabelLookup['DisableTelemetry'] | Should -Be $checkbox.Content
|
||||
foreach ($category in $script:CategoryLanguageControls) {
|
||||
|
||||
@@ -245,8 +245,10 @@ Describe 'Executable registry backup values' {
|
||||
@{ Case = 'Game Bar command'; FeatureId = 'DisableGameBarIntegration'; Undo = $false; Path = 'HKEY_CLASSES_ROOT\ms-gamebar\shell\open\command'; Name = ''; Kind = 'String'; Data = 'cmd.exe /c echo doctored' }
|
||||
@{ Case = 'Game Bar services command'; FeatureId = 'DisableGameBarIntegration'; Undo = $false; Path = 'HKEY_CLASSES_ROOT\ms-gamebarservices\shell\open\command'; Name = ''; Kind = 'String'; Data = 'cmd.exe /c echo doctored' }
|
||||
@{ Case = 'undo command'; FeatureId = 'DisableGameBarIntegration'; Undo = $true; Path = 'HKEY_CLASSES_ROOT\ms-gamebar\shell\open\command'; Name = ''; Kind = 'String'; Data = 'cmd.exe /c echo doctored' }
|
||||
@{ Case = 'RunOnce command'; FeatureId = 'RevertContextMenu'; Undo = $false; Path = 'HKEY_USERS\Default\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce'; Name = 'RestoreWin10ContextMenu'; Kind = 'String'; Data = 'cmd.exe /c echo doctored' }
|
||||
@{ Case = 'RunOnce command'; FeatureId = 'RevertContextMenu'; Undo = $false; Path = 'HKEY_USERS\Default\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce'; Name = 'RestoreWin10ContextMenu1'; Kind = 'String'; Data = 'cmd.exe /c echo doctored' }
|
||||
@{ Case = 'RunOnce command'; FeatureId = 'RevertContextMenu'; Undo = $false; Path = 'HKEY_USERS\Default\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce'; Name = 'RestoreWin10ContextMenu2'; Kind = 'String'; Data = 'cmd.exe /c echo doctored' }
|
||||
@{ Case = 'DLL path'; FeatureId = 'RevertContextMenu'; Undo = $false; Path = 'HKEY_USERS\Default\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32'; Name = ''; Kind = 'String'; Data = 'C:\Temp\doctored.dll' }
|
||||
@{ Case = 'DLL path'; FeatureId = 'RevertContextMenu'; Undo = $false; Path = 'HKEY_USERS\Default\Software\Classes\CLSID\{51668040-5e31-4023-bbe3-149163bd80f1}\InprocServer32'; Name = ''; Kind = 'String'; Data = 'C:\Temp\doctored.dll' }
|
||||
@{ Case = 'COM indirection'; FeatureId = 'RevertContextMenu'; Undo = $true; Path = 'HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\TreatAs'; Name = ''; Kind = 'String'; Data = '{00000000-0000-0000-0000-000000000001}' }
|
||||
@{ Case = 'appended command arguments'; FeatureId = 'DisableGameBarIntegration'; Undo = $false; Path = 'HKEY_CLASSES_ROOT\ms-gamebar\shell\open\command'; Name = ''; Kind = 'String'; Data = '%SystemRoot%/System32/systray.exe /doctored' }
|
||||
@{ Case = 'changed command kind'; FeatureId = 'DisableGameBarIntegration'; Undo = $false; Path = 'HKEY_CLASSES_ROOT\ms-gamebar\shell\open\command'; Name = ''; Kind = 'ExpandString'; Data = '%SystemRoot%/System32/systray.exe' }
|
||||
@@ -300,9 +302,12 @@ Describe 'Executable registry backup values' {
|
||||
}
|
||||
|
||||
It 'accepts the actual trusted RunOnce command' {
|
||||
$operation = @(Get-RegFileOperations -regFilePath (Join-Path $script:RegfilesPath 'Sysprep\Disable_Show_More_Options_Context_Menu.reg') | Where-Object ValueName -eq 'RestoreWin10ContextMenu')[0]
|
||||
$operation = @(Get-RegFileOperations -regFilePath (Join-Path $script:RegfilesPath 'Sysprep\Disable_Show_More_Options_Context_Menu.reg') | Where-Object ValueName -eq 'RestoreWin10ContextMenu1')[0]
|
||||
$snapshot = [PSCustomObject]@{ Path = $operation.KeyPath; Exists = $true; Values = @([PSCustomObject]@{ Name = $operation.ValueName; Exists = $true; Kind = 'String'; Data = $operation.ValueData }); SubKeys = @() }
|
||||
@(Test-RegistryBackupMatchesSelectedFeatures -SelectedFeatureIds @('RevertContextMenu') -SelectedUndoFeatureIds @() -Target 'DefaultUserProfile' -RegistryKeys @($snapshot)) | Should -HaveCount 0
|
||||
|
||||
$operation = @(Get-RegFileOperations -regFilePath (Join-Path $script:RegfilesPath 'Sysprep\Disable_Show_More_Options_Context_Menu.reg') | Where-Object ValueName -eq 'RestoreWin10ContextMenu2')[0]
|
||||
$snapshot = [PSCustomObject]@{ Path = $operation.KeyPath; Exists = $true; Values = @([PSCustomObject]@{ Name = $operation.ValueName; Exists = $true; Kind = 'String'; Data = $operation.ValueData }); SubKeys = @() }
|
||||
@(Test-RegistryBackupMatchesSelectedFeatures -SelectedFeatureIds @('RevertContextMenu') -SelectedUndoFeatureIds @() -Target 'DefaultUserProfile' -RegistryKeys @($snapshot)) | Should -HaveCount 0
|
||||
}
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ Describe 'Test-RegistryKeySnapshotCanBeRestored' {
|
||||
}
|
||||
|
||||
{ Test-RegistryKeySnapshotCanBeRestored -Snapshot $snapshot } |
|
||||
Should -Throw '*Value was either too large or too small*'
|
||||
Should -Throw -ErrorId 'InvalidCastIConvertible*'
|
||||
}
|
||||
|
||||
It 'rejects a descendant that is not directly below its declared parent' {
|
||||
|
||||
@@ -59,7 +59,9 @@ Describe 'Release workflow version commit' {
|
||||
$testRoot = Join-Path $TestDrive ([guid]::NewGuid().ToString('N'))
|
||||
$checkoutPath = Join-Path $testRoot 'checkout'
|
||||
$remotePath = Join-Path $testRoot 'origin.git'
|
||||
New-Item -ItemType Directory -Path (Join-Path $checkoutPath 'Scripts') -Force | Out-Null
|
||||
foreach ($directory in 'Scripts', 'Tools') {
|
||||
New-Item -ItemType Directory -Path (Join-Path $checkoutPath $directory) -Force | Out-Null
|
||||
}
|
||||
git init --bare --quiet $remotePath
|
||||
git init --quiet --initial-branch master $checkoutPath
|
||||
git -C $checkoutPath config user.name 'Release test'
|
||||
@@ -68,10 +70,10 @@ Describe 'Release workflow version commit' {
|
||||
git -C $checkoutPath config tag.gpgsign false
|
||||
git -C $checkoutPath config core.autocrlf false
|
||||
[IO.File]::WriteAllText((Join-Path $checkoutPath 'Win11Debloat.ps1'), '$script:Version = "2026.08.24"')
|
||||
foreach ($name in 'Build-Release.ps1', 'Get.ps1') {
|
||||
Copy-Item -LiteralPath (Join-Path $repositoryRoot "Scripts/$name") -Destination (Join-Path $checkoutPath "Scripts/$name")
|
||||
foreach ($name in 'Tools/Build-Release.ps1', 'Scripts/Get.ps1') {
|
||||
Copy-Item -LiteralPath (Join-Path $repositoryRoot $name) -Destination (Join-Path $checkoutPath $name)
|
||||
}
|
||||
[IO.File]::WriteAllText((Join-Path $checkoutPath 'Scripts/Run-Tests.ps1'), @'
|
||||
[IO.File]::WriteAllText((Join-Path $checkoutPath 'Tools/Run-Tests.ps1'), @'
|
||||
param([switch]$Bootstrap)
|
||||
$text = [IO.File]::ReadAllText((Join-Path $PSScriptRoot '../Win11Debloat.ps1'))
|
||||
if ($text -notmatch [regex]::Escape($env:RELEASE_TAG)) { throw 'Tests did not see the updated version.' }
|
||||
@@ -158,7 +160,7 @@ if ($text -notmatch [regex]::Escape($env:RELEASE_TAG)) { throw 'Tests did not se
|
||||
}
|
||||
|
||||
It 'does not commit or push a release when tests fail' {
|
||||
[IO.File]::WriteAllText((Join-Path $checkoutPath 'Scripts/Run-Tests.ps1'), 'exit 1')
|
||||
[IO.File]::WriteAllText((Join-Path $checkoutPath 'Tools/Run-Tests.ps1'), 'exit 1')
|
||||
{ foreach ($block in $workflowBlocks) { & $block } } | Should -Throw '*Release tests failed*'
|
||||
(git --git-dir $remotePath rev-parse refs/heads/master) | Should -Be $initialCommit
|
||||
(git ls-remote --tags origin "refs/tags/$env:RELEASE_TAG") | Should -BeNullOrEmpty
|
||||
|
||||
@@ -195,6 +195,35 @@ Describe 'Restore-RegistryBackupState' {
|
||||
|
||||
Should -Invoke Restore-RegistryKeySnapshot -Times 0 -Exactly
|
||||
}
|
||||
|
||||
It 'continues restoring remaining snapshots when one fails, then reports the failure' {
|
||||
Mock Write-Warning {}
|
||||
Mock Restore-RegistryKeySnapshot { throw 'access denied' } -ParameterFilter { $Snapshot.Path -eq 'HKEY_CURRENT_USER\Software\One' }
|
||||
|
||||
{ Restore-RegistryBackupState -Backup $script:backup } |
|
||||
Should -Throw 'Registry restore finished with 1 failed key(s). See console for details.'
|
||||
|
||||
Should -Invoke Restore-RegistryKeySnapshot -Times 2 -Exactly
|
||||
Should -Invoke Restore-RegistryKeySnapshot -Times 1 -Exactly -ParameterFilter { $Snapshot.Path -eq 'HKEY_CURRENT_USER\Software\Two' }
|
||||
}
|
||||
|
||||
It 'rejects a malformed backup before restoring any snapshot' {
|
||||
$script:backup.RegistryKeys = @(
|
||||
[PSCustomObject]@{ Path = 'HKEY_CURRENT_USER\Software\One'; Exists = $true; Values = @(); SubKeys = @() }
|
||||
[PSCustomObject]@{
|
||||
Path = 'HKEY_CURRENT_USER\Software\Two'; Exists = $true; Values = @()
|
||||
SubKeys = @(
|
||||
[PSCustomObject]@{ Path = 'HKEY_CURRENT_USER\Software\Two\Child'; Exists = $true; Values = @(); SubKeys = @() }
|
||||
[PSCustomObject]@{ Path = 'HKEY_CURRENT_USER\Software\Two\Child'; Exists = $true; Values = @(); SubKeys = @() }
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
{ Restore-RegistryBackupState -Backup $script:backup } |
|
||||
Should -Throw '*duplicate or unsupported registry child path*'
|
||||
|
||||
Should -Invoke Restore-RegistryKeySnapshot -Times 0 -Exactly
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Restore executable warning dialog' {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
BeforeAll {
|
||||
. (Join-Path $PSScriptRoot '..\Scripts\FileIO\Import-JsonFile.ps1')
|
||||
. (Join-Path $PSScriptRoot '..\Scripts\FileIO\Import-LanguageFile.ps1')
|
||||
function Get-UserName { 'Alice' }
|
||||
function Generate-AppsList { @() }
|
||||
function Add-Parameter { param($Name, $Value) }
|
||||
@@ -20,7 +22,7 @@ Describe 'Show-CliMenuOptions' {
|
||||
BeforeEach {
|
||||
$script:Params = @{}
|
||||
$script:ControlParams = @('WhatIf', 'Silent')
|
||||
$script:Features = @{ DisableTelemetry = [PSCustomObject]@{ Label = 'Disable telemetry' }; CreateRestorePoint = [PSCustomObject]@{ Label = 'Create restore point' } }
|
||||
$script:Lang = Import-LanguageFile -LanguageCode 'en-US' -LanguagesPath (Join-Path $PSScriptRoot '..\Config\Languages')
|
||||
$script:SelectedApps = @('One.App', 'Two.App')
|
||||
$script:SavedSettingsFilePath = 'C:\Settings\LastUsedSettings.json'
|
||||
$script:DefaultSettingsFilePath = 'C:\Settings\DefaultSettings.json'
|
||||
@@ -53,7 +55,7 @@ Describe 'Show-CliMenuOptions' {
|
||||
}
|
||||
|
||||
It 'summarizes selected features and app removal before confirmation' {
|
||||
$script:Params = @{ DisableTelemetry = $true; RemoveApps = $true; Apps = 'Default' }
|
||||
$script:Params = @{ DisableTelemetry = $true; CreateRestorePoint = $true; RemoveApps = $true; Apps = 'Default' }
|
||||
$script:ControlParams = @('WhatIf', 'Silent', 'Apps')
|
||||
$script:InputQueue = @('')
|
||||
|
||||
@@ -61,7 +63,13 @@ Describe 'Show-CliMenuOptions' {
|
||||
|
||||
Should -Invoke Generate-AppsList -Times 1 -Exactly
|
||||
Should -Invoke Read-Host -Times 1 -Exactly
|
||||
Should -Invoke Write-Output -Times 2 -ParameterFilter { $InputObject -like '- *' }
|
||||
Should -Invoke Write-Output -Times 3 -ParameterFilter { $InputObject -like '- *' }
|
||||
Should -Invoke Write-Output -Times 1 -Exactly -ParameterFilter {
|
||||
$InputObject -eq "- $(Get-Translation -Key 'CreateRestorePoint' -Field 'Label' -Section 'Features')"
|
||||
}
|
||||
Should -Invoke Write-Output -Times 1 -Exactly -ParameterFilter {
|
||||
$InputObject -eq "- $(Get-Translation -Key 'DisableTelemetry' -Field 'Label' -Section 'Features')"
|
||||
}
|
||||
}
|
||||
|
||||
It 'returns the saved-settings menu option only when the file is available' {
|
||||
|
||||
@@ -7,6 +7,75 @@ BeforeAll {
|
||||
$script:LanguagesPath = Join-Path $script:RepoRoot 'Config/Languages'
|
||||
}
|
||||
|
||||
Describe 'CLI language routing' {
|
||||
BeforeAll {
|
||||
function Show-CliMenuOptions { '0' }
|
||||
function Show-MainWindow {}
|
||||
$tokens = $null
|
||||
$parseErrors = $null
|
||||
$ast = [System.Management.Automation.Language.Parser]::ParseFile(
|
||||
"$script:RepoRoot/Win11Debloat.ps1", [ref]$tokens, [ref]$parseErrors)
|
||||
$parseErrors | Should -BeNullOrEmpty
|
||||
# Execute only language initialization and mode routing, avoiding Windows startup/mutations.
|
||||
$initialization = $ast.EndBlock.Statements | Where-Object {
|
||||
$_ -is [System.Management.Automation.Language.AssignmentStatementAst] -and
|
||||
$_.Left.Extent.Text -in @('$script:UiPreferences', '$script:Lang')
|
||||
}
|
||||
$script:LanguageStartup = [scriptblock]::Create(($initialization.Extent.Text -join "`n"))
|
||||
$routing = $ast.EndBlock.Statements | Where-Object {
|
||||
$_ -is [System.Management.Automation.Language.IfStatementAst] -and
|
||||
$_.Extent.Text -match '\$result = Show-MainWindow'
|
||||
}
|
||||
$script:LanguageRouting = [scriptblock]::Create($routing.Extent.Text)
|
||||
}
|
||||
|
||||
BeforeEach {
|
||||
$script:UiPreferencesFilePath = "$TestDrive/preferences.json"
|
||||
Save-UiPreferences -Preferences @{ Theme = 'Dark'; Language = 'nl-NL' }
|
||||
$script:Params = @{ CLI = $true }
|
||||
$controlParamsCount = 1
|
||||
$launchInCLI = $true
|
||||
$CLI = $true
|
||||
$Silent = $true
|
||||
$Language = 'pt-BR'
|
||||
$RunDefaults = $false
|
||||
$RunDefaultsLite = $false
|
||||
$RunSavedSettings = $false
|
||||
$Config = $null
|
||||
$script:MenuLanguage = $null
|
||||
$script:GuiLanguage = $null
|
||||
Mock Show-CliMenuOptions { $script:MenuLanguage = $script:Lang.LanguageCode; '0' }
|
||||
Mock Show-MainWindow { throw 'Simulated GUI startup failure' }
|
||||
Mock Write-Warning {}
|
||||
}
|
||||
|
||||
It 'uses English in CLI despite saved and explicit GUI languages' {
|
||||
& $script:LanguageStartup
|
||||
& $script:LanguageRouting
|
||||
|
||||
$script:MenuLanguage | Should -Be 'en-US'
|
||||
$script:UiPreferences.Theme | Should -Be 'Dark'
|
||||
(Get-UiPreferences).Language | Should -Be 'nl-NL'
|
||||
Should -Invoke Show-MainWindow -Times 0 -Exactly
|
||||
}
|
||||
|
||||
It 'restores English before falling back from the selected GUI language to CLI' {
|
||||
$launchInCLI = $false
|
||||
$CLI = $false
|
||||
Mock Show-MainWindow {
|
||||
$script:GuiLanguage = $script:Lang.LanguageCode
|
||||
throw 'Simulated GUI startup failure'
|
||||
}
|
||||
& $script:LanguageStartup
|
||||
& $script:LanguageRouting
|
||||
|
||||
Should -Invoke Show-MainWindow -Times 1 -Exactly
|
||||
$script:GuiLanguage | Should -Be 'pt-BR'
|
||||
$script:MenuLanguage | Should -Be 'en-US'
|
||||
(Get-UiPreferences).Language | Should -Be 'nl-NL'
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'UI preference initialization' {
|
||||
BeforeEach {
|
||||
$script:UiPreferencesFilePath = "$TestDrive/preferences.json"
|
||||
|
||||
@@ -27,8 +27,7 @@ $packageName = "Win11Debloat-$Version"
|
||||
$packagePath = Join-Path $workPath $packageName
|
||||
$archivePath = Join-Path $outputPath 'Win11Debloat.zip'
|
||||
$excludedPaths = @(
|
||||
'.git', '.github', '.gitignore', 'Tests', 'Logs', 'Backups',
|
||||
'Scripts/Build-Release.ps1', 'Scripts/Run-Tests.ps1',
|
||||
'.git', '.github', '.gitignore', 'Tests', 'Tools', 'Logs', 'Backups',
|
||||
'LastUsedSettings.json', 'Config/LastUsedSettings.json'
|
||||
)
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists the keys each translated language is missing or carries extra, compared to en-US.
|
||||
|
||||
.DESCRIPTION
|
||||
Plural-aware: a plural family in en-US (for example AppSelectionStatusSelected_one and _other) is expected in
|
||||
each language as one key per category that language's Get-PluralCategory rule can return, so ja-JP is not
|
||||
reported missing its _one keys and pt-BR is not reported for having _many. A shipped _other key is always allowed. Requires Import-JsonFile.ps1 and Import-LanguageFile.ps1 from Scripts/FileIO.
|
||||
Reports only; it never changes a language folder. A language folder whose catalogs cannot be loaded is returned with Loaded = $false and the remaining languages are still reported; only a missing en-US baseline throws.
|
||||
|
||||
.PARAMETER LanguagesPath
|
||||
The directory containing language folders. Defaults to Config/Languages.
|
||||
|
||||
.PARAMETER LanguageCode
|
||||
Limits the report to these language folders. Defaults to every folder except en-US.
|
||||
|
||||
.OUTPUTS
|
||||
PSCustomObject per language: LanguageCode, Loaded, ExpectedCount, MissingKeys, ExtraKeys.
|
||||
#>
|
||||
function Get-LanguageKeyReport {
|
||||
param(
|
||||
[string]$LanguagesPath = (Join-Path $PSScriptRoot '..\Config\Languages'),
|
||||
[string[]]$LanguageCode
|
||||
)
|
||||
|
||||
$baseline = Import-LanguageContent -LanguageFolder 'en-US' -LanguagesPath $LanguagesPath
|
||||
if (-not $baseline) {
|
||||
throw "Unable to load the en-US baseline from '$LanguagesPath'."
|
||||
}
|
||||
|
||||
$pluralPattern = '^([^.]+)_(zero|one|two|few|many|other)$'
|
||||
$plainKeys = @()
|
||||
$pluralBases = @()
|
||||
foreach ($key in (Get-LanguageKeyPaths -Lang $baseline)) {
|
||||
if ($key -match $pluralPattern) { $pluralBases += $Matches[1] } else { $plainKeys += $key }
|
||||
}
|
||||
$pluralBases = @($pluralBases | Sort-Object -Unique)
|
||||
|
||||
# Counts that reach every category of the shipped rules, including the whole-million 'many' of Portuguese.
|
||||
$sampleCounts = @(0..1000) + @(1000000, 1000001, 2000000)
|
||||
|
||||
if (-not $LanguageCode) {
|
||||
$LanguageCode = @(Get-ChildItem -LiteralPath $LanguagesPath -Directory | Where-Object Name -ne 'en-US' |
|
||||
Sort-Object Name | Select-Object -ExpandProperty Name)
|
||||
}
|
||||
|
||||
foreach ($code in $LanguageCode) {
|
||||
# A folder with a missing or unreadable catalog must not stop the report: list it as not loaded and go on.
|
||||
try {
|
||||
$content = Import-LanguageContent -LanguageFolder $code -LanguagesPath $LanguagesPath -ErrorAction Stop
|
||||
}
|
||||
catch {
|
||||
Write-Warning "Language '$code' could not be loaded: $($_.Exception.Message)"
|
||||
$content = $null
|
||||
}
|
||||
if (-not $content) {
|
||||
[PSCustomObject]@{ LanguageCode = $code; Loaded = $false; ExpectedCount = 0; MissingKeys = @(); ExtraKeys = @() }
|
||||
continue
|
||||
}
|
||||
|
||||
$categories = @($sampleCounts | ForEach-Object { Get-PluralCategory -LanguageCode $code -Count $_ } | Sort-Object -Unique)
|
||||
$expected = [System.Collections.Generic.HashSet[string]]::new([string[]]@(
|
||||
$plainKeys + @($pluralBases | ForEach-Object { $base = $_; $categories | ForEach-Object { "${base}_$_" } })
|
||||
))
|
||||
# CLDR gives every language an 'other' category (fractions), so shipping it is allowed even when the rule never returns it.
|
||||
$allowed = [System.Collections.Generic.HashSet[string]]::new($expected)
|
||||
foreach ($base in $pluralBases) { [void]$allowed.Add("${base}_other") }
|
||||
$actual = [System.Collections.Generic.HashSet[string]]::new([string[]](Get-LanguageKeyPaths -Lang $content))
|
||||
|
||||
[PSCustomObject]@{
|
||||
LanguageCode = $code
|
||||
Loaded = $true
|
||||
ExpectedCount = $expected.Count
|
||||
MissingKeys = @($expected | Where-Object { -not $actual.Contains($_) } | Sort-Object)
|
||||
ExtraKeys = @($actual | Where-Object { -not $allowed.Contains($_) } | Sort-Object)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Prints, per translated language, which keys are missing or extra compared to en-US.
|
||||
|
||||
.DESCRIPTION
|
||||
Informational only: a language that lags behind en-US, or whose catalogs cannot be loaded (it is listed as
|
||||
"could not load all catalogs"), never fails the run. It exits 1 only when the script itself breaks, for example
|
||||
when the en-US baseline cannot be loaded.
|
||||
Writes Markdown to the console and, on GitHub Actions, to the job summary.
|
||||
|
||||
.PARAMETER LanguageCode
|
||||
Limits the report to these language folders. Defaults to every folder except en-US.
|
||||
#>
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[string[]]$LanguageCode
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$scriptsPath = Join-Path (Split-Path -Parent $PSScriptRoot) 'Scripts'
|
||||
. (Join-Path $scriptsPath 'FileIO\Import-JsonFile.ps1')
|
||||
. (Join-Path $scriptsPath 'FileIO\Import-LanguageFile.ps1')
|
||||
. (Join-Path $PSScriptRoot 'Get-LanguageKeyReport.ps1')
|
||||
|
||||
$reports = @(Get-LanguageKeyReport -LanguageCode $LanguageCode)
|
||||
|
||||
$lines = [System.Collections.Generic.List[string]]::new()
|
||||
$lines.Add('## Language key report (compared to en-US)')
|
||||
$lines.Add('')
|
||||
$lines.Add('| Language | Expected | Missing | Extra |')
|
||||
$lines.Add('| --- | ---: | ---: | ---: |')
|
||||
foreach ($report in $reports) {
|
||||
if ($report.Loaded) {
|
||||
$lines.Add("| $($report.LanguageCode) | $($report.ExpectedCount) | $($report.MissingKeys.Count) | $($report.ExtraKeys.Count) |")
|
||||
}
|
||||
else {
|
||||
$lines.Add("| $($report.LanguageCode) | could not load all catalogs | | |")
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($report in ($reports | Where-Object { $_.MissingKeys.Count -or $_.ExtraKeys.Count })) {
|
||||
foreach ($kind in 'Missing', 'Extra') {
|
||||
$keys = @($report."${kind}Keys")
|
||||
if ($keys.Count -eq 0) { continue }
|
||||
$lines.Add('')
|
||||
$lines.Add("<details><summary>$($report.LanguageCode): $($keys.Count) $($kind.ToLowerInvariant())</summary>")
|
||||
$lines.Add('')
|
||||
foreach ($key in $keys) { $lines.Add("- ``$key``") }
|
||||
$lines.Add('')
|
||||
$lines.Add('</details>')
|
||||
}
|
||||
}
|
||||
|
||||
$lines | Write-Output
|
||||
if ($env:GITHUB_STEP_SUMMARY) {
|
||||
Add-Content -LiteralPath $env:GITHUB_STEP_SUMMARY -Value $lines -Encoding utf8
|
||||
}
|
||||
@@ -17,7 +17,7 @@ $testPath = Join-Path $repositoryRoot 'Tests'
|
||||
|
||||
if (-not (Get-Module -ListAvailable -Name Pester | Where-Object { $_.Version.Major -eq 5 })) {
|
||||
if (-not $Bootstrap) {
|
||||
Write-Error 'Pester 5 is required. Install it with: .\Scripts\Run-Tests.ps1 -Bootstrap'
|
||||
Write-Error 'Pester 5 is required. Install it with: .\Tools\Run-Tests.ps1 -Bootstrap'
|
||||
exit 1
|
||||
}
|
||||
|
||||
+10
-4
@@ -26,6 +26,7 @@ param (
|
||||
[switch]$EnableWindowsSubsystemForLinux,
|
||||
[switch]$DisableTelemetry,
|
||||
[switch]$DisableFastStartup,
|
||||
[switch]$DisableStartupDelay,
|
||||
[switch]$DisableBitlockerAutoEncryption,
|
||||
[switch]$DisableModernStandbyNetworking,
|
||||
[switch]$DisableStorageSense,
|
||||
@@ -63,6 +64,7 @@ param (
|
||||
[switch]$DisableStartRecommended,
|
||||
[switch]$DisableStartAllApps, [switch]$StartAllAppsCategory, [switch]$StartAllAppsGrid, [switch]$StartAllAppsList,
|
||||
[switch]$DisableStartPhoneLink,
|
||||
[switch]$DisableStartWebView2,
|
||||
[switch]$DisableCopilot,
|
||||
[switch]$DisableRecall,
|
||||
[switch]$DisableClickToDo,
|
||||
@@ -321,8 +323,8 @@ $script:Features = @{}
|
||||
try {
|
||||
$featuresData = Get-Content -Path $script:FeaturesFilePath -Raw | ConvertFrom-Json
|
||||
foreach ($feature in $featuresData.Features) {
|
||||
if ([string]::IsNullOrWhiteSpace([string]$feature.FeatureId) -or [string]::IsNullOrWhiteSpace([string]$feature.Label) -or [string]::IsNullOrWhiteSpace([string]$feature.ApplyText)) {
|
||||
Write-Warning "Feature '$($feature.FeatureId)' is missing a FeatureId, Label, or ApplyText in Features.json and will be skipped."
|
||||
if ([string]::IsNullOrWhiteSpace([string]$feature.FeatureId)) {
|
||||
Write-Warning "A feature is missing a FeatureId in Features.json and will be skipped."
|
||||
continue
|
||||
}
|
||||
$script:Features[$feature.FeatureId] = $feature
|
||||
@@ -475,8 +477,9 @@ $WinVersion = Get-ItemPropertyValue 'HKLM:\SOFTWARE\Microsoft\Windows NT\Current
|
||||
# Check if the machine supports Modern Standby, this is used to determine if the DisableModernStandbyNetworking option can be used
|
||||
$script:ModernStandbySupported = Test-ModernStandbySupport
|
||||
|
||||
# Explicit -Language takes precedence over saved UI preferences and the system culture.
|
||||
Initialize-UiPreferences -Language $Language
|
||||
# CLI menus, operation messages, and app selection always use English.
|
||||
$script:UiPreferences = Get-UiPreferences
|
||||
$script:Lang = Import-LanguageFile -LanguageCode 'en-US'
|
||||
|
||||
$script:Params = $PSBoundParameters
|
||||
$script:UndoParams = @{}
|
||||
@@ -573,6 +576,8 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
}
|
||||
else {
|
||||
try {
|
||||
# Explicit -Language takes precedence over saved UI preferences and the system culture.
|
||||
Initialize-UiPreferences -Language $Language
|
||||
$result = Show-MainWindow
|
||||
|
||||
try {
|
||||
@@ -583,6 +588,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
|
||||
Exit
|
||||
}
|
||||
catch {
|
||||
$script:Lang = Import-LanguageFile -LanguageCode 'en-US'
|
||||
Write-Warning "The graphical interface could not start: $($_.Exception.Message)"
|
||||
Write-Verbose "GUI Failure details: $($_.Exception.ToString())"
|
||||
if (-not $Silent) {
|
||||
|
||||
Reference in New Issue
Block a user