diff --git a/images/src/META-INF/ImagesPlugin.xml b/images/src/META-INF/ImagesPlugin.xml index 7a7bf2602548..0621d51b6e16 100644 --- a/images/src/META-INF/ImagesPlugin.xml +++ b/images/src/META-INF/ImagesPlugin.xml @@ -4,7 +4,7 @@ - + existingProfileNames = myPanels.keySet(); diff --git a/platform/platform-api/src/com/intellij/openapi/options/ConfigurableEP.java b/platform/platform-api/src/com/intellij/openapi/options/ConfigurableEP.java index c11a61eba433..eb55a8626b47 100644 --- a/platform/platform-api/src/com/intellij/openapi/options/ConfigurableEP.java +++ b/platform/platform-api/src/com/intellij/openapi/options/ConfigurableEP.java @@ -15,6 +15,8 @@ */ package com.intellij.openapi.options; +import com.intellij.AbstractBundle; +import com.intellij.CommonBundle; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.extensions.AbstractExtensionPointBean; @@ -30,6 +32,8 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.picocontainer.PicoContainer; +import java.util.ResourceBundle; + /** * @author nik * @see Configurable @@ -47,6 +51,12 @@ public class ConfigurableEP extends AbstractExtensionPointBean { @Attribute("bundle") public String bundle; + public String getDisplayName() { + if (displayName != null) return displayName; + final ResourceBundle resourceBundle = AbstractBundle.getResourceBundle(bundle, myPluginDescriptor.getPluginClassLoader()); + return displayName = CommonBundle.message(resourceBundle, key); + } + @Property(surroundWithTag = false) @AbstractCollection(surroundWithTag = false) public ConfigurableEP[] children; diff --git a/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java b/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java index 2998045167dc..b0d7869e8a55 100644 --- a/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java +++ b/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java @@ -72,7 +72,7 @@ public class ConfigurableWrapper implements SearchableConfigurable, Configurable @Nls @Override public String getDisplayName() { - return myEp.displayName == null ? getConfigurable().getDisplayName() : myEp.displayName; + return myEp.getDisplayName(); } @Nullable diff --git a/platform/platform-resources/src/META-INF/LangExtensions.xml b/platform/platform-resources/src/META-INF/LangExtensions.xml index 72b413b849f8..e9dfbe987336 100644 --- a/platform/platform-resources/src/META-INF/LangExtensions.xml +++ b/platform/platform-resources/src/META-INF/LangExtensions.xml @@ -354,22 +354,27 @@ - + - + - + - + - + - - + - + - + - + - - - + + + - + @@ -240,7 +245,8 @@ - + diff --git a/plugins/android/src/META-INF/plugin.xml b/plugins/android/src/META-INF/plugin.xml index da7094e0ffa2..646b8ff59747 100644 --- a/plugins/android/src/META-INF/plugin.xml +++ b/plugins/android/src/META-INF/plugin.xml @@ -185,80 +185,80 @@ enabledByDefault="true" level="ERROR" implementationClass="org.jetbrains.android.inspections.AndroidNonConstantResIdsInSwitchInspection"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/github/src/META-INF/plugin.xml b/plugins/github/src/META-INF/plugin.xml index 10745c9f29fc..53121632cb37 100644 --- a/plugins/github/src/META-INF/plugin.xml +++ b/plugins/github/src/META-INF/plugin.xml @@ -13,7 +13,8 @@ - + diff --git a/plugins/gradle/src/META-INF/plugin.xml b/plugins/gradle/src/META-INF/plugin.xml index 1b092d828be2..06a7b7e495d0 100644 --- a/plugins/gradle/src/META-INF/plugin.xml +++ b/plugins/gradle/src/META-INF/plugin.xml @@ -27,7 +27,8 @@ - + diff --git a/plugins/groovy/src/META-INF/plugin.xml b/plugins/groovy/src/META-INF/plugin.xml index d1e5cd244d09..53849163cf10 100644 --- a/plugins/groovy/src/META-INF/plugin.xml +++ b/plugins/groovy/src/META-INF/plugin.xml @@ -182,7 +182,8 @@ - + diff --git a/plugins/ui-designer/src/META-INF/plugin.xml b/plugins/ui-designer/src/META-INF/plugin.xml index 5360f4f9a2a5..1b4122c81cd0 100644 --- a/plugins/ui-designer/src/META-INF/plugin.xml +++ b/plugins/ui-designer/src/META-INF/plugin.xml @@ -33,7 +33,8 @@ - + diff --git a/plugins/xpath/xpath-view/src/META-INF/plugin.xml b/plugins/xpath/xpath-view/src/META-INF/plugin.xml index d0ba4938f8c6..ea18a4052590 100644 --- a/plugins/xpath/xpath-view/src/META-INF/plugin.xml +++ b/plugins/xpath/xpath-view/src/META-INF/plugin.xml @@ -59,7 +59,7 @@ serviceInterface="org.intellij.lang.xpath.xslt.psi.XsltElementFactory" serviceImplementation="org.intellij.lang.xpath.xslt.psi.impl.XsltElementFactoryImpl" /> - + XSLT - - + + diff --git a/resources/src/idea/RichPlatformPlugin.xml b/resources/src/idea/RichPlatformPlugin.xml index 05fedd8849e7..57b60a8a37ce 100644 --- a/resources/src/idea/RichPlatformPlugin.xml +++ b/resources/src/idea/RichPlatformPlugin.xml @@ -263,9 +263,11 @@ - + - +