From f5205662a9cd8bdd5f4c9b1bb18563a5e572ea5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Fri, 20 Nov 2026 20:52:02 +0500 Subject: [PATCH] feat(client): say where HD graphics is switched, translate the Custom Races patch card The community launcher owns the Standard/HD choice (Settings -> "HD graphics"; its setup also offers it), so the Manager cannot toggle it. The client setup dialog now points players there. The Custom Races client patch status badges, hints and Install/Repair/Uninstall buttons were English/Russian ternaries; they are now i18n keys in all six locales. Co-Authored-By: Claude Sonnet 5.5 --- ...20261120-hd-graphics-hint-and-patch-labels.md | 7 +++++++ src/i18n/locales/de.ts | 11 +++++++++++ src/i18n/locales/en.ts | 11 +++++++++++ src/i18n/locales/es.ts | 11 +++++++++++ src/i18n/locales/fr.ts | 11 +++++++++++ src/i18n/locales/ru.ts | 11 +++++++++++ src/i18n/locales/zh.ts | 11 +++++++++++ src/screens/ClientDialog.tsx | 1 + src/screens/ModulesPage.tsx | 16 ++++++++-------- 9 files changed, 82 insertions(+), 8 deletions(-) create mode 100644 changelog.d/20261120-hd-graphics-hint-and-patch-labels.md diff --git a/changelog.d/20261120-hd-graphics-hint-and-patch-labels.md b/changelog.d/20261120-hd-graphics-hint-and-patch-labels.md new file mode 100644 index 0000000..95d7362 --- /dev/null +++ b/changelog.d/20261120-hd-graphics-hint-and-patch-labels.md @@ -0,0 +1,7 @@ +--- +area: manager +type: changed +audience: players +title: Client setup says where to switch HD graphics; Custom Races patch card is translated +--- +HD or standard graphics is a launcher setting; the client setup dialog now says so. The Custom Races client patch status and buttons are now translated into every language the Manager offers. diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts index 3598d08..d93cc18 100644 --- a/src/i18n/locales/de.ts +++ b/src/i18n/locales/de.ts @@ -651,6 +651,17 @@ const de: Partial> = { "client.setup.getLauncher": "Launcher holen (coa-development.org)", "client.setup.getLauncherHint": "Öffnet die Website der Community im Browser. Lade dort den Launcher herunter, installiere ihn, melde dich mit deinem Konto an und lass ihn das Spiel laden (etwa 43 GB).", "client.setup.haveHint": "Wähle den Ordner, in den der Launcher das Spiel installiert hat, oder eine andere Kopie des Clients.", + "client.setup.hdHint": "Standard- oder HD-Grafik wählst du im Launcher: Öffne dort die Einstellungen und schalte „HD graphics“ um. Der Manager kann das nicht ändern.", + "races.patch.active": "Client-Patch: Aktiv", + "races.patch.disabled": "Client-Patch: Deaktiviert (.disabled)", + "races.patch.notInstalled": "Client-Patch: Nicht installiert", + "races.patch.partial": "Client-Patch: {a}/{b} MPQ", + "races.patch.partialHint": "Dateien fehlen oder wurden geändert. Repariere den Client-Patch.", + "races.patch.install": "Client-Patch installieren", + "races.patch.repair": "Client-Patch reparieren", + "races.patch.uninstall": "Client-Patch entfernen", + "races.patch.willEnable": "Der Patch ist nach der Installation aktiv.", + "races.patch.willStayOff": "Der Patch bleibt nach der Installation deaktiviert: Das Servermodul ist aus oder fehlt.", "client.dl.back": "Zurück", "client.dl.done": "Der Spielclient ist bereit", "client.dl.doneText": "Er ist mit diesem Server verknüpft. Du kannst auf PLAY drücken.", diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index 4a4755b..e81b99b 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -750,6 +750,17 @@ const en = { "client.setup.getLauncher": "Get the launcher (coa-development.org)", "client.setup.getLauncherHint": "Opens the community website in your browser. Download and install the launcher there, sign in with your account and let it download the game (about 43 GB).", "client.setup.haveHint": "Pick the folder the launcher installed the game to, or any other copy of the client.", + "client.setup.hdHint": "Standard or HD graphics is chosen in the launcher: open its Settings and switch \"HD graphics\". The Manager cannot change it.", + "races.patch.active": "Client Patch: Active", + "races.patch.disabled": "Client Patch: Disabled (.disabled)", + "races.patch.notInstalled": "Client Patch: Not Installed", + "races.patch.partial": "Client Patch: {a}/{b} MPQ", + "races.patch.partialHint": "Files are missing or changed. Repair the client patch.", + "races.patch.install": "Install Client Patch", + "races.patch.repair": "Repair Client Patch", + "races.patch.uninstall": "Uninstall Client Patch", + "races.patch.willEnable": "The patch will be enabled after installation.", + "races.patch.willStayOff": "The patch will stay disabled after installation: the server module is off or missing.", "client.dl.back": "Back", "client.dl.done": "The game client is ready", "client.dl.doneText": "It is linked to this server. You can press PLAY.", diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts index fda9619..7d82227 100644 --- a/src/i18n/locales/es.ts +++ b/src/i18n/locales/es.ts @@ -651,6 +651,17 @@ const es: Partial> = { "client.setup.getLauncher": "Obtener el launcher (coa-development.org)", "client.setup.getLauncherHint": "Abre la web de la comunidad en tu navegador. Descarga e instala allí el launcher, inicia sesión con tu cuenta y deja que descargue el juego (unos 43 GB).", "client.setup.haveHint": "Elige la carpeta donde el launcher instaló el juego, o cualquier otra copia del cliente.", + "client.setup.hdHint": "Los gráficos estándar o HD se eligen en el launcher: abre sus Ajustes y cambia «HD graphics». El Manager no puede cambiarlo.", + "races.patch.active": "Parche del cliente: Activo", + "races.patch.disabled": "Parche del cliente: Desactivado (.disabled)", + "races.patch.notInstalled": "Parche del cliente: No instalado", + "races.patch.partial": "Parche del cliente: {a}/{b} MPQ", + "races.patch.partialHint": "Faltan archivos o han cambiado. Repara el parche del cliente.", + "races.patch.install": "Instalar parche del cliente", + "races.patch.repair": "Reparar parche del cliente", + "races.patch.uninstall": "Desinstalar parche del cliente", + "races.patch.willEnable": "El parche estará activo después de la instalación.", + "races.patch.willStayOff": "El parche seguirá desactivado después de la instalación: el módulo del servidor está apagado o falta.", "client.dl.back": "Atrás", "client.dl.done": "El cliente del juego está listo", "client.dl.doneText": "Está vinculado a este servidor. Puedes pulsar PLAY.", diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts index f28f657..a85f712 100644 --- a/src/i18n/locales/fr.ts +++ b/src/i18n/locales/fr.ts @@ -651,6 +651,17 @@ const fr: Partial> = { "client.setup.getLauncher": "Obtenir le lanceur (coa-development.org)", "client.setup.getLauncherHint": "Ouvre le site de la communauté dans votre navigateur. Téléchargez et installez-y le lanceur, connectez-vous avec votre compte et laissez-le télécharger le jeu (environ 43 Go).", "client.setup.haveHint": "Choisissez le dossier où le lanceur a installé le jeu, ou toute autre copie du client.", + "client.setup.hdHint": "Les graphismes standard ou HD se choisissent dans le lanceur : ouvrez ses Paramètres et basculez « HD graphics ». Le Manager ne peut pas le modifier.", + "races.patch.active": "Patch client : actif", + "races.patch.disabled": "Patch client : désactivé (.disabled)", + "races.patch.notInstalled": "Patch client : non installé", + "races.patch.partial": "Patch client : {a}/{b} MPQ", + "races.patch.partialHint": "Des fichiers manquent ou ont changé. Réparez le patch client.", + "races.patch.install": "Installer le patch client", + "races.patch.repair": "Réparer le patch client", + "races.patch.uninstall": "Désinstaller le patch client", + "races.patch.willEnable": "Le patch sera activé après l'installation.", + "races.patch.willStayOff": "Le patch restera désactivé après l'installation : le module du serveur est désactivé ou absent.", "client.dl.back": "Retour", "client.dl.done": "Le client du jeu est prêt", "client.dl.doneText": "Il est lié à ce serveur. Vous pouvez appuyer sur PLAY.", diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.ts index a21855a..86e41ba 100644 --- a/src/i18n/locales/ru.ts +++ b/src/i18n/locales/ru.ts @@ -733,6 +733,17 @@ const ru: Partial> = { "client.setup.getLauncher": "Скачать лаунчер (coa-development.org)", "client.setup.getLauncherHint": "Откроет сайт сообщества в браузере. Скачайте и установите лаунчер, войдите в свой аккаунт и дайте ему скачать игру (около 43 ГБ).", "client.setup.haveHint": "Укажите папку, куда лаунчер установил игру, или любую другую копию клиента.", + "client.setup.hdHint": "Стандартная или HD-графика выбирается в лаунчере: откройте его «Настройки» и переключите «HD graphics». Менеджер этого изменить не может.", + "races.patch.active": "Патч клиента: Включен", + "races.patch.disabled": "Патч клиента: Отключен (.disabled)", + "races.patch.notInstalled": "Патч клиента: Не установлен", + "races.patch.partial": "Патч клиента: {a}/{b} MPQ", + "races.patch.partialHint": "Файлы отсутствуют или изменены. Восстановите патч клиента.", + "races.patch.install": "Установить патч клиента", + "races.patch.repair": "Восстановить патч клиента", + "races.patch.uninstall": "Удалить патч клиента", + "races.patch.willEnable": "После установки патч будет включён.", + "races.patch.willStayOff": "После установки патч останется отключённым: модуль сервера выключен или отсутствует.", "client.dl.back": "Назад", "client.dl.done": "Клиент игры готов", "client.dl.doneText": "Он привязан к этому серверу. Можно нажимать PLAY.", diff --git a/src/i18n/locales/zh.ts b/src/i18n/locales/zh.ts index b89c88c..e327a43 100644 --- a/src/i18n/locales/zh.ts +++ b/src/i18n/locales/zh.ts @@ -704,6 +704,17 @@ const zh = { "client.setup.getLauncher": "获取启动器(coa-development.org)", "client.setup.getLauncherHint": "在浏览器中打开社区网站。在那里下载并安装启动器,用你的账号登录,让它下载游戏(约 43 GB)。", "client.setup.haveHint": "选择启动器安装游戏的文件夹,或任何其他客户端副本。", + "client.setup.hdHint": "标准或高清画质在启动器中选择:打开启动器的“设置”,切换“HD graphics”。Manager 无法更改。", + "races.patch.active": "客户端补丁:已启用", + "races.patch.disabled": "客户端补丁:已停用 (.disabled)", + "races.patch.notInstalled": "客户端补丁:未安装", + "races.patch.partial": "客户端补丁:{a}/{b} MPQ", + "races.patch.partialHint": "文件缺失或已被修改。请修复客户端补丁。", + "races.patch.install": "安装客户端补丁", + "races.patch.repair": "修复客户端补丁", + "races.patch.uninstall": "卸载客户端补丁", + "races.patch.willEnable": "安装后补丁将被启用。", + "races.patch.willStayOff": "安装后补丁仍将保持停用:服务器模块已关闭或不存在。", "client.dl.back": "返回", "client.dl.done": "游戏客户端已就绪", "client.dl.doneText": "已成功关联至此服务器。你可以点击“开始游戏”了。", diff --git a/src/screens/ClientDialog.tsx b/src/screens/ClientDialog.tsx index 396cb4a..b66b3c3 100644 --- a/src/screens/ClientDialog.tsx +++ b/src/screens/ClientDialog.tsx @@ -85,6 +85,7 @@ export function ClientDialog(props: { {t("client.setup.haveHint")} +

{t("client.setup.hdHint")}

diff --git a/src/screens/ModulesPage.tsx b/src/screens/ModulesPage.tsx index 9aa63ae..007d1ad 100644 --- a/src/screens/ModulesPage.tsx +++ b/src/screens/ModulesPage.tsx @@ -282,29 +282,29 @@ export function ModulesPage({ serverId, onChanged, onRegisterGuard }: { serverId {racesPatchStatus?.state === "enabled" && ( - {locale === "ru" ? "Патч клиента: Включен" : "Client Patch: Active"} + {t("races.patch.active")} )} {racesPatchStatus?.state === "disabled" && ( - {locale === "ru" ? "Патч клиента: Отключен (.disabled)" : "Client Patch: Disabled (.disabled)"} + {t("races.patch.disabled")} )} {racesPatchStatus?.state === "not-installed" && ( - {locale === "ru" ? "Патч клиента: Не установлен" : "Client Patch: Not Installed"} + {t("races.patch.notInstalled")} )} {racesPatchStatus?.state === "partially-installed" && ( - {locale === "ru" ? `Патч клиента: ${racesPatchStatus.installedMpqs}/${racesPatchStatus.totalMpqs} MPQ` : `Client Patch: ${racesPatchStatus.installedMpqs}/${racesPatchStatus.totalMpqs} MPQ`} + {t("races.patch.partial", { a: racesPatchStatus.installedMpqs, b: racesPatchStatus.totalMpqs })} )} - {racesPatchStatus?.state === "partially-installed" &&

{locale === "ru" ? "Файлы отсутствуют или изменены. Восстановите патч клиента." : "Files are missing or changed. Repair the client patch."}

} + {racesPatchStatus?.state === "partially-installed" &&

{t("races.patch.partialHint")}

} {( )} - {racesPatchStatus && racesPatchStatus.state !== "not-installed" && } -

{locale === "ru" ? (m.enabled ? "После установки патч будет включён." : "После установки патч останется отключённым: модуль сервера выключен или отсутствует.") : (m.enabled ? "The patch will be enabled after installation." : "The patch will stay disabled after installation: the server module is off or missing.")}

+ {racesPatchStatus && racesPatchStatus.state !== "not-installed" && } +

{t(m.enabled ? "races.patch.willEnable" : "races.patch.willStayOff")}

)}