17 Commits
Author SHA1 Message Date
poli0981 c972606014 Merge pull request #45 from poli0981/claude/v1.4.0-batch1
feat(catalog): v1.4.0 — 60 new commands + Services & Startup category (141 → 201)
2026-06-29 21:00:48 +07:00
poli0981andClaude Opus 4.8 b80842a77c docs(changelog): add 1.4.0 release notes (60 commands + Services & Startup)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 20:42:47 +07:00
poli0981andClaude Opus 4.8 b4bc97eb97 feat(catalog): add 20 security/updates/tweaks commands — v1.4.0 batch 3/3 (181 -> 201)
Highest-scrutiny batch: contains the only Dangerous command and all reversible
registry pairs.

- security-privacy (6): Defender threat history, Defender exclusions, BitLocker
  volume details, reset firewall to defaults (Dangerous, confirm + restore
  point), remove dynamic signatures, open Windows Security
- updates-packages (6): update history, Windows Update settings, update App
  Installer, export installed packages, third-party drivers, troubleshooters
- tweaks-shortcuts (6, 3 reversible pairs): hide/show taskbar search (Win11),
  disable/enable transparency, disable/enable Snap assist
- developer (2): enable/disable Telnet client (DISM feature)

All keys localized across EN/VI/JA/zh-Hans/ES. Catalog now at 201 commands.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 20:41:51 +07:00
poli0981andClaude Opus 4.8 b9cedcc160 feat(catalog): add Services & Startup category + 20 commands — v1.4.0 batch 2/3 (161 -> 181)
New 12th category "services-startup" plus a storage/maintenance-heavy batch.

- services-startup (8, NEW category): restart Print Spooler / Windows Audio /
  Windows Update / BITS services; list running & automatic services; open
  Startup apps settings; open the Startup folder
- storage (5): largest temp files, list partitions, analyze fragmentation
  (read-only), configure Disk Cleanup (sageset), list disks & volumes (diskpart)
- cleanup (3): clear icon cache, clear recent items, clear event logs
- power (2): Power Saver plan, hibernate now
- system-maintenance (2): online disk scan (Repair-Volume -Scan), verify
  system files (sfc /verifyonly)

categories.json gains services-startup (order 12); CatalogTests category-count
assertion bumped 11 -> 12. All keys localized across EN/VI/JA/zh-Hans/ES.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 20:34:36 +07:00
poli0981andClaude Opus 4.8 c98dd4ded9 feat(catalog): add 20 read-only/launch commands — v1.4.0 batch 1/3 (141 -> 161)
Visibility batch: system diagnostics & info that only read state or open a
console — zero Caution/Dangerous commands, ideal smoke-test set.

- system-info (7): battery health, network adapter speed, disk health,
  page file usage, local user accounts, time zone, Windows install date
- network (6): public DNS lookup test, active TCP connections, firewall
  profiles, shared folders, show hosts file, Network Connections (ncpa.cpl)
- diagnostics (5): recent boot/shutdown events, unexpected shutdowns
  (Kernel-Power 41), recent system errors, Print Management, Certificate Manager
- storage (2): drive usage summary, disk SMART status

All keys localized across EN/VI/JA/zh-Hans/ES. Catalog stays at 11 categories.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 20:14:20 +07:00
poli0981 6df370ec68 Merge pull request #44 from poli0981/claude/v1.3.0-changelog
docs(changelog): add 1.3.0 release notes
2026-06-26 23:17:51 +07:00
poli0981andClaude Opus 4.8 a587db3774 docs(changelog): add 1.3.0 release notes
Promote Unreleased to [1.3.0] (2026-06-26): 25 new commands + Storage
category, Simplified Chinese and Spanish UI languages, and the fixed
non-resizable main window. Update compare links.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:17:30 +07:00
poli0981 906170f4eb Merge pull request #43 from poli0981/claude/v1.3.0-commands
feat(catalog): add 25 new commands and a Storage category
2026-06-26 23:15:50 +07:00
poli0981andClaude Opus 4.8 dfac11c964 feat(catalog): add 25 new commands and a Storage category
Grows the catalog from 116 to 141 commands and adds an 11th category,
"Storage". All new commands are vetted, fixed catalog entries (no user
interpolation); admin ones run via the Elevator. No new Dangerous commands.

New category: storage (Optimize/defrag C:, Disk Management, list volumes
and free space, open Storage settings).

Other additions across existing groups:
- system-info: TPM status, Secure Boot state, computer & OS summary.
- network: network adapters, DNS servers, internet connectivity test.
- diagnostics: startup programs, Driver Verifier, Performance Monitor,
  system health report.
- cleanup: clear crash dumps, Windows Error Reporting, DNS+ARP caches.
- power: lid-close action and monitor-timeout toggles (revert pairs).
- tweaks-shortcuts: NumLock-at-startup and verbose sign-in toggles
  (revert pairs, with affectedRegistryValues).

Localization: 51 new keys (50 command + Cat_storage) added to all five
languages (EN authored; VI/JA/zh-Hans/ES machine-translated, flagged for
native review). ResxKeyTests enforces full parity.

Tests: CatalogTests category count 10 -> 11; added guards for the Storage
category and for "Dangerous commands must confirm". 195/195 passing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:14:56 +07:00
poli0981 a592a64058 Merge pull request #42 from poli0981/claude/v1.3.0-languages
feat(i18n): add Simplified Chinese (zh-Hans) and Spanish (es) UI languages
2026-06-26 22:59:04 +07:00
poli0981andClaude Opus 4.8 a941710b29 feat(i18n): add Simplified Chinese (zh-Hans) and Spanish (es) UI languages
Adds two new UI languages, bringing the total to five (EN/VI/JA/zh-Hans/es).
Both new translations are machine-translated and flagged for native review,
matching how Japanese was introduced.

- Strings.zh-Hans.resx + Strings.es.resx: full parity with EN (501 keys),
  built by transforming the English resx so every key is present (no fallback).
- SettingsViewModel: add 简体中文 and Español language options.
- MainWindow.xaml: add the two View > Language menu items.
- ISettingsService: document the new culture codes.
- ResxKeyTests: assert key parity across all satellite cultures
  (vi/ja/zh-Hans/es), driven by a single SatelliteCultures list.
- LocalizationManagerTests: theory asserting each satellite actually loads
  (a translated string, not an English fallback) via the live-switch path.

Translations: machine-generated; recommend native-speaker review before GA.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 22:58:08 +07:00
poli0981 bf10498fc0 Merge pull request #41 from poli0981/claude/v1.3.0-window-lock
feat(ui): lock main window to a fixed 1100x720 size (no resize/maximize)
2026-06-26 22:46:51 +07:00
poli0981andClaude Opus 4.8 612f191ce7 feat(ui): lock main window to a fixed 1100x720 size
The main window is now fixed and non-resizable (ResizeMode=NoResize),
removing the maximize button and resize grips. The F11 full-screen
toggle (which maximized to borderless) is removed as it conflicts with
a locked window.

- MainWindow.xaml: ResizeMode=NoResize; drop MinWidth/MinHeight; remove
  the View > Full screen menu item.
- MainWindow.xaml.cs: restore/save window position only (size and
  maximized state are fixed); remove ToggleFullScreen + F11 handler.
- KeyboardShortcutsDialog: drop the F11 row.
- ISettingsService: WindowWidth/Height/Maximized retained for config
  back-compat but no longer read or written.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 22:45:01 +07:00
