IJPL-245533 [regexp] internationalize Explain RegExp family name

GitOrigin-RevId: 640d7d44a1ffdb5d605495db1357139112f3f351
This commit is contained in:
Bas Leijdekkers
2026-05-27 19:44:25 +00:00
committed by intellij-monorepo-bot
parent e17a22e7ba
commit abcc22c75a
2 changed files with 3 additions and 1 deletions
@@ -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.<br>\
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. <code>$1</code>).<br><br>\
<a href="action://regexp.profile.action.provider.add.group">Add Custom RegExp Inspection\u2026</a>
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
@@ -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