Skip to content

Commit 7fa3729

Browse files
committed
Support form "help" option inside translations
1 parent 44c6a0c commit 7fa3729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/form/FormTypeReferenceContributor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public PsiReference[] getReferencesByElement(@NotNull PsiElement psiElement, @No
8484
String keyString = key.getContents();
8585

8686
// @TODO: how to handle custom bundle fields like help_block
87-
if(keyString.equals("label") || keyString.equals("help_block") || keyString.equals("help_inline") || keyString.equals("placeholder")) {
87+
if(keyString.equals("label") || keyString.equals("help_block") || keyString.equals("help_inline") || keyString.equals("placeholder") || keyString.equals("help")) {
8888
// translation_domain in current array block
8989

9090
String translationDomain = FormOptionsUtil.getTranslationFromScope(arrayCreation);

0 commit comments

Comments
 (0)