feat(mining): migrate the Windows Defender antivirus-help dialog to reference design
Bring renderAntivirusHelpDialog onto the reference design and remove its hardcoded
English (the last Wave-1 modal):
- struct-form BeginOverlayDialog(OverlayDialogSpec{BlurFloat, cardWidth 560,
idSuffix antivirus}) replacing the legacy positional overload
- the hardcoded "Windows Defender Blocked Miner" title and all 10 step/intro/bullet
strings -> TR() (11 new av_* keys + reuse `close`; 8-lang translations, Windows
env vars / xmrig.exe kept literal, menu names localized)
- 2 StyledButton -> TactileButton, drop the footer divider, dp-scale the button widths
- CJK subset rebuilt (glyphs 1741->1751; kept — new glyphs are used)
NOTE: this dialog is inside #ifdef _WIN32, so the Linux build compiles it out and
cannot verify it — needs a Windows build to compile-check. The edits mirror the
already-verified daemon-update-prompt / migrate-to-seed struct-overlay pattern and
leave the ShellExecuteA call untouched. i18n.cpp + the daemon prompt (cross-platform)
build + ctest + hygiene clean on Linux.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,17 @@
|
||||
"amount_label": "金額:",
|
||||
"appearance": "外観",
|
||||
"auto_shield": "マイニング自動シールド",
|
||||
"av_intro": "マイニングソフトウェアは、望ましくない可能性があるものとしてフラグが立てられることがよくあります。プールマイニングを有効にするには、次の手順に従ってください。",
|
||||
"av_open_security": "Windows セキュリティを開く",
|
||||
"av_step1": "ステップ1: 除外の追加",
|
||||
"av_step1_b1": "Windows セキュリティ > ウイルスと脅威の防止 を開く",
|
||||
"av_step1_b2": "設定の管理 > 除外 > 追加または削除 をクリック",
|
||||
"av_step1_b3": "フォルダーを追加: %APPDATA%\\ObsidianDragon\\",
|
||||
"av_step2": "ステップ2: 検疫から復元(必要な場合)",
|
||||
"av_step2_b1": "Windows セキュリティ > 保護の履歴",
|
||||
"av_step2_b2": "xmrig.exe を見つけて「復元」をクリック",
|
||||
"av_step3": "ステップ3: ウォレットを再起動して再試行",
|
||||
"av_title": "Windows Defender がマイナーをブロックしました",
|
||||
"available": "利用可能",
|
||||
"backup_backing_up": "バックアップ中...",
|
||||
"backup_create": "バックアップを作成",
|
||||
|
||||
Reference in New Issue
Block a user