poli0981 e084a6d636 Merge pull request #40 from poli0981/dependabot/nuget/tests/CommandForge.Tests/Microsoft.NET.Test.Sdk-18.7.0
deps: Bump Microsoft.NET.Test.Sdk from 18.6.0 to 18.7.0
2026-06-25 21:14:21 +07:00
poli0981 25e6064d38 Merge pull request #39 from poli0981/dependabot/github_actions/actions/checkout-7
ci: Bump actions/checkout from 6 to 7
2026-06-25 21:11:30 +07:00
dependabot[bot] 0ac6e067ee deps: Bump Microsoft.NET.Test.Sdk from 18.6.0 to 18.7.0
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-24 10:25:56 +00:00
dependabot[bot] 873f1e8fea ci: Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-24 10:23:50 +00:00
20 changed files with 7548 additions and 110 deletions

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
# WPF (net10.0-windows) only builds on Windows.
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
with:
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
with:
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
REPO_URL: https://github.com/poli0981/CommandForge
VT_API_KEY: ${{ secrets.VT_API_KEY }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
with:
+41 -1
View File
@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.4.0] — 2026-06-29
### Added
- **60 new commands and a new "Services & Startup" category** (catalog grew from 141 to 201):
- **Services & Startup** (new 12th category): restart the Print Spooler, Windows Audio, Windows
Update and BITS services; list running and automatic services; and open the Startup apps settings
and the Startup folder.
- **System info & storage:** battery health, network-adapter speed, disk health and SMART status,
page-file usage, local user accounts, time zone and Windows install date; plus a drive-usage
summary, largest temp files, partition list, fragmentation analysis, Disk Cleanup configuration
and a DiskPart disk/volume listing.
- **Network & diagnostics:** a public DNS lookup test, active TCP connections, firewall profiles,
shared folders, the hosts file and Network Connections; plus recent boot/shutdown and
unexpected-shutdown events, recent system errors, Print Management and Certificate Manager.
- **Cleanup, power & maintenance:** clear the icon cache, recent items and event logs; the Power
Saver plan and hibernate-now; and an online disk scan and a read-only system-file verification.
- **Security, updates & tweaks:** Defender threat history and exclusions, BitLocker volume details,
reset firewall to defaults, remove dynamic signatures and open Windows Security; update history,
Windows Update settings, App Installer self-update, package export, third-party drivers and
troubleshooters; and hide/show the Windows 11 taskbar search plus transparency, Snap-assist and
Telnet-client toggles.
## [1.3.0] — 2026-06-26
### Added
- **25 new commands and a new "Storage" category** (catalog grew from 116 to 141): optimize /
defragment C:, Disk Management, list volumes & free space, and open Storage settings; TPM status,
Secure Boot state and a computer & OS summary; network adapters, DNS servers and an internet
connectivity test; startup programs, Driver Verifier, Performance Monitor and a system health
report; clear crash dumps, Windows Error Reporting data and the DNS + ARP caches; lid-close and
monitor-timeout power toggles; and NumLock-at-startup and verbose sign-in toggles.
- **Two new UI languages — Simplified Chinese (简体中文) and Spanish (Español)** — joining English,
Vietnamese and Japanese. Selectable in Settings and the View menu and switching live without a
restart.
### Changed
- **Fixed main window size.** The main window is now a fixed 1100×720 and can no longer be resized
or maximized; the F11 full-screen shortcut has been removed.
## [1.2.0] — 2026-06-21
### Added
@@ -87,7 +126,8 @@ Initial public release.
checksums (and an optional VirusTotal scan). No telemetry — the only network use is checking
GitHub for updates.
[Unreleased]: https://github.com/poli0981/CommandForge/compare/v1.2.0...HEAD
[Unreleased]: https://github.com/poli0981/CommandForge/compare/v1.3.0...HEAD
[1.3.0]: https://github.com/poli0981/CommandForge/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/poli0981/CommandForge/compare/v1.1.1...v1.2.0
[1.1.1]: https://github.com/poli0981/CommandForge/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/poli0981/CommandForge/compare/v1.0.0...v1.1.0
@@ -17,7 +17,7 @@ public interface ISettingsService
/// <summary>The UI color theme (default <see cref="AppTheme.System"/>).</summary>
public AppTheme Theme { get; set; }
/// <summary>UI language: <c>""</c> = follow OS, otherwise a culture code such as <c>"en"</c>, <c>"vi"</c> or <c>"ja"</c>.</summary>
/// <summary>UI language: <c>""</c> = follow OS, otherwise a culture code such as <c>"en"</c>, <c>"vi"</c>, <c>"ja"</c>, <c>"zh-Hans"</c> or <c>"es"</c>.</summary>
public string Language { get; set; }
/// <summary>The overall UI font size (default <see cref="FontScale.Medium"/>).</summary>
@@ -51,10 +51,16 @@ public interface ISettingsService
/// <summary>Recently-run command ids, most-recent first (default empty). Capped by the caller.</summary>
public IReadOnlyList<string> RecentCommandIds { get; set; }
/// <summary>Last main-window width in device-independent pixels, or <see langword="null"/> if never saved.</summary>
/// <summary>
/// Retained for config back-compat only. The main window is now a fixed, non-resizable size, so this
/// value is no longer read or written; it round-trips untouched for users upgrading from older versions.
/// </summary>
public double? WindowWidth { get; set; }
/// <summary>Last main-window height in device-independent pixels, or <see langword="null"/> if never saved.</summary>
/// <summary>
/// Retained for config back-compat only. The main window is now a fixed, non-resizable size, so this
/// value is no longer read or written; it round-trips untouched for users upgrading from older versions.
/// </summary>
public double? WindowHeight { get; set; }
/// <summary>Last main-window left position, or <see langword="null"/> if never saved (centre on launch).</summary>
@@ -63,7 +69,10 @@ public interface ISettingsService
/// <summary>Last main-window top position, or <see langword="null"/> if never saved (centre on launch).</summary>
public double? WindowTop { get; set; }
/// <summary>Whether the main window was maximized when last closed (default <see langword="false"/>).</summary>
/// <summary>
/// Retained for config back-compat only. The main window can no longer be maximized, so this value is
/// no longer read or written; it round-trips untouched for users upgrading from older versions.
/// </summary>
public bool WindowMaximized { get; set; }
/// <summary>Persists the current settings to disk.</summary>
@@ -8,5 +8,7 @@
{ "id": "system-info", "titleKey": "Cat_system-info", "icon": "Information", "order": 7 },
{ "id": "diagnostics", "titleKey": "Cat_diagnostics", "icon": "Stethoscope", "order": 8 },
{ "id": "security-privacy", "titleKey": "Cat_security-privacy", "icon": "ShieldLock", "order": 9 },
{ "id": "developer", "titleKey": "Cat_developer", "icon": "CodeBraces", "order": 10 }
{ "id": "developer", "titleKey": "Cat_developer", "icon": "CodeBraces", "order": 10 },
{ "id": "storage", "titleKey": "Cat_storage", "icon": "Harddisk", "order": 11 },
{ "id": "services-startup", "titleKey": "Cat_services-startup", "icon": "Cog", "order": 12 }
]
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1565,4 +1565,520 @@
<data name="Cmd_dev.longpaths.off_Desc" xml:space="preserve">
<value>Win32 の長いパスのサポートを無効にします(既定に戻します)。</value>
</data>
<data name="Cat_storage" xml:space="preserve">
<value>ストレージ</value>
</data>
<data name="Cmd_info.tpm_Title" xml:space="preserve">
<value>TPM の状態</value>
</data>
<data name="Cmd_info.tpm_Desc" xml:space="preserve">
<value>TPM(トラステッド プラットフォーム モジュール)の有無、バージョン、利用可否を表示します。</value>
</data>
<data name="Cmd_info.secureboot_Title" xml:space="preserve">
<value>Secure Boot の状態</value>
</data>
<data name="Cmd_info.secureboot_Desc" xml:space="preserve">
<value>UEFI Secure Boot が有効かどうかを表示します。</value>
</data>
<data name="Cmd_info.product_Title" xml:space="preserve">
<value>コンピューターと OS の概要</value>
</data>
<data name="Cmd_info.product_Desc" xml:space="preserve">
<value>製造元、モデル、OS のエディション、インストール日を表示します。</value>
</data>
<data name="Cmd_net.adapters_Title" xml:space="preserve">
<value>ネットワーク アダプター</value>
</data>
<data name="Cmd_net.adapters_Desc" xml:space="preserve">
<value>ネットワーク アダプターの状態とリンク速度を一覧表示します。</value>
</data>
<data name="Cmd_net.dnsservers_Title" xml:space="preserve">
<value>DNS サーバー</value>
</data>
<data name="Cmd_net.dnsservers_Desc" xml:space="preserve">
<value>各アダプターに設定されている DNS サーバーのアドレスを一覧表示します。</value>
</data>
<data name="Cmd_net.testconnection_Title" xml:space="preserve">
<value>インターネット接続をテスト</value>
</data>
<data name="Cmd_net.testconnection_Desc" xml:space="preserve">
<value>パブリック ホストに ping を実行してインターネット接続を確認します。</value>
</data>
<data name="Cmd_diag.startup_Title" xml:space="preserve">
<value>スタートアップ プログラム</value>
</data>
<data name="Cmd_diag.startup_Desc" xml:space="preserve">
<value>サインイン時に実行されるよう設定されているプログラムを一覧表示します。</value>
</data>
<data name="Cmd_diag.driververifier_Title" xml:space="preserve">
<value>Driver Verifier マネージャー</value>
</data>
<data name="Cmd_diag.driververifier_Desc" xml:space="preserve">
<value>Driver Verifier を開いてデバイス ドライバーのストレス テストを行います(上級者向け)。</value>
</data>
<data name="Cmd_diag.perfmon_Title" xml:space="preserve">
<value>Performance Monitor</value>
</data>
<data name="Cmd_diag.perfmon_Desc" xml:space="preserve">
<value>Performance Monitor の完全なコンソールを開きます。</value>
</data>
<data name="Cmd_diag.systemhealth_Title" xml:space="preserve">
<value>システム正常性レポート</value>
</data>
<data name="Cmd_diag.systemhealth_Desc" xml:space="preserve">
<value>システム診断レポートを生成します(約 1 分かかります)。</value>
</data>
<data name="Cmd_clean.dumps_Title" xml:space="preserve">
<value>クラッシュ ダンプを削除</value>
</data>
<data name="Cmd_clean.dumps_Desc" xml:space="preserve">
<value>保存されたメモリ ダンプとミニダンプのファイルを削除します。</value>
</data>
<data name="Cmd_clean.errorreports_Title" xml:space="preserve">
<value>エラー報告データを削除</value>
</data>
<data name="Cmd_clean.errorreports_Desc" xml:space="preserve">
<value>キューに溜まった Windows エラー報告のファイルを削除します。</value>
</data>
<data name="Cmd_clean.dnsarp_Title" xml:space="preserve">
<value>DNS と ARP のキャッシュを削除</value>
</data>
<data name="Cmd_clean.dnsarp_Desc" xml:space="preserve">
<value>DNS リゾルバー キャッシュと ARP テーブルをクリアします。</value>
</data>
<data name="Cmd_power.lidclose.donothing_Title" xml:space="preserve">
<value>カバーを閉じたとき: 何もしない(電源接続時)</value>
</data>
<data name="Cmd_power.lidclose.donothing_Desc" xml:space="preserve">
<value>AC power 接続時にカバーを閉じてもノート PC をスリープさせません。</value>
</data>
<data name="Cmd_power.lidclose.sleep_Title" xml:space="preserve">
<value>カバーを閉じたとき: スリープ(電源接続時)</value>
</data>
<data name="Cmd_power.lidclose.sleep_Desc" xml:space="preserve">
<value>AC power 接続時にカバーを閉じるとノート PC をスリープさせます。</value>
</data>
<data name="Cmd_power.monitor.timeout15_Title" xml:space="preserve">
<value>15 分後に画面をオフ</value>
</data>
<data name="Cmd_power.monitor.timeout15_Desc" xml:space="preserve">
<value>AC power 接続時、15 分後にディスプレイをオフにします。</value>
</data>
<data name="Cmd_power.monitor.timeout10_Title" xml:space="preserve">
<value>10 分後に画面をオフ</value>
</data>
<data name="Cmd_power.monitor.timeout10_Desc" xml:space="preserve">
<value>AC power 接続時、10 分後にディスプレイをオフにします(既定)。</value>
</data>
<data name="Cmd_tweak.numlock.on_Title" xml:space="preserve">
<value>起動時に NumLock をオン</value>
</data>
<data name="Cmd_tweak.numlock.on_Desc" xml:space="preserve">
<value>起動時とサインイン画面で NumLock を有効にします。</value>
</data>
<data name="Cmd_tweak.numlock.off_Title" xml:space="preserve">
<value>起動時に NumLock をオフ</value>
</data>
<data name="Cmd_tweak.numlock.off_Desc" xml:space="preserve">
<value>起動時とサインイン画面で NumLock を無効にします。</value>
</data>
<data name="Cmd_tweak.verbosestatus.on_Title" xml:space="preserve">
<value>サインイン時の詳細メッセージをオン</value>
</data>
<data name="Cmd_tweak.verbosestatus.on_Desc" xml:space="preserve">
<value>起動時とシャットダウン時に詳細な状態メッセージを表示します。</value>
</data>
<data name="Cmd_tweak.verbosestatus.off_Title" xml:space="preserve">
<value>サインイン時の詳細メッセージをオフ</value>
</data>
<data name="Cmd_tweak.verbosestatus.off_Desc" xml:space="preserve">
<value>起動時とシャットダウン時のメッセージを通常表示に戻します。</value>
</data>
<data name="Cmd_storage.optimize_Title" xml:space="preserve">
<value>C: の最適化 / デフラグ</value>
</data>
<data name="Cmd_storage.optimize_Desc" xml:space="preserve">
<value>C: ドライブを最適化します(SSD は TRIM、HDD はデフラグ)。</value>
</data>
<data name="Cmd_storage.diskmgmt_Title" xml:space="preserve">
<value>Disk Management</value>
</data>
<data name="Cmd_storage.diskmgmt_Desc" xml:space="preserve">
<value>Disk Management コンソールを開きます。</value>
</data>
<data name="Cmd_storage.volumes_Title" xml:space="preserve">
<value>ボリュームと空き容量を一覧表示</value>
</data>
<data name="Cmd_storage.volumes_Desc" xml:space="preserve">
<value>ボリュームのファイル システムと空き容量を表示します。</value>
</data>
<data name="Cmd_storage.storagesense_Title" xml:space="preserve">
<value>ストレージ設定を開く</value>
</data>
<data name="Cmd_storage.storagesense_Desc" xml:space="preserve">
<value>Windows のストレージ設定を開いて Storage Sense を管理します。</value>
</data>
<data name="Cmd_info.battery.health_Title" xml:space="preserve">
<value>バッテリーの状態</value>
</data>
<data name="Cmd_info.battery.health_Desc" xml:space="preserve">
<value>バッテリーの設計容量と満充電容量を表示します。</value>
</data>
<data name="Cmd_info.netadapter.speed_Title" xml:space="preserve">
<value>ネットワーク アダプターの速度</value>
</data>
<data name="Cmd_info.netadapter.speed_Desc" xml:space="preserve">
<value>アクティブなネットワーク アダプターのリンク速度と MAC アドレスを一覧表示します。</value>
</data>
<data name="Cmd_info.diskhealth_Title" xml:space="preserve">
<value>ディスクの状態</value>
</data>
<data name="Cmd_info.diskhealth_Desc" xml:space="preserve">
<value>各物理ディスクの正常性と動作状態を表示します。</value>
</data>
<data name="Cmd_info.pagefile_Title" xml:space="preserve">
<value>ページ ファイルの使用状況</value>
</data>
<data name="Cmd_info.pagefile_Desc" xml:space="preserve">
<value>ページ ファイルのサイズと現在の使用量を表示します。</value>
</data>
<data name="Cmd_info.localusers_Title" xml:space="preserve">
<value>ローカル ユーザー アカウント</value>
</data>
<data name="Cmd_info.localusers_Desc" xml:space="preserve">
<value>ローカル ユーザー アカウントと有効状態を一覧表示します。</value>
</data>
<data name="Cmd_info.timezone_Title" xml:space="preserve">
<value>時刻とタイム ゾーン</value>
</data>
<data name="Cmd_info.timezone_Desc" xml:space="preserve">
<value>現在のタイム ゾーンと時刻同期の状態を表示します。</value>
</data>
<data name="Cmd_info.osinstalldate_Title" xml:space="preserve">
<value>Windows のインストール日</value>
</data>
<data name="Cmd_info.osinstalldate_Desc" xml:space="preserve">
<value>Windows がいつインストールされ、何日前かを表示します。</value>
</data>
<data name="Cmd_net.publicdns_Title" xml:space="preserve">
<value>パブリック DNS 解決テスト</value>
</data>
<data name="Cmd_net.publicdns_Desc" xml:space="preserve">
<value>Google DNS 経由で既知のドメインを解決し、名前解決をテストします。</value>
</data>
<data name="Cmd_net.tcpconnections_Title" xml:space="preserve">
<value>アクティブな TCP 接続</value>
</data>
<data name="Cmd_net.tcpconnections_Desc" xml:space="preserve">
<value>確立された TCP 接続と所有プロセスを一覧表示します。</value>
</data>
<data name="Cmd_net.firewallprofiles_Title" xml:space="preserve">
<value>ファイアウォール プロファイル</value>
</data>
<data name="Cmd_net.firewallprofiles_Desc" xml:space="preserve">
<value>各ファイアウォール プロファイルと既定の動作を表示します。</value>
</data>
<data name="Cmd_net.netshares_Title" xml:space="preserve">
<value>共有フォルダー</value>
</data>
<data name="Cmd_net.netshares_Desc" xml:space="preserve">
<value>このコンピューターが公開している SMB 共有を一覧表示します。</value>
</data>
<data name="Cmd_net.hostsfile.show_Title" xml:space="preserve">
<value>hosts ファイルを表示</value>
</data>
<data name="Cmd_net.hostsfile.show_Desc" xml:space="preserve">
<value>Windows の hosts ファイルの内容を表示します。</value>
</data>
<data name="Cmd_net.netconnections.diag_Title" xml:space="preserve">
<value>ネットワーク接続</value>
</data>
<data name="Cmd_net.netconnections.diag_Desc" xml:space="preserve">
<value>ネットワーク接続のコントロール パネルを開きます。</value>
</data>
<data name="Cmd_diag.lastboottime_Title" xml:space="preserve">
<value>最近の起動とシャットダウン イベント</value>
</data>
<data name="Cmd_diag.lastboottime_Desc" xml:space="preserve">
<value>最近のシステム起動およびシャットダウン イベントを一覧表示します。</value>
</data>
<data name="Cmd_diag.bsod.recent_Title" xml:space="preserve">
<value>最近の予期しないシャットダウン</value>
</data>
<data name="Cmd_diag.bsod.recent_Desc" xml:space="preserve">
<value>最近の Kernel-Power (イベント 41) の予期しないシャットダウン イベントを一覧表示します。</value>
</data>
<data name="Cmd_diag.toperrors_Title" xml:space="preserve">
<value>最近のシステム エラー</value>
</data>
<data name="Cmd_diag.toperrors_Desc" xml:space="preserve">
<value>システム ログから最近の重大およびエラー項目を一覧表示します。</value>
</data>
<data name="Cmd_diag.printmgmt_Title" xml:space="preserve">
<value>印刷の管理</value>
</data>
<data name="Cmd_diag.printmgmt_Desc" xml:space="preserve">
<value>印刷の管理コンソールを開きます。</value>
</data>
<data name="Cmd_diag.certmgr_Title" xml:space="preserve">
<value>証明書マネージャー</value>
</data>
<data name="Cmd_diag.certmgr_Desc" xml:space="preserve">
<value>現在のユーザーの証明書マネージャーを開きます。</value>
</data>
<data name="Cmd_storage.diskusage_Title" xml:space="preserve">
<value>ドライブ使用状況の概要</value>
</data>
<data name="Cmd_storage.diskusage_Desc" xml:space="preserve">
<value>各ファイル システム ドライブの使用済みと空き容量を表示します。</value>
</data>
<data name="Cmd_storage.smart.status_Title" xml:space="preserve">
<value>ディスクの SMART 状態</value>
</data>
<data name="Cmd_storage.smart.status_Desc" xml:space="preserve">
<value>各ディスクの SMART 障害予測状態を表示します。</value>
</data>
<data name="Cat_services-startup" xml:space="preserve">
<value>サービスとスタートアップ</value>
</data>
<data name="Cmd_storage.largefiles.temp_Title" xml:space="preserve">
<value>最大の一時ファイル</value>
</data>
<data name="Cmd_storage.largefiles.temp_Desc" xml:space="preserve">
<value>一時フォルダー内の最大のファイルを一覧表示します。</value>
</data>
<data name="Cmd_storage.partition.list_Title" xml:space="preserve">
<value>パーティションの一覧</value>
</data>
<data name="Cmd_storage.partition.list_Desc" xml:space="preserve">
<value>すべてのディスク パーティションとそのサイズを一覧表示します。</value>
</data>
<data name="Cmd_storage.fragmentation.analyze_Title" xml:space="preserve">
<value>断片化の分析</value>
</data>
<data name="Cmd_storage.fragmentation.analyze_Desc" xml:space="preserve">
<value>変更を加えずに C: ドライブの断片化を分析します。</value>
</data>
<data name="Cmd_storage.cleanmgr.settings_Title" xml:space="preserve">
<value>ディスク クリーンアップの構成</value>
</data>
<data name="Cmd_storage.cleanmgr.settings_Desc" xml:space="preserve">
<value>ディスク クリーンアップの設定を開き、クリーンアップ対象を選択します。</value>
</data>
<data name="Cmd_storage.diskpart.list_Title" xml:space="preserve">
<value>ディスクとボリュームの一覧</value>
</data>
<data name="Cmd_storage.diskpart.list_Desc" xml:space="preserve">
<value>DiskPart を使用してディスクとボリュームを一覧表示します (読み取り専用)。</value>
</data>
<data name="Cmd_svc.spooler.restart_Title" xml:space="preserve">
<value>Print Spooler を再起動</value>
</data>
<data name="Cmd_svc.spooler.restart_Desc" xml:space="preserve">
<value>Print Spooler サービスを再起動して、詰まった印刷ジョブをクリアします。</value>
</data>
<data name="Cmd_svc.audio.restart_Title" xml:space="preserve">
<value>オーディオ サービスを再起動</value>
</data>
<data name="Cmd_svc.audio.restart_Desc" xml:space="preserve">
<value>Windows Audio サービスを再起動して音声の問題を解決します。</value>
</data>
<data name="Cmd_svc.wuauserv.restart_Title" xml:space="preserve">
<value>Windows Update サービスを再起動</value>
</data>
<data name="Cmd_svc.wuauserv.restart_Desc" xml:space="preserve">
<value>Windows Update サービスを再起動します。</value>
</data>
<data name="Cmd_svc.bits.restart_Title" xml:space="preserve">
<value>BITS を再起動</value>
</data>
<data name="Cmd_svc.bits.restart_Desc" xml:space="preserve">
<value>バックグラウンド インテリジェント転送サービスを再起動します。</value>
</data>
<data name="Cmd_svc.list.running_Title" xml:space="preserve">
<value>実行中のサービスを一覧表示</value>
</data>
<data name="Cmd_svc.list.running_Desc" xml:space="preserve">
<value>現在実行中のすべてのサービスを一覧表示します。</value>
</data>
<data name="Cmd_svc.list.automatic_Title" xml:space="preserve">
<value>自動サービスを一覧表示</value>
</data>
<data name="Cmd_svc.list.automatic_Desc" xml:space="preserve">
<value>自動的に開始するよう設定されたサービスとその状態を一覧表示します。</value>
</data>
<data name="Cmd_startup.apps.settings_Title" xml:space="preserve">
<value>スタートアップ アプリ</value>
</data>
<data name="Cmd_startup.apps.settings_Desc" xml:space="preserve">
<value>スタートアップ アプリの設定ページを開きます。</value>
</data>
<data name="Cmd_startup.folder.open_Title" xml:space="preserve">
<value>スタートアップ フォルダーを開く</value>
</data>
<data name="Cmd_startup.folder.open_Desc" xml:space="preserve">
<value>現在のユーザーのスタートアップ フォルダーを開きます。</value>
</data>
<data name="Cmd_clean.iconcache_Title" xml:space="preserve">
<value>アイコン キャッシュ ファイルをクリア</value>
</data>
<data name="Cmd_clean.iconcache_Desc" xml:space="preserve">
<value>Explorer のアイコン キャッシュを削除して再構築させます。</value>
</data>
<data name="Cmd_clean.recentfiles_Title" xml:space="preserve">
<value>最近使った項目をクリア</value>
</data>
<data name="Cmd_clean.recentfiles_Desc" xml:space="preserve">
<value>最近開いたファイルとフォルダーの一覧を削除します。</value>
</data>
<data name="Cmd_clean.eventlogs_Title" xml:space="preserve">
<value>イベント ログをクリア</value>
</data>
<data name="Cmd_clean.eventlogs_Desc" xml:space="preserve">
<value>アプリケーションとシステムのイベント ログをクリアします。</value>
</data>
<data name="Cmd_power.set.powersaver_Title" xml:space="preserve">
<value>省電力プラン</value>
</data>
<data name="Cmd_power.set.powersaver_Desc" xml:space="preserve">
<value>省電力の電源プランに切り替えます。</value>
</data>
<data name="Cmd_power.hibernate.now_Title" xml:space="preserve">
<value>今すぐ休止状態</value>
</data>
<data name="Cmd_power.hibernate.now_Desc" xml:space="preserve">
<value>コンピューターをすぐに休止状態にします。</value>
</data>
<data name="Cmd_chkdsk.scan.online_Title" xml:space="preserve">
<value>オンライン ディスク スキャン</value>
</data>
<data name="Cmd_chkdsk.scan.online_Desc" xml:space="preserve">
<value>マウント解除せずに C: ドライブのエラーをオンラインでスキャンします。</value>
</data>
<data name="Cmd_sfc.verifyonly_Title" xml:space="preserve">
<value>システム ファイルの検証</value>
</data>
<data name="Cmd_sfc.verifyonly_Desc" xml:space="preserve">
<value>修復せずに保護されたシステム ファイルの破損を確認します。</value>
</data>
<data name="Cmd_sec.defender.history_Title" xml:space="preserve">
<value>Defender の脅威履歴</value>
</data>
<data name="Cmd_sec.defender.history_Desc" xml:space="preserve">
<value>Microsoft Defender の最近の脅威検出を表示します。</value>
</data>
<data name="Cmd_sec.defender.exclusions_Title" xml:space="preserve">
<value>Defender の除外</value>
</data>
<data name="Cmd_sec.defender.exclusions_Desc" xml:space="preserve">
<value>Defender から除外されたパス、拡張子、プロセスを一覧表示します。</value>
</data>
<data name="Cmd_sec.bitlocker.detail_Title" xml:space="preserve">
<value>BitLocker ボリュームの詳細</value>
</data>
<data name="Cmd_sec.bitlocker.detail_Desc" xml:space="preserve">
<value>各ボリュームの暗号化状態と進行状況を表示します。</value>
</data>
<data name="Cmd_sec.firewall.reset_Title" xml:space="preserve">
<value>ファイアウォールを既定値にリセット</value>
</data>
<data name="Cmd_sec.firewall.reset_Desc" xml:space="preserve">
<value>すべての Windows ファイアウォール規則を既定のポリシーにリセットします。</value>
</data>
<data name="Cmd_sec.defender.signatures.remove_Title" xml:space="preserve">
<value>動的シグネチャを削除</value>
</data>
<data name="Cmd_sec.defender.signatures.remove_Desc" xml:space="preserve">
<value>破損した更新を修正するために Defender の動的定義を削除します。</value>
</data>
<data name="Cmd_sec.windowssecurity.open_Title" xml:space="preserve">
<value>Windows セキュリティを開く</value>
</data>
<data name="Cmd_sec.windowssecurity.open_Desc" xml:space="preserve">
<value>Windows セキュリティ アプリを開きます。</value>
</data>
<data name="Cmd_wu.history_Title" xml:space="preserve">
<value>更新履歴</value>
</data>
<data name="Cmd_wu.history_Desc" xml:space="preserve">
<value>最近インストールされた Windows 更新プログラムを一覧表示します。</value>
</data>
<data name="Cmd_wu.pause_Title" xml:space="preserve">
<value>Windows Update の設定</value>
</data>
<data name="Cmd_wu.pause_Desc" xml:space="preserve">
<value>Windows Update の設定ページを開きます。</value>
</data>
<data name="Cmd_winget.upgrade.winget_Title" xml:space="preserve">
<value>アプリ インストーラーを更新</value>
</data>
<data name="Cmd_winget.upgrade.winget_Desc" xml:space="preserve">
<value>winget アプリ インストーラーを最新バージョンに更新します。</value>
</data>
<data name="Cmd_winget.export.list_Title" xml:space="preserve">
<value>インストール済みパッケージをエクスポート</value>
</data>
<data name="Cmd_winget.export.list_Desc" xml:space="preserve">
<value>winget のパッケージ一覧を JSON ファイルにエクスポートします。</value>
</data>
<data name="Cmd_wu.driver.list_Title" xml:space="preserve">
<value>サードパーティ製ドライバー</value>
</data>
<data name="Cmd_wu.driver.list_Desc" xml:space="preserve">
<value>システムにインストールされた非インボックス ドライバーを一覧表示します。</value>
</data>
<data name="Cmd_store.troubleshoot_Title" xml:space="preserve">
<value>トラブルシューティング ツール</value>
</data>
<data name="Cmd_store.troubleshoot_Desc" xml:space="preserve">
<value>Windows のトラブルシューティング設定ページを開きます。</value>
</data>
<data name="Cmd_tweak.taskbarsearch.hide_Title" xml:space="preserve">
<value>タスクバーの検索を非表示</value>
</data>
<data name="Cmd_tweak.taskbarsearch.hide_Desc" xml:space="preserve">
<value>タスクバーから検索ボックスを非表示にします。</value>
</data>
<data name="Cmd_tweak.taskbarsearch.show_Title" xml:space="preserve">
<value>タスクバーの検索を表示</value>
</data>
<data name="Cmd_tweak.taskbarsearch.show_Desc" xml:space="preserve">
<value>タスクバーに検索ボックスを表示します。</value>
</data>
<data name="Cmd_tweak.transparency.off_Title" xml:space="preserve">
<value>透明効果を無効化</value>
</data>
<data name="Cmd_tweak.transparency.off_Desc" xml:space="preserve">
<value>ウィンドウの透明効果をオフにします。</value>
</data>
<data name="Cmd_tweak.transparency.on_Title" xml:space="preserve">
<value>透明効果を有効化</value>
</data>
<data name="Cmd_tweak.transparency.on_Desc" xml:space="preserve">
<value>ウィンドウの透明効果をオンにします。</value>
</data>
<data name="Cmd_tweak.snapassist.off_Title" xml:space="preserve">
<value>スナップ アシストを無効化</value>
</data>
<data name="Cmd_tweak.snapassist.off_Desc" xml:space="preserve">
<value>ウィンドウをスナップするときの提案を停止します。</value>
</data>
<data name="Cmd_tweak.snapassist.on_Title" xml:space="preserve">
<value>スナップ アシストを有効化</value>
</data>
<data name="Cmd_tweak.snapassist.on_Desc" xml:space="preserve">
<value>ウィンドウをスナップするときに提案を表示します。</value>
</data>
<data name="Cmd_dev.telnet.on_Title" xml:space="preserve">
<value>Telnet クライアントを有効化</value>
</data>
<data name="Cmd_dev.telnet.on_Desc" xml:space="preserve">
<value>Windows の Telnet クライアント機能をインストールします。</value>
</data>
<data name="Cmd_dev.telnet.off_Title" xml:space="preserve">
<value>Telnet クライアントを無効化</value>
</data>
<data name="Cmd_dev.telnet.off_Desc" xml:space="preserve">
<value>Windows の Telnet クライアント機能を削除します。</value>
</data>
</root>
+516
View File
@@ -1565,4 +1565,520 @@ Continue?</value>
<data name="Cmd_dev.longpaths.off_Desc" xml:space="preserve">
<value>Disable Win32 long path support (back to the default).</value>
</data>
<data name="Cat_storage" xml:space="preserve">
<value>Storage</value>
</data>
<data name="Cmd_info.tpm_Title" xml:space="preserve">
<value>TPM Status</value>
</data>
<data name="Cmd_info.tpm_Desc" xml:space="preserve">
<value>Show Trusted Platform Module presence, version, and readiness.</value>
</data>
<data name="Cmd_info.secureboot_Title" xml:space="preserve">
<value>Secure Boot State</value>
</data>
<data name="Cmd_info.secureboot_Desc" xml:space="preserve">
<value>Report whether UEFI Secure Boot is enabled.</value>
</data>
<data name="Cmd_info.product_Title" xml:space="preserve">
<value>Computer &amp; OS Summary</value>
</data>
<data name="Cmd_info.product_Desc" xml:space="preserve">
<value>Show manufacturer, model, OS edition, and install date.</value>
</data>
<data name="Cmd_net.adapters_Title" xml:space="preserve">
<value>Network Adapters</value>
</data>
<data name="Cmd_net.adapters_Desc" xml:space="preserve">
<value>List network adapters with their status and link speed.</value>
</data>
<data name="Cmd_net.dnsservers_Title" xml:space="preserve">
<value>DNS Servers</value>
</data>
<data name="Cmd_net.dnsservers_Desc" xml:space="preserve">
<value>List the configured DNS server addresses for each adapter.</value>
</data>
<data name="Cmd_net.testconnection_Title" xml:space="preserve">
<value>Test Internet Connection</value>
</data>
<data name="Cmd_net.testconnection_Desc" xml:space="preserve">
<value>Ping a public host to check internet connectivity.</value>
</data>
<data name="Cmd_diag.startup_Title" xml:space="preserve">
<value>Startup Programs</value>
</data>
<data name="Cmd_diag.startup_Desc" xml:space="preserve">
<value>List the programs configured to run at sign-in.</value>
</data>
<data name="Cmd_diag.driververifier_Title" xml:space="preserve">
<value>Driver Verifier Manager</value>
</data>
<data name="Cmd_diag.driververifier_Desc" xml:space="preserve">
<value>Open Driver Verifier to stress-test device drivers (advanced).</value>
</data>
<data name="Cmd_diag.perfmon_Title" xml:space="preserve">
<value>Performance Monitor</value>
</data>
<data name="Cmd_diag.perfmon_Desc" xml:space="preserve">
<value>Open the full Performance Monitor console.</value>
</data>
<data name="Cmd_diag.systemhealth_Title" xml:space="preserve">
<value>System Health Report</value>
</data>
<data name="Cmd_diag.systemhealth_Desc" xml:space="preserve">
<value>Generate a system diagnostics report (takes about a minute).</value>
</data>
<data name="Cmd_clean.dumps_Title" xml:space="preserve">
<value>Clear Crash Dumps</value>
</data>
<data name="Cmd_clean.dumps_Desc" xml:space="preserve">
<value>Delete saved memory dump and minidump files.</value>
</data>
<data name="Cmd_clean.errorreports_Title" xml:space="preserve">
<value>Clear Error Reporting Data</value>
</data>
<data name="Cmd_clean.errorreports_Desc" xml:space="preserve">
<value>Delete queued Windows Error Reporting files.</value>
</data>
<data name="Cmd_clean.dnsarp_Title" xml:space="preserve">
<value>Clear DNS &amp; ARP Caches</value>
</data>
<data name="Cmd_clean.dnsarp_Desc" xml:space="preserve">
<value>Flush the DNS resolver cache and the ARP table.</value>
</data>
<data name="Cmd_power.lidclose.donothing_Title" xml:space="preserve">
<value>Lid Close: Do Nothing (Plugged In)</value>
</data>
<data name="Cmd_power.lidclose.donothing_Desc" xml:space="preserve">
<value>Keep the laptop awake when the lid is closed on AC power.</value>
</data>
<data name="Cmd_power.lidclose.sleep_Title" xml:space="preserve">
<value>Lid Close: Sleep (Plugged In)</value>
</data>
<data name="Cmd_power.lidclose.sleep_Desc" xml:space="preserve">
<value>Put the laptop to sleep when the lid is closed on AC power.</value>
</data>
<data name="Cmd_power.monitor.timeout15_Title" xml:space="preserve">
<value>Screen Off After 15 Minutes</value>
</data>
<data name="Cmd_power.monitor.timeout15_Desc" xml:space="preserve">
<value>Turn off the display after 15 minutes on AC power.</value>
</data>
<data name="Cmd_power.monitor.timeout10_Title" xml:space="preserve">
<value>Screen Off After 10 Minutes</value>
</data>
<data name="Cmd_power.monitor.timeout10_Desc" xml:space="preserve">
<value>Turn off the display after 10 minutes on AC power (default).</value>
</data>
<data name="Cmd_tweak.numlock.on_Title" xml:space="preserve">
<value>NumLock On at Startup</value>
</data>
<data name="Cmd_tweak.numlock.on_Desc" xml:space="preserve">
<value>Enable NumLock at boot and on the sign-in screen.</value>
</data>
<data name="Cmd_tweak.numlock.off_Title" xml:space="preserve">
<value>NumLock Off at Startup</value>
</data>
<data name="Cmd_tweak.numlock.off_Desc" xml:space="preserve">
<value>Disable NumLock at boot and on the sign-in screen.</value>
</data>
<data name="Cmd_tweak.verbosestatus.on_Title" xml:space="preserve">
<value>Verbose Sign-in Messages On</value>
</data>
<data name="Cmd_tweak.verbosestatus.on_Desc" xml:space="preserve">
<value>Show detailed status messages during startup and shutdown.</value>
</data>
<data name="Cmd_tweak.verbosestatus.off_Title" xml:space="preserve">
<value>Verbose Sign-in Messages Off</value>
</data>
<data name="Cmd_tweak.verbosestatus.off_Desc" xml:space="preserve">
<value>Restore the normal startup and shutdown messages.</value>
</data>
<data name="Cmd_storage.optimize_Title" xml:space="preserve">
<value>Optimize / Defragment C:</value>
</data>
<data name="Cmd_storage.optimize_Desc" xml:space="preserve">
<value>Optimize the C: drive (TRIM for SSDs, defragment for HDDs).</value>
</data>
<data name="Cmd_storage.diskmgmt_Title" xml:space="preserve">
<value>Disk Management</value>
</data>
<data name="Cmd_storage.diskmgmt_Desc" xml:space="preserve">
<value>Open the Disk Management console.</value>
</data>
<data name="Cmd_storage.volumes_Title" xml:space="preserve">
<value>List Volumes &amp; Free Space</value>
</data>
<data name="Cmd_storage.volumes_Desc" xml:space="preserve">
<value>Show volumes with their file system and free space.</value>
</data>
<data name="Cmd_storage.storagesense_Title" xml:space="preserve">
<value>Open Storage Settings</value>
</data>
<data name="Cmd_storage.storagesense_Desc" xml:space="preserve">
<value>Open Windows Storage settings to manage Storage Sense.</value>
</data>
<data name="Cmd_info.battery.health_Title" xml:space="preserve">
<value>Battery health</value>
</data>
<data name="Cmd_info.battery.health_Desc" xml:space="preserve">
<value>Show the battery's designed versus full-charge capacity.</value>
</data>
<data name="Cmd_info.netadapter.speed_Title" xml:space="preserve">
<value>Network adapter speed</value>
</data>
<data name="Cmd_info.netadapter.speed_Desc" xml:space="preserve">
<value>List active network adapters with their link speed and MAC address.</value>
</data>
<data name="Cmd_info.diskhealth_Title" xml:space="preserve">
<value>Disk health</value>
</data>
<data name="Cmd_info.diskhealth_Desc" xml:space="preserve">
<value>Show each physical disk's health and operational status.</value>
</data>
<data name="Cmd_info.pagefile_Title" xml:space="preserve">
<value>Page file usage</value>
</data>
<data name="Cmd_info.pagefile_Desc" xml:space="preserve">
<value>Show the page file size and current usage.</value>
</data>
<data name="Cmd_info.localusers_Title" xml:space="preserve">
<value>Local user accounts</value>
</data>
<data name="Cmd_info.localusers_Desc" xml:space="preserve">
<value>List the local user accounts and whether they are enabled.</value>
</data>
<data name="Cmd_info.timezone_Title" xml:space="preserve">
<value>Time &amp; time zone</value>
</data>
<data name="Cmd_info.timezone_Desc" xml:space="preserve">
<value>Show the current time zone and time-synchronization status.</value>
</data>
<data name="Cmd_info.osinstalldate_Title" xml:space="preserve">
<value>Windows install date</value>
</data>
<data name="Cmd_info.osinstalldate_Desc" xml:space="preserve">
<value>Show when Windows was installed and how many days ago.</value>
</data>
<data name="Cmd_net.publicdns_Title" xml:space="preserve">
<value>Public DNS lookup test</value>
</data>
<data name="Cmd_net.publicdns_Desc" xml:space="preserve">
<value>Resolve a well-known domain through Google DNS to test name resolution.</value>
</data>
<data name="Cmd_net.tcpconnections_Title" xml:space="preserve">
<value>Active TCP connections</value>
</data>
<data name="Cmd_net.tcpconnections_Desc" xml:space="preserve">
<value>List established TCP connections and their owning process.</value>
</data>
<data name="Cmd_net.firewallprofiles_Title" xml:space="preserve">
<value>Firewall profiles</value>
</data>
<data name="Cmd_net.firewallprofiles_Desc" xml:space="preserve">
<value>Show each firewall profile and its default actions.</value>
</data>
<data name="Cmd_net.netshares_Title" xml:space="preserve">
<value>Shared folders</value>
</data>
<data name="Cmd_net.netshares_Desc" xml:space="preserve">
<value>List the SMB shares published by this computer.</value>
</data>
<data name="Cmd_net.hostsfile.show_Title" xml:space="preserve">
<value>Show hosts file</value>
</data>
<data name="Cmd_net.hostsfile.show_Desc" xml:space="preserve">
<value>Display the contents of the Windows hosts file.</value>
</data>
<data name="Cmd_net.netconnections.diag_Title" xml:space="preserve">
<value>Network connections</value>
</data>
<data name="Cmd_net.netconnections.diag_Desc" xml:space="preserve">
<value>Open the Network Connections control panel.</value>
</data>
<data name="Cmd_diag.lastboottime_Title" xml:space="preserve">
<value>Recent boot &amp; shutdown events</value>
</data>
<data name="Cmd_diag.lastboottime_Desc" xml:space="preserve">
<value>List the most recent system boot and shutdown events.</value>
</data>
<data name="Cmd_diag.bsod.recent_Title" xml:space="preserve">
<value>Recent unexpected shutdowns</value>
</data>
<data name="Cmd_diag.bsod.recent_Desc" xml:space="preserve">
<value>List recent Kernel-Power (event 41) unexpected-shutdown events.</value>
</data>
<data name="Cmd_diag.toperrors_Title" xml:space="preserve">
<value>Recent system errors</value>
</data>
<data name="Cmd_diag.toperrors_Desc" xml:space="preserve">
<value>List recent critical and error entries from the System log.</value>
</data>
<data name="Cmd_diag.printmgmt_Title" xml:space="preserve">
<value>Print Management</value>
</data>
<data name="Cmd_diag.printmgmt_Desc" xml:space="preserve">
<value>Open the Print Management console.</value>
</data>
<data name="Cmd_diag.certmgr_Title" xml:space="preserve">
<value>Certificate Manager</value>
</data>
<data name="Cmd_diag.certmgr_Desc" xml:space="preserve">
<value>Open the current-user Certificate Manager.</value>
</data>
<data name="Cmd_storage.diskusage_Title" xml:space="preserve">
<value>Drive usage summary</value>
</data>
<data name="Cmd_storage.diskusage_Desc" xml:space="preserve">
<value>Show used and free space for each file-system drive.</value>
</data>
<data name="Cmd_storage.smart.status_Title" xml:space="preserve">
<value>Disk SMART status</value>
</data>
<data name="Cmd_storage.smart.status_Desc" xml:space="preserve">
<value>Show each disk's SMART failure-prediction status.</value>
</data>
<data name="Cat_services-startup" xml:space="preserve">
<value>Services &amp; Startup</value>
</data>
<data name="Cmd_storage.largefiles.temp_Title" xml:space="preserve">
<value>Largest temp files</value>
</data>
<data name="Cmd_storage.largefiles.temp_Desc" xml:space="preserve">
<value>List the largest files in the temporary folder.</value>
</data>
<data name="Cmd_storage.partition.list_Title" xml:space="preserve">
<value>List partitions</value>
</data>
<data name="Cmd_storage.partition.list_Desc" xml:space="preserve">
<value>List all disk partitions and their sizes.</value>
</data>
<data name="Cmd_storage.fragmentation.analyze_Title" xml:space="preserve">
<value>Analyze fragmentation</value>
</data>
<data name="Cmd_storage.fragmentation.analyze_Desc" xml:space="preserve">
<value>Analyze the C: drive for fragmentation without changing it.</value>
</data>
<data name="Cmd_storage.cleanmgr.settings_Title" xml:space="preserve">
<value>Configure Disk Cleanup</value>
</data>
<data name="Cmd_storage.cleanmgr.settings_Desc" xml:space="preserve">
<value>Open Disk Cleanup's settings to choose what to clean.</value>
</data>
<data name="Cmd_storage.diskpart.list_Title" xml:space="preserve">
<value>List disks &amp; volumes</value>
</data>
<data name="Cmd_storage.diskpart.list_Desc" xml:space="preserve">
<value>List disks and volumes using DiskPart (read-only).</value>
</data>
<data name="Cmd_svc.spooler.restart_Title" xml:space="preserve">
<value>Restart Print Spooler</value>
</data>
<data name="Cmd_svc.spooler.restart_Desc" xml:space="preserve">
<value>Restart the Print Spooler service to clear stuck print jobs.</value>
</data>
<data name="Cmd_svc.audio.restart_Title" xml:space="preserve">
<value>Restart audio service</value>
</data>
<data name="Cmd_svc.audio.restart_Desc" xml:space="preserve">
<value>Restart the Windows Audio service to fix sound problems.</value>
</data>
<data name="Cmd_svc.wuauserv.restart_Title" xml:space="preserve">
<value>Restart Windows Update service</value>
</data>
<data name="Cmd_svc.wuauserv.restart_Desc" xml:space="preserve">
<value>Restart the Windows Update service.</value>
</data>
<data name="Cmd_svc.bits.restart_Title" xml:space="preserve">
<value>Restart BITS</value>
</data>
<data name="Cmd_svc.bits.restart_Desc" xml:space="preserve">
<value>Restart the Background Intelligent Transfer Service.</value>
</data>
<data name="Cmd_svc.list.running_Title" xml:space="preserve">
<value>List running services</value>
</data>
<data name="Cmd_svc.list.running_Desc" xml:space="preserve">
<value>List all services that are currently running.</value>
</data>
<data name="Cmd_svc.list.automatic_Title" xml:space="preserve">
<value>List automatic services</value>
</data>
<data name="Cmd_svc.list.automatic_Desc" xml:space="preserve">
<value>List services set to start automatically and their state.</value>
</data>
<data name="Cmd_startup.apps.settings_Title" xml:space="preserve">
<value>Startup apps</value>
</data>
<data name="Cmd_startup.apps.settings_Desc" xml:space="preserve">
<value>Open the Startup apps settings page.</value>
</data>
<data name="Cmd_startup.folder.open_Title" xml:space="preserve">
<value>Open Startup folder</value>
</data>
<data name="Cmd_startup.folder.open_Desc" xml:space="preserve">
<value>Open the current user's Startup folder.</value>
</data>
<data name="Cmd_clean.iconcache_Title" xml:space="preserve">
<value>Clear icon cache files</value>
</data>
<data name="Cmd_clean.iconcache_Desc" xml:space="preserve">
<value>Delete the Explorer icon cache so it rebuilds.</value>
</data>
<data name="Cmd_clean.recentfiles_Title" xml:space="preserve">
<value>Clear recent items</value>
</data>
<data name="Cmd_clean.recentfiles_Desc" xml:space="preserve">
<value>Remove the list of recently opened files and folders.</value>
</data>
<data name="Cmd_clean.eventlogs_Title" xml:space="preserve">
<value>Clear event logs</value>
</data>
<data name="Cmd_clean.eventlogs_Desc" xml:space="preserve">
<value>Clear the Application and System event logs.</value>
</data>
<data name="Cmd_power.set.powersaver_Title" xml:space="preserve">
<value>Power Saver plan</value>
</data>
<data name="Cmd_power.set.powersaver_Desc" xml:space="preserve">
<value>Switch to the Power Saver power plan.</value>
</data>
<data name="Cmd_power.hibernate.now_Title" xml:space="preserve">
<value>Hibernate now</value>
</data>
<data name="Cmd_power.hibernate.now_Desc" xml:space="preserve">
<value>Put the computer into hibernation immediately.</value>
</data>
<data name="Cmd_chkdsk.scan.online_Title" xml:space="preserve">
<value>Online disk scan</value>
</data>
<data name="Cmd_chkdsk.scan.online_Desc" xml:space="preserve">
<value>Scan the C: drive for errors online without unmounting.</value>
</data>
<data name="Cmd_sfc.verifyonly_Title" xml:space="preserve">
<value>Verify system files</value>
</data>
<data name="Cmd_sfc.verifyonly_Desc" xml:space="preserve">
<value>Check protected system files for corruption without repairing.</value>
</data>
<data name="Cmd_sec.defender.history_Title" xml:space="preserve">
<value>Defender threat history</value>
</data>
<data name="Cmd_sec.defender.history_Desc" xml:space="preserve">
<value>Show recent Microsoft Defender threat detections.</value>
</data>
<data name="Cmd_sec.defender.exclusions_Title" xml:space="preserve">
<value>Defender exclusions</value>
</data>
<data name="Cmd_sec.defender.exclusions_Desc" xml:space="preserve">
<value>List the paths, extensions and processes excluded from Defender.</value>
</data>
<data name="Cmd_sec.bitlocker.detail_Title" xml:space="preserve">
<value>BitLocker volume details</value>
</data>
<data name="Cmd_sec.bitlocker.detail_Desc" xml:space="preserve">
<value>Show encryption status and progress for each volume.</value>
</data>
<data name="Cmd_sec.firewall.reset_Title" xml:space="preserve">
<value>Reset firewall to defaults</value>
</data>
<data name="Cmd_sec.firewall.reset_Desc" xml:space="preserve">
<value>Reset all Windows Firewall rules to their default policy.</value>
</data>
<data name="Cmd_sec.defender.signatures.remove_Title" xml:space="preserve">
<value>Remove dynamic signatures</value>
</data>
<data name="Cmd_sec.defender.signatures.remove_Desc" xml:space="preserve">
<value>Remove Defender's dynamic definitions to fix corrupt updates.</value>
</data>
<data name="Cmd_sec.windowssecurity.open_Title" xml:space="preserve">
<value>Open Windows Security</value>
</data>
<data name="Cmd_sec.windowssecurity.open_Desc" xml:space="preserve">
<value>Open the Windows Security app.</value>
</data>
<data name="Cmd_wu.history_Title" xml:space="preserve">
<value>Update history</value>
</data>
<data name="Cmd_wu.history_Desc" xml:space="preserve">
<value>List the most recently installed Windows updates.</value>
</data>
<data name="Cmd_wu.pause_Title" xml:space="preserve">
<value>Windows Update settings</value>
</data>
<data name="Cmd_wu.pause_Desc" xml:space="preserve">
<value>Open the Windows Update settings page.</value>
</data>
<data name="Cmd_winget.upgrade.winget_Title" xml:space="preserve">
<value>Update App Installer</value>
</data>
<data name="Cmd_winget.upgrade.winget_Desc" xml:space="preserve">
<value>Update the winget App Installer to the latest version.</value>
</data>
<data name="Cmd_winget.export.list_Title" xml:space="preserve">
<value>Export installed packages</value>
</data>
<data name="Cmd_winget.export.list_Desc" xml:space="preserve">
<value>Export the winget package list to a JSON file.</value>
</data>
<data name="Cmd_wu.driver.list_Title" xml:space="preserve">
<value>Third-party drivers</value>
</data>
<data name="Cmd_wu.driver.list_Desc" xml:space="preserve">
<value>List non-inbox drivers installed on the system.</value>
</data>
<data name="Cmd_store.troubleshoot_Title" xml:space="preserve">
<value>Troubleshooters</value>
</data>
<data name="Cmd_store.troubleshoot_Desc" xml:space="preserve">
<value>Open the Windows troubleshooters settings page.</value>
</data>
<data name="Cmd_tweak.taskbarsearch.hide_Title" xml:space="preserve">
<value>Hide taskbar search</value>
</data>
<data name="Cmd_tweak.taskbarsearch.hide_Desc" xml:space="preserve">
<value>Hide the search box from the taskbar.</value>
</data>
<data name="Cmd_tweak.taskbarsearch.show_Title" xml:space="preserve">
<value>Show taskbar search</value>
</data>
<data name="Cmd_tweak.taskbarsearch.show_Desc" xml:space="preserve">
<value>Show the search box on the taskbar.</value>
</data>
<data name="Cmd_tweak.transparency.off_Title" xml:space="preserve">
<value>Disable transparency</value>
</data>
<data name="Cmd_tweak.transparency.off_Desc" xml:space="preserve">
<value>Turn off window transparency effects.</value>
</data>
<data name="Cmd_tweak.transparency.on_Title" xml:space="preserve">
<value>Enable transparency</value>
</data>
<data name="Cmd_tweak.transparency.on_Desc" xml:space="preserve">
<value>Turn on window transparency effects.</value>
</data>
<data name="Cmd_tweak.snapassist.off_Title" xml:space="preserve">
<value>Disable Snap assist</value>
</data>
<data name="Cmd_tweak.snapassist.off_Desc" xml:space="preserve">
<value>Stop Windows from suggesting windows when snapping.</value>
</data>
<data name="Cmd_tweak.snapassist.on_Title" xml:space="preserve">
<value>Enable Snap assist</value>
</data>
<data name="Cmd_tweak.snapassist.on_Desc" xml:space="preserve">
<value>Let Windows suggest windows when snapping.</value>
</data>
<data name="Cmd_dev.telnet.on_Title" xml:space="preserve">
<value>Enable Telnet client</value>
</data>
<data name="Cmd_dev.telnet.on_Desc" xml:space="preserve">
<value>Install the Windows Telnet client feature.</value>
</data>
<data name="Cmd_dev.telnet.off_Title" xml:space="preserve">
<value>Disable Telnet client</value>
</data>
<data name="Cmd_dev.telnet.off_Desc" xml:space="preserve">
<value>Remove the Windows Telnet client feature.</value>
</data>
</root>
@@ -1565,4 +1565,520 @@ Tiếp tục?</value>
<data name="Cmd_dev.longpaths.off_Desc" xml:space="preserve">
<value>Tắt hỗ trợ đường dẫn dài Win32 (về mặc định).</value>
</data>
<data name="Cat_storage" xml:space="preserve">
<value>Lưu trữ</value>
</data>
<data name="Cmd_info.tpm_Title" xml:space="preserve">
<value>Trạng thái TPM</value>
</data>
<data name="Cmd_info.tpm_Desc" xml:space="preserve">
<value>Hiển thị sự hiện diện, phiên bản và mức độ sẵn sàng của Trusted Platform Module (TPM).</value>
</data>
<data name="Cmd_info.secureboot_Title" xml:space="preserve">
<value>Trạng thái Secure Boot</value>
</data>
<data name="Cmd_info.secureboot_Desc" xml:space="preserve">
<value>Báo cáo Secure Boot của UEFI có được bật hay không.</value>
</data>
<data name="Cmd_info.product_Title" xml:space="preserve">
<value>Tóm tắt máy tính &amp; hệ điều hành</value>
</data>
<data name="Cmd_info.product_Desc" xml:space="preserve">
<value>Hiển thị nhà sản xuất, kiểu máy, phiên bản hệ điều hành và ngày cài đặt.</value>
</data>
<data name="Cmd_net.adapters_Title" xml:space="preserve">
<value>Bộ điều hợp mạng</value>
</data>
<data name="Cmd_net.adapters_Desc" xml:space="preserve">
<value>Liệt kê các bộ điều hợp mạng cùng trạng thái và tốc độ kết nối.</value>
</data>
<data name="Cmd_net.dnsservers_Title" xml:space="preserve">
<value>Máy chủ DNS</value>
</data>
<data name="Cmd_net.dnsservers_Desc" xml:space="preserve">
<value>Liệt kê các địa chỉ máy chủ DNS đã cấu hình cho từng bộ điều hợp.</value>
</data>
<data name="Cmd_net.testconnection_Title" xml:space="preserve">
<value>Kiểm tra kết nối Internet</value>
</data>
<data name="Cmd_net.testconnection_Desc" xml:space="preserve">
<value>Ping đến một máy chủ công cộng để kiểm tra kết nối Internet.</value>
</data>
<data name="Cmd_diag.startup_Title" xml:space="preserve">
<value>Chương trình khởi động</value>
</data>
<data name="Cmd_diag.startup_Desc" xml:space="preserve">
<value>Liệt kê các chương trình được cấu hình chạy khi đăng nhập.</value>
</data>
<data name="Cmd_diag.driververifier_Title" xml:space="preserve">
<value>Trình quản lý Driver Verifier</value>
</data>
<data name="Cmd_diag.driververifier_Desc" xml:space="preserve">
<value>Mở Driver Verifier để kiểm tra áp lực các driver thiết bị (nâng cao).</value>
</data>
<data name="Cmd_diag.perfmon_Title" xml:space="preserve">
<value>Performance Monitor</value>
</data>
<data name="Cmd_diag.perfmon_Desc" xml:space="preserve">
<value>Mở bảng điều khiển Performance Monitor đầy đủ.</value>
</data>
<data name="Cmd_diag.systemhealth_Title" xml:space="preserve">
<value>Báo cáo tình trạng hệ thống</value>
</data>
<data name="Cmd_diag.systemhealth_Desc" xml:space="preserve">
<value>Tạo báo cáo chẩn đoán hệ thống (mất khoảng một phút).</value>
</data>
<data name="Cmd_clean.dumps_Title" xml:space="preserve">
<value>Xóa tệp kết xuất sự cố</value>
</data>
<data name="Cmd_clean.dumps_Desc" xml:space="preserve">
<value>Xóa các tệp kết xuất bộ nhớ và minidump đã lưu.</value>
</data>
<data name="Cmd_clean.errorreports_Title" xml:space="preserve">
<value>Xóa dữ liệu báo cáo lỗi</value>
</data>
<data name="Cmd_clean.errorreports_Desc" xml:space="preserve">
<value>Xóa các tệp Windows Error Reporting đang xếp hàng.</value>
</data>
<data name="Cmd_clean.dnsarp_Title" xml:space="preserve">
<value>Xóa bộ nhớ đệm DNS &amp; ARP</value>
</data>
<data name="Cmd_clean.dnsarp_Desc" xml:space="preserve">
<value>Xóa bộ nhớ đệm phân giải DNS và bảng ARP.</value>
</data>
<data name="Cmd_power.lidclose.donothing_Title" xml:space="preserve">
<value>Đóng nắp: Không làm gì (Khi cắm sạc)</value>
</data>
<data name="Cmd_power.lidclose.donothing_Desc" xml:space="preserve">
<value>Giữ laptop hoạt động khi đóng nắp lúc dùng nguồn AC power.</value>
</data>
<data name="Cmd_power.lidclose.sleep_Title" xml:space="preserve">
<value>Đóng nắp: Ngủ (Khi cắm sạc)</value>
</data>
<data name="Cmd_power.lidclose.sleep_Desc" xml:space="preserve">
<value>Đưa laptop vào chế độ ngủ khi đóng nắp lúc dùng nguồn AC power.</value>
</data>
<data name="Cmd_power.monitor.timeout15_Title" xml:space="preserve">
<value>Tắt màn hình sau 15 phút</value>
</data>
<data name="Cmd_power.monitor.timeout15_Desc" xml:space="preserve">
<value>Tắt màn hình sau 15 phút khi dùng nguồn AC power.</value>
</data>
<data name="Cmd_power.monitor.timeout10_Title" xml:space="preserve">
<value>Tắt màn hình sau 10 phút</value>
</data>
<data name="Cmd_power.monitor.timeout10_Desc" xml:space="preserve">
<value>Tắt màn hình sau 10 phút khi dùng nguồn AC power (mặc định).</value>
</data>
<data name="Cmd_tweak.numlock.on_Title" xml:space="preserve">
<value>Bật NumLock khi khởi động</value>
</data>
<data name="Cmd_tweak.numlock.on_Desc" xml:space="preserve">
<value>Bật NumLock khi khởi động và tại màn hình đăng nhập.</value>
</data>
<data name="Cmd_tweak.numlock.off_Title" xml:space="preserve">
<value>Tắt NumLock khi khởi động</value>
</data>
<data name="Cmd_tweak.numlock.off_Desc" xml:space="preserve">
<value>Tắt NumLock khi khởi động và tại màn hình đăng nhập.</value>
</data>
<data name="Cmd_tweak.verbosestatus.on_Title" xml:space="preserve">
<value>Bật thông báo đăng nhập chi tiết</value>
</data>
<data name="Cmd_tweak.verbosestatus.on_Desc" xml:space="preserve">
<value>Hiển thị thông báo trạng thái chi tiết trong lúc khởi động và tắt máy.</value>
</data>
<data name="Cmd_tweak.verbosestatus.off_Title" xml:space="preserve">
<value>Tắt thông báo đăng nhập chi tiết</value>
</data>
<data name="Cmd_tweak.verbosestatus.off_Desc" xml:space="preserve">
<value>Khôi phục thông báo khởi động và tắt máy thông thường.</value>
</data>
<data name="Cmd_storage.optimize_Title" xml:space="preserve">
<value>Tối ưu / Chống phân mảnh ổ C:</value>
</data>
<data name="Cmd_storage.optimize_Desc" xml:space="preserve">
<value>Tối ưu ổ C: (TRIM cho SSD, chống phân mảnh cho HDD).</value>
</data>
<data name="Cmd_storage.diskmgmt_Title" xml:space="preserve">
<value>Disk Management</value>
</data>
<data name="Cmd_storage.diskmgmt_Desc" xml:space="preserve">
<value>Mở bảng điều khiển Disk Management.</value>
</data>
<data name="Cmd_storage.volumes_Title" xml:space="preserve">
<value>Liệt kê ổ đĩa &amp; dung lượng trống</value>
</data>
<data name="Cmd_storage.volumes_Desc" xml:space="preserve">
<value>Hiển thị các ổ đĩa cùng hệ thống tệp và dung lượng trống.</value>
</data>
<data name="Cmd_storage.storagesense_Title" xml:space="preserve">
<value>Mở cài đặt Lưu trữ</value>
</data>
<data name="Cmd_storage.storagesense_Desc" xml:space="preserve">
<value>Mở cài đặt Lưu trữ của Windows để quản lý Storage Sense.</value>
</data>
<data name="Cmd_info.battery.health_Title" xml:space="preserve">
<value>Tình trạng pin</value>
</data>
<data name="Cmd_info.battery.health_Desc" xml:space="preserve">
<value>Hiển thị dung lượng thiết kế so với dung lượng sạc đầy của pin.</value>
</data>
<data name="Cmd_info.netadapter.speed_Title" xml:space="preserve">
<value>Tốc độ card mạng</value>
</data>
<data name="Cmd_info.netadapter.speed_Desc" xml:space="preserve">
<value>Liệt kê các card mạng đang hoạt động cùng tốc độ liên kết và địa chỉ MAC.</value>
</data>
<data name="Cmd_info.diskhealth_Title" xml:space="preserve">
<value>Tình trạng ổ đĩa</value>
</data>
<data name="Cmd_info.diskhealth_Desc" xml:space="preserve">
<value>Hiển thị tình trạng và trạng thái hoạt động của từng ổ đĩa vật lý.</value>
</data>
<data name="Cmd_info.pagefile_Title" xml:space="preserve">
<value>Sử dụng tệp trang</value>
</data>
<data name="Cmd_info.pagefile_Desc" xml:space="preserve">
<value>Hiển thị kích thước và mức sử dụng hiện tại của tệp trang.</value>
</data>
<data name="Cmd_info.localusers_Title" xml:space="preserve">
<value>Tài khoản người dùng cục bộ</value>
</data>
<data name="Cmd_info.localusers_Desc" xml:space="preserve">
<value>Liệt kê các tài khoản người dùng cục bộ và trạng thái kích hoạt.</value>
</data>
<data name="Cmd_info.timezone_Title" xml:space="preserve">
<value>Thời gian &amp; múi giờ</value>
</data>
<data name="Cmd_info.timezone_Desc" xml:space="preserve">
<value>Hiển thị múi giờ hiện tại và trạng thái đồng bộ thời gian.</value>
</data>
<data name="Cmd_info.osinstalldate_Title" xml:space="preserve">
<value>Ngày cài đặt Windows</value>
</data>
<data name="Cmd_info.osinstalldate_Desc" xml:space="preserve">
<value>Hiển thị thời điểm Windows được cài đặt và cách đây bao nhiêu ngày.</value>
</data>
<data name="Cmd_net.publicdns_Title" xml:space="preserve">
<value>Kiểm tra phân giải DNS công cộng</value>
</data>
<data name="Cmd_net.publicdns_Desc" xml:space="preserve">
<value>Phân giải một tên miền phổ biến qua DNS của Google để kiểm tra phân giải tên.</value>
</data>
<data name="Cmd_net.tcpconnections_Title" xml:space="preserve">
<value>Kết nối TCP đang hoạt động</value>
</data>
<data name="Cmd_net.tcpconnections_Desc" xml:space="preserve">
<value>Liệt kê các kết nối TCP đã thiết lập và tiến trình sở hữu.</value>
</data>
<data name="Cmd_net.firewallprofiles_Title" xml:space="preserve">
<value>Hồ sơ tường lửa</value>
</data>
<data name="Cmd_net.firewallprofiles_Desc" xml:space="preserve">
<value>Hiển thị từng hồ sơ tường lửa và hành động mặc định.</value>
</data>
<data name="Cmd_net.netshares_Title" xml:space="preserve">
<value>Thư mục chia sẻ</value>
</data>
<data name="Cmd_net.netshares_Desc" xml:space="preserve">
<value>Liệt kê các chia sẻ SMB do máy tính này cung cấp.</value>
</data>
<data name="Cmd_net.hostsfile.show_Title" xml:space="preserve">
<value>Xem tệp hosts</value>
</data>
<data name="Cmd_net.hostsfile.show_Desc" xml:space="preserve">
<value>Hiển thị nội dung của tệp hosts trên Windows.</value>
</data>
<data name="Cmd_net.netconnections.diag_Title" xml:space="preserve">
<value>Kết nối mạng</value>
</data>
<data name="Cmd_net.netconnections.diag_Desc" xml:space="preserve">
<value>Mở bảng điều khiển Kết nối mạng.</value>
</data>
<data name="Cmd_diag.lastboottime_Title" xml:space="preserve">
<value>Sự kiện khởi động &amp; tắt máy gần đây</value>
</data>
<data name="Cmd_diag.lastboottime_Desc" xml:space="preserve">
<value>Liệt kê các sự kiện khởi động và tắt máy gần đây nhất.</value>
</data>
<data name="Cmd_diag.bsod.recent_Title" xml:space="preserve">
<value>Tắt máy đột ngột gần đây</value>
</data>
<data name="Cmd_diag.bsod.recent_Desc" xml:space="preserve">
<value>Liệt kê các sự kiện tắt máy đột ngột Kernel-Power (sự kiện 41) gần đây.</value>
</data>
<data name="Cmd_diag.toperrors_Title" xml:space="preserve">
<value>Lỗi hệ thống gần đây</value>
</data>
<data name="Cmd_diag.toperrors_Desc" xml:space="preserve">
<value>Liệt kê các mục nghiêm trọng và lỗi gần đây từ nhật ký Hệ thống.</value>
</data>
<data name="Cmd_diag.printmgmt_Title" xml:space="preserve">
<value>Quản lý in</value>
</data>
<data name="Cmd_diag.printmgmt_Desc" xml:space="preserve">
<value>Mở bảng điều khiển Quản lý in.</value>
</data>
<data name="Cmd_diag.certmgr_Title" xml:space="preserve">
<value>Trình quản lý chứng chỉ</value>
</data>
<data name="Cmd_diag.certmgr_Desc" xml:space="preserve">
<value>Mở Trình quản lý chứng chỉ của người dùng hiện tại.</value>
</data>
<data name="Cmd_storage.diskusage_Title" xml:space="preserve">
<value>Tóm tắt dung lượng ổ đĩa</value>
</data>
<data name="Cmd_storage.diskusage_Desc" xml:space="preserve">
<value>Hiển thị dung lượng đã dùng và còn trống cho mỗi ổ đĩa.</value>
</data>
<data name="Cmd_storage.smart.status_Title" xml:space="preserve">
<value>Trạng thái SMART của ổ đĩa</value>
</data>
<data name="Cmd_storage.smart.status_Desc" xml:space="preserve">
<value>Hiển thị trạng thái dự đoán hỏng hóc SMART của từng ổ đĩa.</value>
</data>
<data name="Cat_services-startup" xml:space="preserve">
<value>Dịch vụ &amp; Khởi động</value>
</data>
<data name="Cmd_storage.largefiles.temp_Title" xml:space="preserve">
<value>Tệp tạm lớn nhất</value>
</data>
<data name="Cmd_storage.largefiles.temp_Desc" xml:space="preserve">
<value>Liệt kê các tệp lớn nhất trong thư mục tạm.</value>
</data>
<data name="Cmd_storage.partition.list_Title" xml:space="preserve">
<value>Liệt kê phân vùng</value>
</data>
<data name="Cmd_storage.partition.list_Desc" xml:space="preserve">
<value>Liệt kê tất cả phân vùng ổ đĩa và kích thước.</value>
</data>
<data name="Cmd_storage.fragmentation.analyze_Title" xml:space="preserve">
<value>Phân tích phân mảnh</value>
</data>
<data name="Cmd_storage.fragmentation.analyze_Desc" xml:space="preserve">
<value>Phân tích phân mảnh ổ C: mà không thay đổi gì.</value>
</data>
<data name="Cmd_storage.cleanmgr.settings_Title" xml:space="preserve">
<value>Cấu hình Dọn dẹp ổ đĩa</value>
</data>
<data name="Cmd_storage.cleanmgr.settings_Desc" xml:space="preserve">
<value>Mở cài đặt Dọn dẹp ổ đĩa để chọn nội dung cần dọn.</value>
</data>
<data name="Cmd_storage.diskpart.list_Title" xml:space="preserve">
<value>Liệt kê đĩa &amp; ổ</value>
</data>
<data name="Cmd_storage.diskpart.list_Desc" xml:space="preserve">
<value>Liệt kê đĩa và ổ bằng DiskPart (chỉ đọc).</value>
</data>
<data name="Cmd_svc.spooler.restart_Title" xml:space="preserve">
<value>Khởi động lại Print Spooler</value>
</data>
<data name="Cmd_svc.spooler.restart_Desc" xml:space="preserve">
<value>Khởi động lại dịch vụ Print Spooler để xóa lệnh in bị kẹt.</value>
</data>
<data name="Cmd_svc.audio.restart_Title" xml:space="preserve">
<value>Khởi động lại dịch vụ âm thanh</value>
</data>
<data name="Cmd_svc.audio.restart_Desc" xml:space="preserve">
<value>Khởi động lại dịch vụ Windows Audio để khắc phục sự cố âm thanh.</value>
</data>
<data name="Cmd_svc.wuauserv.restart_Title" xml:space="preserve">
<value>Khởi động lại dịch vụ Windows Update</value>
</data>
<data name="Cmd_svc.wuauserv.restart_Desc" xml:space="preserve">
<value>Khởi động lại dịch vụ Windows Update.</value>
</data>
<data name="Cmd_svc.bits.restart_Title" xml:space="preserve">
<value>Khởi động lại BITS</value>
</data>
<data name="Cmd_svc.bits.restart_Desc" xml:space="preserve">
<value>Khởi động lại dịch vụ truyền nền BITS.</value>
</data>
<data name="Cmd_svc.list.running_Title" xml:space="preserve">
<value>Liệt kê dịch vụ đang chạy</value>
</data>
<data name="Cmd_svc.list.running_Desc" xml:space="preserve">
<value>Liệt kê tất cả dịch vụ đang chạy.</value>
</data>
<data name="Cmd_svc.list.automatic_Title" xml:space="preserve">
<value>Liệt kê dịch vụ tự động</value>
</data>
<data name="Cmd_svc.list.automatic_Desc" xml:space="preserve">
<value>Liệt kê các dịch vụ khởi động tự động và trạng thái.</value>
</data>
<data name="Cmd_startup.apps.settings_Title" xml:space="preserve">
<value>Ứng dụng khởi động</value>
</data>
<data name="Cmd_startup.apps.settings_Desc" xml:space="preserve">
<value>Mở trang cài đặt ứng dụng khởi động cùng Windows.</value>
</data>
<data name="Cmd_startup.folder.open_Title" xml:space="preserve">
<value>Mở thư mục Startup</value>
</data>
<data name="Cmd_startup.folder.open_Desc" xml:space="preserve">
<value>Mở thư mục Khởi động của người dùng hiện tại.</value>
</data>
<data name="Cmd_clean.iconcache_Title" xml:space="preserve">
<value>Xóa tệp bộ nhớ đệm biểu tượng</value>
</data>
<data name="Cmd_clean.iconcache_Desc" xml:space="preserve">
<value>Xóa bộ nhớ đệm biểu tượng của Explorer để dựng lại.</value>
</data>
<data name="Cmd_clean.recentfiles_Title" xml:space="preserve">
<value>Xóa mục gần đây</value>
</data>
<data name="Cmd_clean.recentfiles_Desc" xml:space="preserve">
<value>Xóa danh sách tệp và thư mục mở gần đây.</value>
</data>
<data name="Cmd_clean.eventlogs_Title" xml:space="preserve">
<value>Xóa nhật ký sự kiện</value>
</data>
<data name="Cmd_clean.eventlogs_Desc" xml:space="preserve">
<value>Xóa nhật ký sự kiện Ứng dụng và Hệ thống.</value>
</data>
<data name="Cmd_power.set.powersaver_Title" xml:space="preserve">
<value>Gói Tiết kiệm điện</value>
</data>
<data name="Cmd_power.set.powersaver_Desc" xml:space="preserve">
<value>Chuyển sang gói nguồn Tiết kiệm điện.</value>
</data>
<data name="Cmd_power.hibernate.now_Title" xml:space="preserve">
<value>Ngủ đông ngay</value>
</data>
<data name="Cmd_power.hibernate.now_Desc" xml:space="preserve">
<value>Đưa máy tính vào chế độ ngủ đông ngay lập tức.</value>
</data>
<data name="Cmd_chkdsk.scan.online_Title" xml:space="preserve">
<value>Quét ổ đĩa trực tuyến</value>
</data>
<data name="Cmd_chkdsk.scan.online_Desc" xml:space="preserve">
<value>Quét lỗi ổ C: ngay khi đang dùng mà không cần ngắt kết nối.</value>
</data>
<data name="Cmd_sfc.verifyonly_Title" xml:space="preserve">
<value>Kiểm tra tệp hệ thống</value>
</data>
<data name="Cmd_sfc.verifyonly_Desc" xml:space="preserve">
<value>Kiểm tra tệp hệ thống được bảo vệ có bị hỏng mà không sửa chữa.</value>
</data>
<data name="Cmd_sec.defender.history_Title" xml:space="preserve">
<value>Lịch sử mối đe dọa Defender</value>
</data>
<data name="Cmd_sec.defender.history_Desc" xml:space="preserve">
<value>Hiển thị các phát hiện mối đe dọa gần đây của Microsoft Defender.</value>
</data>
<data name="Cmd_sec.defender.exclusions_Title" xml:space="preserve">
<value>Loại trừ của Defender</value>
</data>
<data name="Cmd_sec.defender.exclusions_Desc" xml:space="preserve">
<value>Liệt kê các đường dẫn, phần mở rộng và tiến trình được loại trừ khỏi Defender.</value>
</data>
<data name="Cmd_sec.bitlocker.detail_Title" xml:space="preserve">
<value>Chi tiết ổ đĩa BitLocker</value>
</data>
<data name="Cmd_sec.bitlocker.detail_Desc" xml:space="preserve">
<value>Hiển thị trạng thái và tiến độ mã hóa cho từng ổ đĩa.</value>
</data>
<data name="Cmd_sec.firewall.reset_Title" xml:space="preserve">
<value>Đặt lại tường lửa về mặc định</value>
</data>
<data name="Cmd_sec.firewall.reset_Desc" xml:space="preserve">
<value>Đặt lại toàn bộ quy tắc Tường lửa Windows về chính sách mặc định.</value>
</data>
<data name="Cmd_sec.defender.signatures.remove_Title" xml:space="preserve">
<value>Xóa chữ ký động</value>
</data>
<data name="Cmd_sec.defender.signatures.remove_Desc" xml:space="preserve">
<value>Xóa các định nghĩa động của Defender để sửa bản cập nhật bị hỏng.</value>
</data>
<data name="Cmd_sec.windowssecurity.open_Title" xml:space="preserve">
<value>Mở Bảo mật Windows</value>
</data>
<data name="Cmd_sec.windowssecurity.open_Desc" xml:space="preserve">
<value>Mở ứng dụng Bảo mật Windows.</value>
</data>
<data name="Cmd_wu.history_Title" xml:space="preserve">
<value>Lịch sử cập nhật</value>
</data>
<data name="Cmd_wu.history_Desc" xml:space="preserve">
<value>Liệt kê các bản cập nhật Windows được cài đặt gần đây nhất.</value>
</data>
<data name="Cmd_wu.pause_Title" xml:space="preserve">
<value>Cài đặt Windows Update</value>
</data>
<data name="Cmd_wu.pause_Desc" xml:space="preserve">
<value>Mở trang cài đặt Windows Update.</value>
</data>
<data name="Cmd_winget.upgrade.winget_Title" xml:space="preserve">
<value>Cập nhật App Installer</value>
</data>
<data name="Cmd_winget.upgrade.winget_Desc" xml:space="preserve">
<value>Cập nhật winget App Installer lên phiên bản mới nhất.</value>
</data>
<data name="Cmd_winget.export.list_Title" xml:space="preserve">
<value>Xuất danh sách gói đã cài</value>
</data>
<data name="Cmd_winget.export.list_Desc" xml:space="preserve">
<value>Xuất danh sách gói winget ra tệp JSON.</value>
</data>
<data name="Cmd_wu.driver.list_Title" xml:space="preserve">
<value>Trình điều khiển bên thứ ba</value>
</data>
<data name="Cmd_wu.driver.list_Desc" xml:space="preserve">
<value>Liệt kê các trình điều khiển không tích hợp sẵn trên hệ thống.</value>
</data>
<data name="Cmd_store.troubleshoot_Title" xml:space="preserve">
<value>Trình khắc phục sự cố</value>
</data>
<data name="Cmd_store.troubleshoot_Desc" xml:space="preserve">
<value>Mở trang cài đặt trình khắc phục sự cố của Windows.</value>
</data>
<data name="Cmd_tweak.taskbarsearch.hide_Title" xml:space="preserve">
<value>Ẩn tìm kiếm trên thanh tác vụ</value>
</data>
<data name="Cmd_tweak.taskbarsearch.hide_Desc" xml:space="preserve">
<value>Ẩn hộp tìm kiếm khỏi thanh tác vụ.</value>
</data>
<data name="Cmd_tweak.taskbarsearch.show_Title" xml:space="preserve">
<value>Hiện tìm kiếm trên thanh tác vụ</value>
</data>
<data name="Cmd_tweak.taskbarsearch.show_Desc" xml:space="preserve">
<value>Hiển thị hộp tìm kiếm trên thanh tác vụ.</value>
</data>
<data name="Cmd_tweak.transparency.off_Title" xml:space="preserve">
<value>Tắt hiệu ứng trong suốt</value>
</data>
<data name="Cmd_tweak.transparency.off_Desc" xml:space="preserve">
<value>Tắt hiệu ứng trong suốt của cửa sổ.</value>
</data>
<data name="Cmd_tweak.transparency.on_Title" xml:space="preserve">
<value>Bật hiệu ứng trong suốt</value>
</data>
<data name="Cmd_tweak.transparency.on_Desc" xml:space="preserve">
<value>Bật hiệu ứng trong suốt của cửa sổ.</value>
</data>
<data name="Cmd_tweak.snapassist.off_Title" xml:space="preserve">
<value>Tắt Snap assist</value>
</data>
<data name="Cmd_tweak.snapassist.off_Desc" xml:space="preserve">
<value>Ngăn Windows gợi ý cửa sổ khi chia đôi màn hình.</value>
</data>
<data name="Cmd_tweak.snapassist.on_Title" xml:space="preserve">
<value>Bật Snap assist</value>
</data>
<data name="Cmd_tweak.snapassist.on_Desc" xml:space="preserve">
<value>Cho phép Windows gợi ý cửa sổ khi chia đôi màn hình.</value>
</data>
<data name="Cmd_dev.telnet.on_Title" xml:space="preserve">
<value>Bật ứng dụng Telnet</value>
</data>
<data name="Cmd_dev.telnet.on_Desc" xml:space="preserve">
<value>Cài đặt tính năng ứng dụng Telnet của Windows.</value>
</data>
<data name="Cmd_dev.telnet.off_Title" xml:space="preserve">
<value>Tắt ứng dụng Telnet</value>
</data>
<data name="Cmd_dev.telnet.off_Desc" xml:space="preserve">
<value>Gỡ tính năng ứng dụng Telnet của Windows.</value>
</data>
</root>
File diff suppressed because it is too large. Load diff
@@ -68,6 +68,8 @@ public sealed partial class SettingsViewModel : ObservableObject
new LanguageOption("en", "English"),
new LanguageOption("vi", "Tiếng Việt"),
new LanguageOption("ja", "日本語"),
new LanguageOption("zh-Hans", "简体中文"),
new LanguageOption("es", "Español"),
];
// Initialize from persisted settings directly (field assignment skips the apply/save hooks).
@@ -17,7 +17,6 @@ public partial class KeyboardShortcutsDialog : Window
new Shortcut("Ctrl+,", Strings.Get("Menu_OpenSettings")),
new Shortcut("Ctrl+L", Strings.Get("Menu_LogViewer")),
new Shortcut("F5", Strings.Get("Menu_CheckForUpdates")),
new Shortcut("F11", Strings.Get("Menu_FullScreen")),
new Shortcut("Ctrl+Q", Strings.Get("MenuExit")),
new Shortcut("↑ / ↓", Strings.Get("Shortcuts_ListNav")),
new Shortcut("Enter", Strings.Get("Shortcuts_OpenSelected")),
+7 -2
View File
@@ -7,7 +7,7 @@
xmlns:appset="clr-namespace:CommandForge.Application.Settings;assembly=CommandForge.Application"
xmlns:views="clr-namespace:CommandForge.Wpf.Views"
Title="{res:Loc AppTitle}"
Width="1100" Height="720" MinWidth="900" MinHeight="600"
Width="1100" Height="720" ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
FontFamily="{DynamicResource MaterialDesignFont}"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
@@ -113,10 +113,15 @@
<MenuItem Header="日本語" Command="{Binding Settings.SetLanguageCommand}"
CommandParameter="ja"
IsChecked="{Binding Settings.SelectedLanguage.Code, Converter={StaticResource StringEquals}, ConverterParameter=ja, Mode=OneWay}" />
<MenuItem Header="简体中文" Command="{Binding Settings.SetLanguageCommand}"
CommandParameter="zh-Hans"
IsChecked="{Binding Settings.SelectedLanguage.Code, Converter={StaticResource StringEquals}, ConverterParameter=zh-Hans, Mode=OneWay}" />
<MenuItem Header="Español" Command="{Binding Settings.SetLanguageCommand}"
CommandParameter="es"
IsChecked="{Binding Settings.SelectedLanguage.Code, Converter={StaticResource StringEquals}, ConverterParameter=es, Mode=OneWay}" />
</MenuItem>
<Separator />
<MenuItem Header="{res:Loc MenuToggleSidebar}" Command="{Binding ToggleSidebarCommand}" InputGestureText="Ctrl+B" />
<MenuItem Header="{res:Loc Menu_FullScreen}" Click="OnToggleFullScreenClick" InputGestureText="F11" />
<Separator />
<MenuItem Header="{res:Loc Menu_OpenSettings}" Command="{Binding ShowSettingsCommand}" InputGestureText="Ctrl+," />
</MenuItem>
+9 -59
View File
@@ -18,9 +18,6 @@ public partial class MainWindow : Window
private readonly IServiceProvider _services;
private readonly ISettingsService _settings;
private bool _isFullScreen;
private WindowState _preFullScreenState = WindowState.Normal;
public MainWindow(MainViewModel viewModel, IServiceProvider services, ISettingsService settings)
{
InitializeComponent();
@@ -33,50 +30,31 @@ public partial class MainWindow : Window
private void OnExitClick(object sender, RoutedEventArgs e) => Close();
/// <summary>Restores the last window size/position/maximized state, ignoring off-screen positions.</summary>
/// <summary>
/// Restores the last window position only, ignoring off-screen positions. The window is a fixed
/// non-resizable size (see <c>ResizeMode="NoResize"</c> in XAML), so size/maximized state is not restored.
/// </summary>
private void RestorePlacement()
{
if (_settings.WindowWidth is { } width && width >= MinWidth)
{
Width = width;
}
if (_settings.WindowHeight is { } height && height >= MinHeight)
{
Height = height;
}
if (_settings.WindowLeft is { } left && _settings.WindowTop is { } top && IsOnScreen(left, top, Width, Height))
{
WindowStartupLocation = WindowStartupLocation.Manual;
Left = left;
Top = top;
}
if (_settings.WindowMaximized)
{
WindowState = WindowState.Maximized;
}
}
/// <summary>Persists the current window placement (using restore bounds when maximized/minimized).</summary>
/// <summary>Persists the current window position (size/maximized are fixed and not saved).</summary>
private void SavePlacement()
{
var bounds = WindowState == WindowState.Normal
? new Rect(Left, Top, Width, Height)
: RestoreBounds;
// RestoreBounds is empty before the window is first laid out — skip rather than save zeros.
if (bounds.Width <= 0 || bounds.Height <= 0)
// Left/Top are not yet meaningful before the window is first laid out — skip rather than save garbage.
if (double.IsNaN(Left) || double.IsNaN(Top))
{
return;
}
_settings.WindowLeft = bounds.Left;
_settings.WindowTop = bounds.Top;
_settings.WindowWidth = bounds.Width;
_settings.WindowHeight = bounds.Height;
_settings.WindowMaximized = WindowState == WindowState.Maximized;
_settings.WindowLeft = Left;
_settings.WindowTop = Top;
_settings.Save();
}
@@ -153,34 +131,6 @@ public partial class MainWindow : Window
_viewModel.CheckForUpdatesCommand.Execute(null);
e.Handled = true;
}
else if (e.Key == Key.F11)
{
ToggleFullScreen();
e.Handled = true;
}
}
private void OnToggleFullScreenClick(object sender, RoutedEventArgs e) => ToggleFullScreen();
private void ToggleFullScreen()
{
if (_isFullScreen)
{
WindowStyle = WindowStyle.SingleBorderWindow;
ResizeMode = ResizeMode.CanResize;
WindowState = _preFullScreenState;
_isFullScreen = false;
}
else
{
_preFullScreenState = WindowState;
WindowStyle = WindowStyle.None;
ResizeMode = ResizeMode.NoResize;
// Re-enter Maximized from Normal so the borderless window covers the whole screen.
WindowState = WindowState.Normal;
WindowState = WindowState.Maximized;
_isFullScreen = true;
}
}
private void OpenPalette()
+20 -1
View File
@@ -1,3 +1,4 @@
using CommandForge.Domain;
using CommandForge.Infrastructure.Catalog;
namespace CommandForge.Tests;
@@ -16,10 +17,28 @@ public sealed class CatalogTests
[Fact]
public void Catalog_HasCategoriesAndCommands()
{
Assert.Equal(10, Catalog.Categories.Count);
Assert.Equal(12, Catalog.Categories.Count);
Assert.True(Catalog.Commands.Count >= 20, $"Expected >= 20 commands, got {Catalog.Commands.Count}.");
}
[Fact]
public void Catalog_HasStorageCategory_WithCommands()
{
Assert.Contains(Catalog.Categories, c => c.Id == "storage");
Assert.Contains(Catalog.Commands, c => c.CategoryId == "storage");
}
[Fact]
public void Catalog_DangerousCommands_RequireConfirmation()
{
// Golden rule: Dangerous commands must always confirm before running.
var offenders = Catalog.Commands
.Where(c => c.DangerLevel == DangerLevel.Dangerous && !c.ConfirmBeforeRun)
.Select(c => c.Id)
.ToList();
Assert.True(offenders.Count == 0, $"Dangerous commands missing confirmation: {string.Join(", ", offenders)}.");
}
[Fact]
public void Catalog_AllCommandIds_AreUnique()
{
@@ -1,28 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0-windows</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\CommandForge.Domain\CommandForge.Domain.csproj" />
<ProjectReference Include="..\..\src\CommandForge.Application\CommandForge.Application.csproj" />
<ProjectReference Include="..\..\src\CommandForge.Infrastructure\CommandForge.Infrastructure.csproj" />
<!-- Referenced so the catalog-keys test can verify titles/descriptions exist in the .resx (EN+VI). -->
<ProjectReference Include="..\..\src\CommandForge.Wpf\CommandForge.Wpf.csproj" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0-windows</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.7.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\CommandForge.Domain\CommandForge.Domain.csproj" />
<ProjectReference Include="..\..\src\CommandForge.Application\CommandForge.Application.csproj" />
<ProjectReference Include="..\..\src\CommandForge.Infrastructure\CommandForge.Infrastructure.csproj" />
<!-- Referenced so the catalog-keys test can verify titles/descriptions exist in the .resx (EN+VI). -->
<ProjectReference Include="..\..\src\CommandForge.Wpf\CommandForge.Wpf.csproj" />
</ItemGroup>
</Project>
@@ -46,6 +46,32 @@ public sealed class LocalizationManagerTests
}
}
[Theory]
[InlineData("vi")]
[InlineData("ja")]
[InlineData("zh-Hans")]
[InlineData("es")]
public void SetCulture_LoadsSatellite_NotEnglishFallback(string culture)
{
var original = LocalizationManager.Instance.CurrentCulture;
try
{
LocalizationManager.Instance.SetCulture(new CultureInfo("en"));
var en = LocalizationManager.Instance["Menu_CheckForUpdates"];
LocalizationManager.Instance.SetCulture(new CultureInfo(culture));
var translated = LocalizationManager.Instance["Menu_CheckForUpdates"];
Assert.False(string.IsNullOrEmpty(translated));
// A real satellite resolves to a translated string; an English fallback would be identical.
Assert.NotEqual(en, translated);
}
finally
{
LocalizationManager.Instance.SetCulture(original);
}
}
[Fact]
public void SetCulture_RaisesItemBracketPropertyChanged()
{
+19 -10
View File
@@ -7,30 +7,39 @@ namespace CommandForge.Tests;
/// <summary>
/// Cross-checks that every catalog title/description and UI resource key exists in the neutral
/// (EN) resources and in both the Vietnamese and Japanese satellites (no parent fallback), so a
/// missing translation fails the build rather than silently falling back to English.
/// (EN) resources and in every satellite culture (no parent fallback), so a missing translation
/// fails the build rather than silently falling back to English.
/// </summary>
public sealed class ResxKeyTests
{
private static readonly CatalogLoadResult Catalog = CatalogLoader.LoadEmbedded();
/// <summary>Asserts every key resolves in EN (neutral) and in the VI and JA satellites without fallback.</summary>
/// <summary>The non-neutral UI cultures that must have a full satellite resource set (no fallback).</summary>
private static readonly string[] SatelliteCultures = ["vi", "ja", "zh-Hans", "es"];
/// <summary>Asserts every key resolves in EN (neutral) and in every satellite culture without fallback.</summary>
private static void AssertKeysExist(IEnumerable<string> keys)
{
var manager = new ResourceManager("CommandForge.Wpf.Resources.Strings", typeof(Strings).Assembly);
var english = manager.GetResourceSet(CultureInfo.InvariantCulture, createIfNotExists: true, tryParents: true);
var vietnamese = manager.GetResourceSet(new CultureInfo("vi"), createIfNotExists: true, tryParents: false);
var japanese = manager.GetResourceSet(new CultureInfo("ja"), createIfNotExists: true, tryParents: false);
Assert.NotNull(english);
Assert.NotNull(vietnamese);
Assert.NotNull(japanese);
var satellites = SatelliteCultures.ToDictionary(
culture => culture,
culture => manager.GetResourceSet(new CultureInfo(culture), createIfNotExists: true, tryParents: false));
foreach (var (culture, set) in satellites)
{
Assert.True(set is not null, $"Missing satellite resource set for culture '{culture}'.");
}
foreach (var key in keys)
{
Assert.True(english!.GetString(key) is not null, $"Missing EN resource for key '{key}'.");
Assert.True(vietnamese!.GetString(key) is not null, $"Missing VI resource for key '{key}'.");
Assert.True(japanese!.GetString(key) is not null, $"Missing JA resource for key '{key}'.");
foreach (var (culture, set) in satellites)
{
Assert.True(set!.GetString(key) is not null, $"Missing {culture} resource for key '{key}'.");
}
}
}