优化修改实例游戏版本页标题 (#6778)

This commit is contained in:
辞庐 authored and GitHub committed 2026-08-31 21:25:25 +08:00
1 parent 8629a2bbe3
commit b65104e38b
4 files changed
+7 -2

No files matched your search

@@ -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) {
@@ -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
@@ -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=安裝失敗
@@ -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=安装失败