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=安装失败