mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 15:50:45 +00:00
Application does not need restart for language change.
This commit is contained in:
@@ -43,4 +43,8 @@ public class AppStrings {
|
||||
ResourceBundle b = ResourceBundle.getBundle(bundle);
|
||||
return b.getString(key);
|
||||
}
|
||||
|
||||
public static void updateLanguage(){
|
||||
resourceBundle = ResourceBundle.getBundle(getResourcePath(MainFrame.class));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user