generalize "non-project classes" to "... items"

This commit is contained in:
Gregory.Shrago
2018-03-02 20:21:45 +03:00
parent 2a54405433
commit abe869af6d
2 changed files with 2 additions and 3 deletions
@@ -25,7 +25,6 @@ import com.intellij.navigation.GotoClassContributor;
import com.intellij.navigation.NavigationItem;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiElement;
import com.intellij.util.ArrayUtil;
import com.intellij.util.containers.ContainerUtil;
@@ -68,7 +67,7 @@ public class GotoClassModel2 extends FilteringGotoByModel<Language> {
@Override
public String getCheckBoxName() {
return IdeBundle.message("checkbox.include.non.project.classes", StringUtil.pluralize(GotoClassPresentationUpdater.getMainElementKind()));
return IdeBundle.message("checkbox.include.non.project.classes");
}
@Override
@@ -720,7 +720,7 @@ title.customizations=Menus and Toolbars
label.choosebyname.no.matches.found=No matches found
label.choosebyname.searching=Searching...
prompt.gotoclass.enter.class.name=Enter {0} name:
checkbox.include.non.project.classes=Include &non-&&project {0}
checkbox.include.non.project.classes=Include &non-&&project items
label.no.matches.found.in.project=No matches found in project
label.no.matches.found=no matches found
prompt.gotofile.enter.file.name=Enter file name: