mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
regexp: internationalize regexp checker default sample text
GitOrigin-RevId: a8b76b48c442b66626e4e1f347846112ed10076f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
77fd895afb
commit
e700183f6f
@@ -148,3 +148,4 @@ warning.duplicate.predefined.character.class.0.inside.character.class=Duplicate
|
||||
weak.warning.fixed.repetition.range=Fixed repetition range
|
||||
weak.warning.repetition.range.replaceable.by.0=Repetition range replaceable by ''{0}''
|
||||
weak.warning.single.repetition=Single repetition
|
||||
checker.sample.text=Sample Text
|
||||
|
||||
@@ -102,7 +102,8 @@ public class CheckRegExpForm {
|
||||
};
|
||||
setupIcon(myRegExp, myRegExpIcon);
|
||||
|
||||
final String sampleText = PropertiesComponent.getInstance(project).getValue(LAST_EDITED_REGEXP, "Sample Text");
|
||||
final String sampleText = PropertiesComponent.getInstance(project).getValue(LAST_EDITED_REGEXP,
|
||||
RegExpBundle.message("checker.sample.text"));
|
||||
mySampleText = new EditorTextField(sampleText, project, PlainTextFileType.INSTANCE) {
|
||||
@Override
|
||||
protected EditorEx createEditor() {
|
||||
|
||||
Reference in New Issue
Block a user