mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-19 19:12:05 +00:00
AS1/2 Add new frame script
This commit is contained in:
@@ -59,6 +59,10 @@ public abstract class AppDialog extends JDialog {
|
||||
return resourceBundle.getString(key);
|
||||
}
|
||||
|
||||
public static String translateForDialog(String key, Class cls) {
|
||||
return ResourceBundle.getBundle(AppStrings.getResourcePath(cls)).getString(key);
|
||||
}
|
||||
|
||||
public void updateLanguage() {
|
||||
resourceBundle = ResourceBundle.getBundle(AppStrings.getResourcePath(getClass()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user