mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
i18n for java structure view
remove replacing "Show" with "" GitOrigin-RevId: 6f947c605c177f72434aa668d8c85f25c133351e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0cc7d63555
commit
ae4940c100
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.ide.structureView.impl.java;
|
||||
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.ide.structureView.impl.common.PsiTreeElementBase;
|
||||
import com.intellij.ide.util.FileStructureNodeProvider;
|
||||
import com.intellij.ide.util.treeView.smartTree.ActionPresentation;
|
||||
@@ -15,6 +16,7 @@ import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.psi.PsiAnonymousClass;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.util.PlatformIcons;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -27,8 +29,8 @@ import java.util.List;
|
||||
*/
|
||||
public class JavaAnonymousClassesNodeProvider
|
||||
implements FileStructureNodeProvider<JavaAnonymousClassTreeElement>, PropertyOwner, DumbAware {
|
||||
public static final String ID = "SHOW_ANONYMOUS";
|
||||
public static final String JAVA_ANONYMOUS_PROPERTY_NAME = "java.anonymous.provider";
|
||||
@NonNls public static final String ID = "SHOW_ANONYMOUS";
|
||||
@NonNls public static final String JAVA_ANONYMOUS_PROPERTY_NAME = "java.anonymous.provider";
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
@@ -54,7 +56,7 @@ public class JavaAnonymousClassesNodeProvider
|
||||
@NotNull
|
||||
@Override
|
||||
public String getCheckBoxText() {
|
||||
return "Show Anonymous Classes";
|
||||
return IdeBundle.message("file.structure.toggle.show.anonymous.classes");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
package com.intellij.ide.structureView.impl.java;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.ide.structureView.impl.common.PsiTreeElementBase;
|
||||
import com.intellij.ide.util.FileStructureNodeProvider;
|
||||
import com.intellij.ide.util.treeView.smartTree.ActionPresentation;
|
||||
@@ -16,15 +17,15 @@ import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiLambdaExpression;
|
||||
import com.intellij.psi.PsiMember;
|
||||
import com.intellij.psi.SyntaxTraverser;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public class JavaLambdaNodeProvider
|
||||
implements FileStructureNodeProvider<JavaLambdaTreeElement>, PropertyOwner, DumbAware {
|
||||
public static final String ID = "SHOW_LAMBDA";
|
||||
public static final String JAVA_LAMBDA_PROPERTY_NAME = "java.lambda.provider";
|
||||
public class JavaLambdaNodeProvider implements FileStructureNodeProvider<JavaLambdaTreeElement>, PropertyOwner, DumbAware {
|
||||
@NonNls public static final String ID = "SHOW_LAMBDA";
|
||||
@NonNls public static final String JAVA_LAMBDA_PROPERTY_NAME = "java.lambda.provider";
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
@@ -44,7 +45,7 @@ public class JavaLambdaNodeProvider
|
||||
@NotNull
|
||||
@Override
|
||||
public String getCheckBoxText() {
|
||||
return "Show Lambdas";
|
||||
return IdeBundle.message("file.structure.toggle.show.collapse.show.lambdas");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user