From b65104e38ba9f249b222d754a35b30e546e79d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=9E=E5=BA=90?= <109708109+CiiLu@users.noreply.github.com> Date: Mon, 31 Aug 2026 21:25:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BF=AE=E6=94=B9=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B=E6=B8=B8=E6=88=8F=E7=89=88=E6=9C=AC=E9=A1=B5=E6=A0=87?= =?UTF-8?q?=E9=A2=98=20(#6778)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hmcl/ui/download/AdditionalInstallersPage.java | 6 ++++-- HMCL/src/main/resources/assets/lang/I18N.properties | 1 + HMCL/src/main/resources/assets/lang/I18N_zh.properties | 1 + HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/AdditionalInstallersPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/AdditionalInstallersPage.java index 73a7d64536..14306d1951 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/AdditionalInstallersPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/AdditionalInstallersPage.java @@ -22,7 +22,9 @@ import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import org.jackhuang.hmcl.download.DownloadProvider; import org.jackhuang.hmcl.download.RemoteVersion; -import org.jackhuang.hmcl.game.*; +import org.jackhuang.hmcl.game.GameComponentType; +import org.jackhuang.hmcl.game.GameInstanceManifest; +import org.jackhuang.hmcl.game.HMCLGameInstance; import org.jackhuang.hmcl.ui.InstallerItem; import org.jackhuang.hmcl.ui.wizard.WizardController; import org.jackhuang.hmcl.util.Lang; @@ -67,7 +69,7 @@ class AdditionalInstallersPage extends AbstractInstallersPage { @Override public String getTitle() { - return i18n("settings.tabs.installers"); + return i18n("install.change_version.title", instance.getId().id()); } private String getVersion(GameComponentType type) { diff --git a/HMCL/src/main/resources/assets/lang/I18N.properties b/HMCL/src/main/resources/assets/lang/I18N.properties index b06e2c413e..651f5cac89 100644 --- a/HMCL/src/main/resources/assets/lang/I18N.properties +++ b/HMCL/src/main/resources/assets/lang/I18N.properties @@ -745,6 +745,7 @@ input.url=The input must be a valid URL. install=New Instance install.change_version=Change Version +install.change_version.title=Change Version - %1s install.change_version.confirm=Are you sure you want to switch %1$s from version %2$s to %3$s? install.change_version.process=Change Version Process install.failed=Failed to install diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh.properties b/HMCL/src/main/resources/assets/lang/I18N_zh.properties index 3f95224821..3e0ca35f55 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh.properties @@ -557,6 +557,7 @@ input.url=必須是有效連結 install=新增實例 install.change_version=變更版本 +install.change_version.title=變更版本 - %1s install.change_version.confirm=你確定要將 %s 從 %s 更新到 %s 嗎? install.change_version.process=變更版本 install.failed=安裝失敗 diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties b/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties index c8c594a444..0331188d4d 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties @@ -563,6 +563,7 @@ input.url=必须是合法的链接 install=添加实例 install.change_version=更换版本 +install.change_version.title=更换版本 - %1s install.change_version.confirm=你确定要将 %s 从 %s 更换成 %s 吗? install.change_version.process=更换版本 install.failed=安装失败