i18n: update bundle for jvm-debugger

This commit is contained in:
Dmitry Gridin
2020-03-10 21:50:56 +07:00
parent d348d4418e
commit f66e985821
11 changed files with 45 additions and 15 deletions
@@ -18,4 +18,7 @@ variables.calculate.delegated.property.values=Calculate values of delegated prop
field.watchpoint.tab.title=Kotlin Field Watchpoints
field.watchpoint.properties.access=Field &access
field.watchpoint.properties.modification=Field &modification
field.watchpoint.properties.initialization=Field &initialization
field.watchpoint.properties.initialization=Field &initialization
couldn.t.find.0.class=Couldn''t find ''{0}'' class
process.resumed=Process resumed
stepping.over.inline=Stepping over inline
@@ -76,7 +76,7 @@ class KotlinFieldBreakpointType :
val psiClass = JavaPsiFacade.getInstance(project).findClass(className, GlobalSearchScope.allScope(project))
if (psiClass !is KtLightClass) {
reportError(project, "Couldn't find '$className' class")
reportError(project, KotlinDebuggerCoreBundle.message("couldn.t.find.0.class", className))
return false
}
@@ -28,6 +28,7 @@ import com.intellij.openapi.project.Project
import com.intellij.util.EventDispatcher
import com.sun.jdi.request.EventRequest
import com.sun.jdi.request.StepRequest
import org.jetbrains.kotlin.idea.debugger.KotlinDebuggerCoreBundle
import java.lang.reflect.Field
// Mass-copy-paste code for commands behaviour from com.intellij.debugger.engine.DebugProcessImpl
@@ -126,7 +127,7 @@ class KotlinStepActionFactory(private val debuggerProcess: DebugProcessImpl) {
// See: StepIntoCommand.contextAction()
override fun contextAction(suspendContext: SuspendContextImpl) {
showStatusText("Stepping over inline")
showStatusText(KotlinDebuggerCoreBundle.message("stepping.over.inline"))
val stepThread = getContextThread(suspendContext)
if (stepThread == null) {
@@ -148,7 +149,7 @@ class KotlinStepActionFactory(private val debuggerProcess: DebugProcessImpl) {
doStep(suspendContext, stepThread, myStepSize, StepRequest.STEP_OVER, hint)
showStatusText("Process resumed")
showStatusText(KotlinDebuggerCoreBundle.message("process.resumed"))
resumeAction(suspendContext, stepThread)
debugProcessDispatcher.multicaster.resumed(suspendContext)
}