[devkit] AbstractRegisterFix: fix getFamilyName() contract

This commit is contained in:
Yann Cébron
2017-06-28 10:41:55 +02:00
parent 3aaf33bd1c
commit c9bab235fc
2 changed files with 2 additions and 2 deletions
@@ -144,7 +144,7 @@ inspections.component.not.registered.name=Component/Action not registered
inspections.component.not.registered.message={0} is not registered in plugin.xml
inspections.component.not.registered.option.check.actions=Check Actions
inspections.component.not.registered.option.ignore.non.public=Ignore non-public classes
inspections.component.not.registered.quickfix.family=Register Component
inspections.component.not.registered.quickfix.family=Register {0}
inspections.component.not.registered.quickfix.name=Register {0}
inspections.component.not.registered.quickfix.error=Cannot Register {0}
@@ -49,7 +49,7 @@ abstract class AbstractRegisterFix implements LocalQuickFix, DescriptorUtil.Patc
@NotNull
public String getFamilyName() {
return DevKitBundle.message("inspections.component.not.registered.quickfix.family");
return DevKitBundle.message("inspections.component.not.registered.quickfix.family", StringUtil.toLowerCase(getType()));
}
@Override