IDEA-272483 Change button text in source selection prompt

GitOrigin-RevId: 4a117fb2e57f3f1785171cca033cc6b3aadde5af
This commit is contained in:
Egor Ushakov
2021-06-25 16:36:22 +00:00
committed by intellij-monorepo-bot
parent 4a32bdda2e
commit f4175d6983
4 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2021 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.
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.debugger.ui;
import com.intellij.debugger.DebuggerManagerEx;
@@ -184,7 +184,7 @@ public final class AlternativeSourceNotificationProvider extends EditorNotificat
}
});
myLinksPanel.add(switcher);
createActionLabel(JavaDebuggerBundle.message("action.disable.text"), () -> {
createActionLabel(JavaDebuggerBundle.message("action.hide.text"), () -> {
DebuggerSettings.getInstance().SHOW_ALTERNATIVE_SOURCE = false;
setFileProcessed(file, false);
FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);

View File

@@ -297,7 +297,7 @@ add.field.breakpoint.dialog.field.chooser.title={0,choice, 0#Class has no fields
label.add.wildcard.breakpoint.dialog.method.name=&Method name:
label.add.wildcard.breakpoint.dialog.class.pattern=&Class pattern:
breakpoint.any.exception.display.name=Any exception
action.disable.text=Disable
action.hide.text=Hide
default.package.name=<Default>
class.filters.dialog.title=Class Filters
class.filters.dialog.inclusion.filters.group=Include

View File

@@ -2,7 +2,7 @@ find.inline.calls.task.compute.names=Compute class names for declaration {0}
find.inline.calls.task.cancelled=Debugger can skip some executions of {0} because the computation of class names was interrupted
alternative.sources.notification.title=Alternative source available for file {0}
alternative.sources.notification.disable=Disable
alternative.sources.notification.hide=Hide
function.breakpoint.tab.title=Kotlin Function Breakpoints
function.breakpoint.initialize=Initialize function breakpoint

View File

@@ -132,7 +132,7 @@ class KotlinAlternativeSourceNotificationProvider(private val myProject: Project
},
)
createActionLabel(KotlinDebuggerCoreBundle.message("alternative.sources.notification.disable")) {
createActionLabel(KotlinDebuggerCoreBundle.message("alternative.sources.notification.hide")) {
DebuggerSettings.getInstance().SHOW_ALTERNATIVE_SOURCE = false
FILE_PROCESSED_KEY.set(file, null)
val fileEditorManager = FileEditorManager.getInstance(project)