diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java index b00e6621f..e7a263014 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java @@ -75,6 +75,7 @@ public class GameCrashWindow extends Stage { private final StringProperty arch = new SimpleStringProperty(Architecture.SYSTEM_ARCHITECTURE); private final StringProperty reason = new SimpleStringProperty(i18n("game.crash.reason.unknown")); private final BooleanProperty loading = new SimpleBooleanProperty(); + private final Label feedbackLabel = new Label(i18n("game.crash.feedback")); private final ManagedProcess managedProcess; private final DefaultGameRepository repository; @@ -163,6 +164,8 @@ public class GameCrashWindow extends Stage { } else { reason.set(i18n("game.crash.reason.unknown")); } + + feedbackLabel.setVisible(true); } else { reason.set(reasonText.toString()); } @@ -328,7 +331,7 @@ public class GameCrashWindow extends Stage { toolBar.setPadding(new Insets(8)); toolBar.setSpacing(8); toolBar.getStyleClass().add("jfx-tool-bar"); - toolBar.getChildren().setAll(exportGameCrashInfoButton, logButton); + toolBar.getChildren().setAll(exportGameCrashInfoButton, logButton, feedbackLabel); } getChildren().setAll(titlePane, infoPane, gameDirPane, toolBar); diff --git a/HMCL/src/main/resources/assets/lang/I18N.properties b/HMCL/src/main/resources/assets/lang/I18N.properties index b0371c721..baf360b1e 100644 --- a/HMCL/src/main/resources/assets/lang/I18N.properties +++ b/HMCL/src/main/resources/assets/lang/I18N.properties @@ -321,6 +321,7 @@ folder.saves=Saves folder.screenshots=Screenshots game=Game +game.crash.feedback=Is the problem so common, but we didn't figure out the reason? Give us feedback in the feedback page! game.crash.info=Game Status game.crash.reason=Crash Analyzer game.crash.reason.analyzing=Analyzing... diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh.properties b/HMCL/src/main/resources/assets/lang/I18N_zh.properties index e9f37cd92..f22b9ec5f 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh.properties @@ -321,6 +321,7 @@ folder.saves=遊戲存檔資料夾 folder.screenshots=截圖資料夾 game=遊戲 +game.crash.feedback=查看了日誌發現問題很常見?在回饋頁面提交回饋豐富崩潰分析系統! game.crash.info=遊戲訊息 game.crash.reason=崩潰原因 game.crash.reason.analyzing=分析中... 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 69dad18fa..88bc16cee 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties @@ -321,6 +321,7 @@ folder.saves=存档文件夹 folder.screenshots=截图文件夹 game=游戏 +game.crash.feedback=查看了日志发现问题很常见?在反馈页面提交反馈丰富崩溃分析系统! game.crash.info=游戏信息 game.crash.reason=崩溃原因 game.crash.reason.analyzing=分析中...