diff --git a/RegExpSupport/resources/messages/RegExpBundle.properties b/RegExpSupport/resources/messages/RegExpBundle.properties index 134492e4ecfc..b285ac2a80ce 100644 --- a/RegExpSupport/resources/messages/RegExpBundle.properties +++ b/RegExpSupport/resources/messages/RegExpBundle.properties @@ -128,6 +128,7 @@ inspection.tree.create.inspection=Using a RegExp\u2026 inspection.tree.group.description=Use the + button in the toolbar to create a new RegExp inspection.
\ RegExp inspections highlight code snippets matching the specified regular expression. A quick-fix can be provided by adding a string template which may contain group references (e.g. $1).

\ Add Custom RegExp Inspection\u2026 +intention.family.name.explain.regular.expression=Explain regular expression intention.family.name.flip.elements=Flip elements intention.family.name.replace=Replace intention.name.check.regexp=Check RegExp diff --git a/RegExpSupport/src/org/intellij/lang/regexp/intention/ExplainRegExpIntention.java b/RegExpSupport/src/org/intellij/lang/regexp/intention/ExplainRegExpIntention.java index a0111bb7ad5c..f740712543aa 100644 --- a/RegExpSupport/src/org/intellij/lang/regexp/intention/ExplainRegExpIntention.java +++ b/RegExpSupport/src/org/intellij/lang/regexp/intention/ExplainRegExpIntention.java @@ -33,6 +33,7 @@ import com.intellij.util.SmartList; import com.intellij.util.ui.JBUI; import com.intellij.util.ui.UIUtil; import com.intellij.util.ui.tree.TreeUtil; +import org.intellij.lang.regexp.RegExpBundle; import org.intellij.lang.regexp.RegExpFile; import org.intellij.lang.regexp.RegExpLanguage; import org.intellij.lang.regexp.RegExpLanguageHosts; @@ -247,7 +248,7 @@ public final class ExplainRegExpIntention implements IntentionAction, Iconable, @Override public @NotNull String getFamilyName() { - return "Explain regular expression"; + return RegExpBundle.message("intention.family.name.explain.regular.expression"); } @Override