mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 02:31:11 +00:00
Application does not need restart for language change.
This commit is contained in:
@@ -36,4 +36,8 @@ public abstract class AppDialog extends JDialog {
|
||||
public String translate(String key) {
|
||||
return resourceBundle.getString(key);
|
||||
}
|
||||
|
||||
public void updateLanguage(){
|
||||
resourceBundle = ResourceBundle.getBundle(AppStrings.getResourcePath(getClass()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user