diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/MessageDialogPane.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/MessageDialogPane.java index 29d6b5d369..02ab26642a 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/MessageDialogPane.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/MessageDialogPane.java @@ -98,7 +98,7 @@ public MessageDialogPane(@NotNull String text, @Nullable String title, @NotNull { StackPane titlePane = new StackPane(); titlePane.getStyleClass().addAll("jfx-layout-heading", "title"); - titlePane.getChildren().setAll(new Label(title != null ? title : i18n("message.info"))); + titlePane.getChildren().setAll(new Label(title != null ? title : type.getDisplayName())); StackPane content = new StackPane(); content.getStyleClass().add("jfx-layout-body"); diff --git a/HMCL/src/main/resources/assets/lang/I18N.properties b/HMCL/src/main/resources/assets/lang/I18N.properties index 8019274886..f4a0a38096 100644 --- a/HMCL/src/main/resources/assets/lang/I18N.properties +++ b/HMCL/src/main/resources/assets/lang/I18N.properties @@ -864,6 +864,7 @@ message.info=Information message.success=Operation successfully completed message.unknown=Unknown message.warning=Warning +message.question=Question modpack=Modpacks modpack.choose=Choose Modpack diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh.properties b/HMCL/src/main/resources/assets/lang/I18N_zh.properties index be67e7a6a8..cdd697a541 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh.properties @@ -671,6 +671,7 @@ message.info=提示 message.success=完成 message.unknown=未知 message.warning=警告 +message.question=確認 modpack=模組包 modpack.choose=選取要安裝的遊戲模組包檔案 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 119d94a70e..8be774d04d 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties @@ -681,6 +681,7 @@ message.info=提示 message.success=完成 message.unknown=未知 message.warning=警告 +message.question=确认 modpack=整合包 modpack.choose=选择要安装的游戏整合包文件