mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 14:58:57 +00:00
Issue #508 Support for OS without GUI / initLang
This commit is contained in:
@@ -750,6 +750,9 @@ public class Main {
|
||||
}
|
||||
|
||||
public static void initLang() {
|
||||
if(GraphicsEnvironment.isHeadless()){ //No GUI in OS
|
||||
return;
|
||||
}
|
||||
Locale.setDefault(Locale.forLanguageTag(Configuration.locale.get()));
|
||||
AppStrings.updateLanguage();
|
||||
ErrorLogFrame.createNewInstance();
|
||||
|
||||
Reference in New Issue
Block a user