Skip to content

Commit 735ee7d

Browse files
author
m.mezhensky
committed
#45: change message name
1 parent 573c394 commit 735ee7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/magento2/validation.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ validator.file.alreadyExists={0} already exists
1010
validator.file.cantBeCreated={0} can't be created
1111
validator.class.alreadyDeclared={0} already declared in the target module
1212
validator.magentoVersionInvalid=Please specify valid Magento version or use 'any' keyword as default
13-
validator.magentoNotExistTargetClass=Target class is not found. Check the di.xml file
13+
validator.class.targetClassNotFound=Target class is not found. Check the di.xml file

src/com/magento/idea/magento2plugin/actions/generation/PluginGenerateMethodHandlerBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ protected PhpNamedElementNode[] targetMethods(@NotNull PhpClass phpClass, Key<Ob
164164
PhpClass targetClass = GetPhpClassByFQN.getInstance(phpClass.getProject()).execute(targetClassName);
165165

166166
if (targetClass == null) {
167-
String errorMessage = validatorBundle.message("validator.magentoNotExistTargetClass");
167+
String errorMessage = validatorBundle.message("validator.class.targetClassNotFound");
168168
JOptionPane.showMessageDialog(null, errorMessage, "Error", JOptionPane.ERROR_MESSAGE);
169169
continue;
170170
}

0 commit comments

Comments
 (0)