IDEA-241963 Devkit: support <separator> "key" in plugin.xml

use <actions> "resource-bundle"

GitOrigin-RevId: 520a940167609da4e52881accfbcd169cf5621d2
This commit is contained in:
Yann Cébron
2020-05-29 15:54:05 +02:00
committed by intellij-monorepo-bot
parent 48896aad15
commit 24ed54bee0
5 changed files with 36 additions and 8 deletions

View File

@@ -83,4 +83,12 @@
<separator key="<error descr="Cannot resolve property key">INVALID_KEY</error>"/>
</group>
</actions>
<actions resource-bundle="extensionI18nAnotherBundle">
<group id="separatorGroupWithCustomResourceBundle">
<separator key="another.key"/>
<separator key="<error descr="Cannot resolve property key">INVALID_KEY</error>"/>
</group>
</actions>
</idea-plugin>

View File

@@ -0,0 +1 @@
another.key=My Text

View File

@@ -124,7 +124,7 @@ class PluginXmlFunctionalTest extends JavaCodeInsightFixtureTestCase {
void testExtensionI18n() {
doHighlightingTest("extensionI18n.xml",
"extensionI18nBundle.properties")
"extensionI18nBundle.properties", "extensionI18nAnotherBundle.properties")
}
void testExtensionsHighlighting() {