mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-09 07:20:04 -04:00
replace localized exception messages with english ones
This commit is contained in:
parent
2f84f9b75a
commit
06b4647008
@ -77,7 +77,7 @@ public final class Minosoft {
|
||||
// Do not translate this, translations might fail to load...
|
||||
dialog.setTitle("Critical Error");
|
||||
dialog.setHeaderText("An error occurred while starting Minosoft");
|
||||
TextArea text = new TextArea(exception.getClass().getCanonicalName() + ": " + exception.getLocalizedMessage());
|
||||
TextArea text = new TextArea(exception.getClass().getCanonicalName() + ": " + exception.getMessage());
|
||||
text.setEditable(false);
|
||||
text.setWrapText(true);
|
||||
dialog.getDialogPane().setContent(text);
|
||||
|
@ -194,7 +194,7 @@ public class ServerListCell extends ListCell<Server> implements Initializable {
|
||||
version.setStyle("-fx-text-fill: red;");
|
||||
optionsConnect.setDisable(true);
|
||||
canConnect = false;
|
||||
setErrorMotd(String.format("%s: %s", server.getLastPing().getLastConnectionException().getClass().getCanonicalName(), server.getLastPing().getLastConnectionException().getLocalizedMessage()));
|
||||
setErrorMotd(String.format("%s: %s", server.getLastPing().getLastConnectionException().getClass().getCanonicalName(), server.getLastPing().getLastConnectionException().getMessage()));
|
||||
}
|
||||
})));
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ public class AsyncTaskWorker {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (task.getImportance() == TaskImportance.REQUIRED) {
|
||||
Log.fatal(String.format("Task %s (%s) failed: %s", task.getTaskName(), task.getTaskDescription(), e.getLocalizedMessage()));
|
||||
Log.fatal(String.format("Task %s (%s) failed: %s", task.getTaskName(), task.getTaskDescription(), e.getMessage()));
|
||||
if (exceptionRunnable != null) {
|
||||
exceptionRunnable.onFatal(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user