diff --git a/java/java-impl/src/com/intellij/codeInsight/daemon/impl/JavaLensProvider.java b/java/java-impl/src/com/intellij/codeInsight/daemon/impl/JavaLensProvider.java index a33bb07b781a..988cb2f15fb0 100644 --- a/java/java-impl/src/com/intellij/codeInsight/daemon/impl/JavaLensProvider.java +++ b/java/java-impl/src/com/intellij/codeInsight/daemon/impl/JavaLensProvider.java @@ -1,7 +1,6 @@ // 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.codeInsight.daemon.impl; -import com.intellij.CommonBundle; import com.intellij.codeInsight.daemon.GutterIconNavigationHandler; import com.intellij.codeInsight.daemon.impl.analysis.JavaLensSettings; import com.intellij.codeInsight.daemon.impl.analysis.JavaTelescope; @@ -9,6 +8,7 @@ import com.intellij.codeInsight.hints.*; import com.intellij.codeInsight.hints.presentation.*; import com.intellij.codeInsight.hints.settings.InlayHintsConfigurable; import com.intellij.codeInsight.navigation.actions.GotoDeclarationAction; +import com.intellij.java.JavaBundle; import com.intellij.lang.Language; import com.intellij.openapi.editor.BlockInlayPriority; import com.intellij.openapi.editor.Document; @@ -222,7 +222,7 @@ public class JavaLensProvider implements InlayHintsProvider { @NotNull @Override public String getName() { - return CommonBundle.message("title.lenses"); + return JavaBundle.message("title.lenses"); } @NotNull diff --git a/java/openapi/resources/messages/JavaBundle.properties b/java/openapi/resources/messages/JavaBundle.properties index ef24fb0f8325..504aa846c50c 100644 --- a/java/openapi/resources/messages/JavaBundle.properties +++ b/java/openapi/resources/messages/JavaBundle.properties @@ -1160,3 +1160,4 @@ wrapping.annotation.parameters=Annotation parameters wrapping.record.components=Record components wrapping.text.blocks=Text blocks wrong.package.statement=Wrong package statement +title.lenses=Code Vision diff --git a/platform/platform-api/resources/messages/CommonBundle.properties b/platform/platform-api/resources/messages/CommonBundle.properties index 4f467e28f734..18c228730c42 100644 --- a/platform/platform-api/resources/messages/CommonBundle.properties +++ b/platform/platform-api/resources/messages/CommonBundle.properties @@ -91,7 +91,6 @@ label.source.root=Source root label.prefix=Prefix title.pull.up=Pull up -title.lenses=Lenses title.lambda=Lambda title.output=Output title.input=Input