according to ui guidelines, replaced yes/no with reload/cancel in hotswap dialog
authorEgor Ushakov <egor.ushakov@jetbrains.com>
Wed, 12 Aug 2020 09:55:30 +0000 (12:55 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 12 Aug 2020 09:56:36 +0000 (09:56 +0000)
GitOrigin-RevId: eddf8dddcf5b6f6dda66b41007c0eda2f355b3e5

java/debugger/impl/src/com/intellij/debugger/ui/RunHotswapDialog.java
java/debugger/openapi/resources/messages/JavaDebuggerBundle.properties

index 65f9ca6cb55332f632cb1040a4e78cda70221110..3bf041c8fdd33cf2876bde5d5a73473d01962a8e 100644 (file)
@@ -1,9 +1,6 @@
-/*
- * Copyright 2000-2017 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-2020 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.debugger.ui;
 
-import com.intellij.CommonBundle;
 import com.intellij.debugger.JavaDebuggerBundle;
 import com.intellij.debugger.impl.DebuggerSession;
 import com.intellij.debugger.settings.DebuggerSettings;
@@ -83,8 +80,7 @@ public class RunHotswapDialog extends OptionsDialog {
 
   @Override
   protected Action @NotNull [] createActions(){
-    setOKButtonText(CommonBundle.getYesButtonText());
-    setCancelButtonText(CommonBundle.getNoButtonText());
+    setOKButtonText(JavaDebuggerBundle.message("hotswap.dialog.reload.action.text"));
     return new Action[]{getOKAction(), getCancelAction()};
   }
 
index ff4ff63b86ee856a3d3d9def3f54189a1e57739c..e7022e89e1dc928c7e2a0aeaa3fdf47196d32a71 100644 (file)
@@ -330,6 +330,7 @@ filters.not.configured=No filters configured
 position.highlighter.stripe.tooltip=Execution line
 hotswap.dialog.title.with.session=Reload Changed Classes for {0}
 hotswap.dialog.title=Reload Changed Classes
+hotswap.dialog.reload.action.text=Reload
 hotswap.dialog.run.prompt=Some classes have been changed. Reload changed classes now?
 hotswap.dialog.hang.warning=JVM is currently suspended.\nReloading classes with active third-party JVM agents may cause the JVM to hang.
 hotswap.dialog.hang.question=Would you like to reload changed classes anyway?