mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rename
GitOrigin-RevId: 8c5bcc15a2466fc922893a9cbcbdb363adb3a840
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3748be8b9b
commit
6bc44a9037
@@ -13,7 +13,7 @@ public class LanguageBundleListener implements ApplicationInitializedListener {
|
||||
PluginDescriptor pd = langBundle != null ? langBundle.getPluginDescriptor() : null;
|
||||
if (pd == null) return;
|
||||
ClassLoader pluginClassLoader = pd.getPluginClassLoader();
|
||||
CommonBundle.setBundle(pluginClassLoader);
|
||||
CommonBundle.loadBundleFromPlugin(pluginClassLoader);
|
||||
UIBundle.setBundle(pluginClassLoader);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ public final class CommonBundle extends BundleBase {
|
||||
return SystemInfo.isMac ? message("action.settings.path.mac") : message("action.settings.path");
|
||||
}
|
||||
|
||||
public static void setBundle(@Nullable ClassLoader pluginClassLoader) {
|
||||
public static void loadBundleFromPlugin(@Nullable ClassLoader pluginClassLoader) {
|
||||
ResourceBundle bundle = loadLanguageBundle(pluginClassLoader, BUNDLE);
|
||||
if (bundle != null) ourBundle = bundle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user