diff --git a/apps/launcher/src/renderer/src/i18n/locales/en.json b/apps/launcher/src/renderer/src/i18n/locales/en.json index 603f33a..40cbd58 100644 --- a/apps/launcher/src/renderer/src/i18n/locales/en.json +++ b/apps/launcher/src/renderer/src/i18n/locales/en.json @@ -22,40 +22,35 @@ "footer": { "launcher": "Launcher {{version}}", "game": "Game {{version}}", - "notInstalled": "Not installed", - "disclaimer": "Unofficial fan project, not affiliated with Gaijin Entertainment" + "notInstalled": "Not installed" }, "home": { - "kicker": "Offline edition · Local server", + "kicker": "Local server · AI battles", "installedKicker": "Game {{version}}", - "body": "Play complete battles against AI without a network connection or an account. Hangar, research, store and battle results are provided by the local server.", + "body": "Select Install to set up an offline copy.", "steps": { - "choose": "1 · Select game", - "chooseBody": "Locate your War Thunder installation", - "copy": "2 · Create copy", - "copyBody": "Copy the game files; the original stays unchanged", - "launch": "3 · Launch", - "launchBody": "Start the game from the launcher from then on" + "choose": "Select game", + "chooseBody": "Locate the game installation", + "method": "Choose installation type", + "methodBody": "Create a copy or use an existing folder", + "check": "Check patches", + "checkBody": "Review the features available for this version" } }, "side": { - "requirements": "Requirements", + "requirements": "Installation requirements", "game": "Game", "gameValue": "War Thunder (official client)", - "versions": "Versions", + "versions": "Verified versions", "space": "Disk space", "spaceValue": "About 97 GB (copy installation)", - "about": "About the offline edition", - "aboutBody": "The local server provides profiles, hangar, store, battles and results on this computer. No network connection and no account are used. Installation only reads the original game files and changes nothing.", - "statement": "Statement and terms", "currentCopy": "Current copy", "copyName": "Game copy", "adaptation": "Adaptation", "features": "Features", "allAvailable": "✓ All available", "someMissing": "⚠ {{count}} unavailable", - "details": "Details", - "disclaimer": "Unofficial fan project, not affiliated with Gaijin Entertainment." + "details": "Details" }, "adaptation": { "verified": "✓ Verified", @@ -67,7 +62,7 @@ "install": "Install", "ready": "Ready", "readyMissing": "Ready · {{count}} features unavailable", - "readyDetail": "Game {{version}} · Launching will be available in a later version", + "readyDetail": "Game {{version}} · Launch unavailable", "launch": "Launch" }, "folder": { @@ -77,7 +72,6 @@ }, "wizard": { "title": "Install the offline edition", - "note": "Installation does not modify the original game. Patched files are not written during installation; they are generated each time the game is launched.", "steps": { "source": "Game location", "method": "Installation type", @@ -96,50 +90,46 @@ "checkingDetail": "Checking which patches apply to the selected game" }, "source": { - "body": "Select the War Thunder installation folder (the one containing aces.vromfs.bin and the win64 folder).", + "body": "Select the folder where War Thunder is installed.", "dialogTitle": "Select the War Thunder installation folder", "notAGame": "The selected folder is not a War Thunder installation. Missing: {{files}}", "versionVerified": "Game version {{version}} · Adaptation {{version}} (verified)", - "versionUnverified": "No adaptation exists for game version {{version}}; the nearest version, {{nearest}}, will be used. Some features may be unavailable; step 4 lists the results.", + "versionUnverified": "Game version {{version}} will use adaptation {{nearest}}. Check the patches to see which features are available.", "versionUnknown": "unknown", "size": "Size {{size}} · {{files}} files", - "measuring": "Calculating size…", - "readOnly": "Installation only reads this folder and changes nothing in it." + "measuring": "Calculating size…" }, "method": { "copy": "Copy installation (recommended)", - "copyBody": "Copies the complete game to a new folder and installs into the copy. The original is not affected. Requires about {{size}} of free space.", - "measuring": "(calculating size)", + "copyBody": "Copies the game to a new folder. Requires about {{size}} of free space.", "targetTitle": "Select a folder for the copy", "inPlace": "In-place installation", - "inPlaceBody": "Installs directly into the selected folder, for a game copy you prepared yourself. Replaces 4 files in it; the originals are backed up to wtoffline\\stock.", + "inPlaceBody": "Uses the selected game folder as the copy. Original files are backed up to wtoffline\\stock, and patches are applied on first launch.", "room": "Free space on target drive: {{free}}", "noRoom": "Not enough free space: {{needed}} required, {{free}} available on the target drive.", "problem": { "not_empty": "The selected folder is not empty. Select an empty or new folder.", "overlaps_stock": "The folder cannot be the original installation folder, or a folder inside or above it.", "not_a_folder": "The selected path is not a folder." - } + }, + "copyBodyPending": "Copies the game to a new folder. Calculating the required space." }, "steam": { - "title": "The selected folder is in a Steam library. Installing here will:", - "risk1": "modify the files of the official client;", - "risk2": "possibly be overwritten by Steam file verification or updates;", - "risk3": "risk an account ban if the official game is launched online with the modified files.", - "advice": "A copy installation is recommended instead.", - "confirm": "I understand these risks and want to install in this folder" + "inPlaceWarning": "Launching offline will modify the game files in this Steam installation. Steam updates or file verification may overwrite the changes. Launching the official game online with modified files may result in an account ban.", + "copyWarning": "The destination is in a Steam library. Choose a folder outside the library to keep the offline copy separate.", + "confirm": "Confirm this folder" }, "data": { - "body": "Saves, caches and logs are stored in this folder. Moving the folder moves the saves.", + "body": "Select a folder for saves, caches, and logs.", "dialogTitle": "Select the data folder" }, "check": { - "running": "Checking which patches apply to the selected game. This takes a few seconds.", + "running": "Checking patches for the selected game version.", "allFit": "All {{count}} patches apply to this game version.", - "essentialMissing": "Patches required by the offline edition do not apply to this game version. Installation is not possible. Affected features:", + "essentialMissing": "A required patch could not be applied. Installation cannot continue. Affected features:", "someMissing": "{{count}} patches do not apply to this game version. The following features will be unavailable:", "details": "Patch details", - "accept": "Continue without these features" + "accept": "Accept the unavailable features and continue" }, "progress": { "phase": { @@ -180,7 +170,7 @@ "open": "Open" }, "features": { - "lead": "Each feature depends on one or more patches. When a patch does not apply, its features are unavailable; installation is not possible while a feature marked \"Required\" is unavailable.", + "lead": "Patch compatibility determines which features are available. Installation requires all essential patches.", "essential": "Required", "verifiedOn": "Verified: {{version}}", "unavailable": "Patch does not apply: {{patches}}", @@ -215,9 +205,9 @@ }, "background": { "title": "Background", - "hint": "Website wallpapers come from the public wallpaper gallery of the War Thunder website; game pictures are read from the current copy. The launcher itself contains no game pictures.", + "hint": "Game backgrounds come from the current copy.", "official": "Website wallpapers", - "officialHint": "Requires a network connection. Only public pictures are downloaded; no sign-in and no account information is sent. Downloaded wallpapers remain available offline.", + "officialHint": "Downloads wallpapers from the official website. Downloaded wallpapers are available offline.", "officialToggle": "Get wallpapers from the War Thunder website", "officialItem": "Website · {{name}}", "random": "Random", @@ -242,8 +232,8 @@ "about": { "launcher": "Launcher {{version}}", "supported": "Supported game versions: {{versions}}", - "statement": "Statement", - "statementBody": "This is an unofficial fan project, not affiliated with Gaijin Entertainment. WTOffline contains no game files; an official War Thunder client is required. No network connection and no account are used." + "statement": "Project information", + "statementBody": "WTOffline is an independent, unofficial project with no affiliation to Gaijin Entertainment. An installed copy of the official War Thunder client is required." }, "features": { "A-离线启动": "Offline startup", diff --git a/apps/launcher/src/renderer/src/i18n/locales/zh-CN.json b/apps/launcher/src/renderer/src/i18n/locales/zh-CN.json index f45e8ce..308b2fe 100644 --- a/apps/launcher/src/renderer/src/i18n/locales/zh-CN.json +++ b/apps/launcher/src/renderer/src/i18n/locales/zh-CN.json @@ -22,40 +22,35 @@ "footer": { "launcher": "启动器 {{version}}", "game": "游戏 {{version}}", - "notInstalled": "未安装", - "disclaimer": "非官方爱好者项目,与 Gaijin Entertainment 无关" + "notInstalled": "未安装" }, "home": { - "kicker": "单机离线版 · 本地服务器", + "kicker": "本地服务器 · AI 对局", "installedKicker": "游戏 {{version}}", - "body": "无需联网与账号,即可与 AI 进行完整对局。机库、研发、商店与结算均由本地服务器提供。", + "body": "选择「安装」以配置离线副本。", "steps": { - "choose": "1 · 选择游戏", - "chooseBody": "指定正版战争雷霆的安装位置", - "copy": "2 · 创建副本", - "copyBody": "复制游戏文件,正版保持不变", - "launch": "3 · 启动", - "launchBody": "此后从启动器直接进入游戏" + "choose": "选择游戏", + "chooseBody": "指定游戏的安装位置", + "method": "选择安装方式", + "methodBody": "创建副本或使用已有文件夹", + "check": "检查补丁", + "checkBody": "核对所选版本的功能状态" } }, "side": { - "requirements": "系统要求", + "requirements": "安装要求", "game": "游戏", "gameValue": "战争雷霆正版客户端", - "versions": "支持版本", + "versions": "已验证版本", "space": "磁盘空间", "spaceValue": "约 97 GB(复制安装)", - "about": "关于离线版", - "aboutBody": "本地服务器在本机提供档案、机库、商店、对局与结算等服务。运行期间不联网,不使用任何账号。安装过程仅读取正版文件,不作任何修改。", - "statement": "声明与协议", "currentCopy": "当前副本", "copyName": "游戏副本", "adaptation": "适配版本", "features": "功能", "allAvailable": "✓ 全部可用", "someMissing": "⚠ {{count}} 项不可用", - "details": "详情", - "disclaimer": "非官方爱好者项目,与 Gaijin Entertainment 无关。" + "details": "详情" }, "adaptation": { "verified": "✓ 已核对", @@ -67,7 +62,7 @@ "install": "安装", "ready": "就绪", "readyMissing": "就绪 · {{count}} 项功能不可用", - "readyDetail": "游戏 {{version}} · 启动功能将在后续版本提供", + "readyDetail": "游戏 {{version}} · 启动暂不可用", "launch": "启动" }, "folder": { @@ -77,7 +72,6 @@ }, "wizard": { "title": "安装离线版", - "note": "安装过程不会修改正版游戏。补丁文件不在安装时写入,而是在每次启动时生成。", "steps": { "source": "游戏位置", "method": "安装方式", @@ -96,50 +90,46 @@ "checkingDetail": "正在核对补丁对所选游戏的适用情况" }, "source": { - "body": "选择战争雷霆的安装文件夹(包含 aces.vromfs.bin 与 win64 文件夹)。", - "dialogTitle": "选择战争雷霆的安装文件夹", + "body": "选择已安装的战争雷霆文件夹。", + "dialogTitle": "选择战争雷霆安装文件夹", "notAGame": "所选文件夹不是战争雷霆的安装文件夹,缺少:{{files}}", "versionVerified": "游戏版本 {{version}} · 适配版本 {{version}}(已核对)", - "versionUnverified": "游戏版本 {{version}} 暂无对应适配,将使用最接近的 {{nearest}}。部分功能可能不可用,检查结果将在第 4 步列出。", + "versionUnverified": "游戏版本 {{version}} 将使用适配版本 {{nearest}}。可用功能以补丁检查结果为准。", "versionUnknown": "未知", "size": "大小 {{size}} · {{files}} 个文件", - "measuring": "正在统计大小…", - "readOnly": "安装过程仅读取此文件夹,不作任何修改。" + "measuring": "正在统计大小…" }, "method": { "copy": "复制安装(推荐)", - "copyBody": "将游戏完整复制到新文件夹,并在副本中安装。正版不受影响。需要约 {{size}} 可用空间。", - "measuring": "(正在统计大小)", + "copyBody": "将游戏复制到新文件夹。需要约 {{size}} 的可用空间。", "targetTitle": "选择存放副本的文件夹", "inPlace": "原位安装", - "inPlaceBody": "在所选文件夹中直接安装,适用于自行准备的游戏副本。将替换其中 4 个文件,原文件备份至 wtoffline\\stock。", + "inPlaceBody": "使用所选游戏文件夹作为副本。原版文件备份至 wtoffline\\stock,首次启动时将应用补丁。", "room": "目标磁盘可用空间:{{free}}", "noRoom": "可用空间不足:需要 {{needed}},目标磁盘仅剩 {{free}}。", "problem": { "not_empty": "所选文件夹不为空。请选择空文件夹或新建文件夹。", "overlaps_stock": "不能选择正版安装文件夹本身,或其上级、下级文件夹。", "not_a_folder": "所选路径不是文件夹。" - } + }, + "copyBodyPending": "将游戏复制到新文件夹。正在统计所需空间。" }, "steam": { - "title": "所选文件夹位于 Steam 游戏库中。在此安装将:", - "risk1": "修改正版客户端的文件;", - "risk2": "可能被 Steam 文件校验或更新覆盖;", - "risk3": "若以修改后的文件联网启动正版,存在账号封禁风险。", - "advice": "建议改用复制安装。", - "confirm": "我已了解上述风险,仍在此文件夹中安装" + "inPlaceWarning": "离线启动会修改此 Steam 安装中的游戏文件。Steam 更新或文件校验可能覆盖改动。使用修改后的文件联网启动正版可能导致账号封禁。", + "copyWarning": "目标文件夹位于 Steam 游戏库。建议将副本放在游戏库之外。", + "confirm": "确认使用此文件夹" }, "data": { - "body": "存档、缓存与日志保存在此文件夹。迁移该文件夹即可迁移存档。", + "body": "选择用于保存存档、缓存和日志的文件夹。", "dialogTitle": "选择数据目录" }, "check": { - "running": "正在核对补丁对所选游戏的适用情况,约需数秒。", + "running": "正在检查所选游戏版本的补丁。", "allFit": "全部 {{count}} 个补丁均适用于此游戏版本。", - "essentialMissing": "此游戏版本缺少离线版运行所必需的补丁,无法安装。受影响的功能:", + "essentialMissing": "必需补丁无法应用,安装无法继续。受影响的功能:", "someMissing": "{{count}} 个补丁不适用于此游戏版本,以下功能将不可用:", "details": "查看补丁详情", - "accept": "在缺少上述功能的情况下继续安装" + "accept": "接受上述功能不可用并继续安装" }, "progress": { "phase": { @@ -180,7 +170,7 @@ "open": "打开" }, "features": { - "lead": "每项功能依赖一个或多个补丁。补丁不适用时,对应功能不可用;标记为“必需”的功能不可用时无法安装。", + "lead": "补丁检查结果决定功能是否可用。安装需要全部必需补丁。", "essential": "必需", "verifiedOn": "已核对:{{version}}", "unavailable": "补丁不适用:{{patches}}", @@ -215,9 +205,9 @@ }, "background": { "title": "背景图", - "hint": "官网壁纸取自战争雷霆官网的公开壁纸库,游戏图片读取自当前副本。启动器本身不包含任何游戏图片。", + "hint": "游戏背景图来自当前副本。", "official": "官网壁纸", - "officialHint": "需要联网。仅下载公开图片,不登录,不发送任何账号信息。已下载的壁纸离线时仍可使用。", + "officialHint": "联网下载官网壁纸。已下载的壁纸可离线使用。", "officialToggle": "从战争雷霆官网获取壁纸", "officialItem": "官网壁纸 · {{name}}", "random": "随机", @@ -242,8 +232,8 @@ "about": { "launcher": "启动器 {{version}}", "supported": "支持的游戏版本:{{versions}}", - "statement": "声明", - "statementBody": "本项目为非官方爱好者项目,与 Gaijin Entertainment 无关。WTOffline 不包含任何游戏文件,使用前需拥有战争雷霆正版客户端。运行期间不联网,不使用任何账号。" + "statement": "项目信息", + "statementBody": "WTOffline 是独立开发的非官方项目,与 Gaijin Entertainment 无关。运行需要已安装的战争雷霆正版客户端。" }, "features": { "A-离线启动": "离线启动", diff --git a/apps/launcher/src/renderer/src/pages/home/HomeMain.tsx b/apps/launcher/src/renderer/src/pages/home/HomeMain.tsx index 2873fae..5aa0e2a 100644 --- a/apps/launcher/src/renderer/src/pages/home/HomeMain.tsx +++ b/apps/launcher/src/renderer/src/pages/home/HomeMain.tsx @@ -19,8 +19,8 @@ export function HomeMain({ record }: { readonly record: InstallRecord | null })

{t('home.body')}

  1. {t('home.steps.choose')}{t('home.steps.chooseBody')}
  2. -
  3. {t('home.steps.copy')}{t('home.steps.copyBody')}
  4. -
  5. {t('home.steps.launch')}{t('home.steps.launchBody')}
  6. +
  7. {t('home.steps.method')}{t('home.steps.methodBody')}
  8. +
  9. {t('home.steps.check')}{t('home.steps.checkBody')}
); diff --git a/apps/launcher/src/renderer/src/pages/home/HomeSide.tsx b/apps/launcher/src/renderer/src/pages/home/HomeSide.tsx index 66b900b..46d76a8 100644 --- a/apps/launcher/src/renderer/src/pages/home/HomeSide.tsx +++ b/apps/launcher/src/renderer/src/pages/home/HomeSide.tsx @@ -27,12 +27,6 @@ export function HomeSide({ record, supportedVersions, onNavigate }: HomeSideProp
{t('side.spaceValue')}
-

{t('side.about')}

-
- {t('side.aboutBody')} -
-
-
{t('side.disclaimer')}
); } @@ -67,7 +61,6 @@ export function HomeSide({ record, supportedVersions, onNavigate }: HomeSideProp -
{t('side.disclaimer')}
); } diff --git a/apps/launcher/src/renderer/src/pages/install/MethodStep.tsx b/apps/launcher/src/renderer/src/pages/install/MethodStep.tsx index d2e9dbc..e8a91c3 100644 --- a/apps/launcher/src/renderer/src/pages/install/MethodStep.tsx +++ b/apps/launcher/src/renderer/src/pages/install/MethodStep.tsx @@ -35,14 +35,14 @@ export function MethodStep({ source, sourceSize, choice, onChoice, onError }: Me .catch(onError); }; const steamWarning = steamLibraryInvolved(source, choice) - ? onChoice({ ...choice, steamConfirmed })} /> + ? onChoice({ ...choice, steamConfirmed })} /> : null; return ( <> choose('copy')} > @@ -90,17 +90,11 @@ function TargetVerdict({ target, sourceSize }: { readonly target: TargetFolderIn return target.freeBytes === null ? null : {t('method.room', { free: formatBytes(target.freeBytes) })}; } -function SteamWarning({ confirmed, onConfirmed }: { readonly confirmed: boolean; readonly onConfirmed: (confirmed: boolean) => void }) { +function SteamWarning({ method, confirmed, onConfirmed }: { readonly method: InstallMethod; readonly confirmed: boolean; readonly onConfirmed: (confirmed: boolean) => void }) { const { t } = useTranslation(); return ( -

{t('steam.title')}

-
    -
  • {t('steam.risk1')}
  • -
  • {t('steam.risk2')}
  • -
  • {t('steam.risk3')}
  • -
-

{t('steam.advice')}

+

{t(method === 'in-place' ? 'steam.inPlaceWarning' : 'steam.copyWarning')}