Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Pfaff2017-06-03 22:38:58 -0400
committerLars Vogel2017-09-07 08:36:15 -0400
commitfa2b847f155ce5cc60fac6a40a39aae766823467 (patch)
treeb0f30aeac6eb47fd94b584185e674370111de9f1
parentd8621eaf55a1e95ff894dda0a241af08cc6111fe (diff)
downloadeclipse.platform.debug-fa2b847f155ce5cc60fac6a40a39aae766823467.tar.gz
eclipse.platform.debug-fa2b847f155ce5cc60fac6a40a39aae766823467.tar.xz
eclipse.platform.debug-fa2b847f155ce5cc60fac6a40a39aae766823467.zip
bug 516532 - Run configuration has changed dialog should use verbsI20170908-0035I20170907-2000
* changes buttons for save dialog to "Save" and "Don't Save" * changes buttons for failed save dialog to "Discard" and "Don't Discard" Change-Id: I620926afa8c1b4b691e55ab25f231e4baaca87d8 Signed-off-by: Fabian Pfaff <fabian.pfaff@vogella.com>
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties6
3 files changed, 15 insertions, 9 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
index 969382d89..91fa6cd2d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
@@ -1512,8 +1512,9 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
null,
buffer.toString(),
MessageDialog.QUESTION,
- new String[] {LaunchConfigurationsMessages.LaunchConfigurationDialog_Yes_32,
- LaunchConfigurationsMessages.LaunchConfigurationDialog_No_33},
+ new String[] {
+ LaunchConfigurationsMessages.LaunchConfigurationDialog_Discard_Button,
+ LaunchConfigurationsMessages.LaunchConfigurationDialog_Dont_Discard_Button },
1);
int val = IDialogConstants.NO_ID;
if (dialog.open() == 0) {
@@ -1547,9 +1548,10 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
null,
message,
MessageDialog.QUESTION,
- new String[] {LaunchConfigurationsMessages.LaunchConfigurationDialog_Yes_32,
- LaunchConfigurationsMessages.LaunchConfigurationDialog_No_33,
- LaunchConfigurationsMessages.LaunchConfigurationsDialog_c_ancel},
+ new String[] {
+ LaunchConfigurationsMessages.LaunchConfigurationDialog_Save_Button,
+ LaunchConfigurationsMessages.LaunchConfigurationDialog_Dont_Save_Button,
+ LaunchConfigurationsMessages.LaunchConfigurationsDialog_c_ancel },
0);
int ret = dialog.open();
int val = IDialogConstants.CANCEL_ID;
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java
index 040cec334..7e7b5dddd 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java
@@ -77,12 +77,14 @@ public class LaunchConfigurationsMessages extends NLS {
public static String LaunchConfigurationDialog_Launch_Configuration_Error_46;
public static String LaunchConfigurationDialog_Launch_Configurations_18;
public static String LaunchConfigurationDialog_Name_required_for_launch_configuration_11;
- public static String LaunchConfigurationDialog_No_33;
public static String LaunchConfigurationDialog_Ready_to_launch_2;
public static String LaunchConfigurationDialog_The_configuration___29;
public static String LaunchConfigurationDialog_The_configuration___35;
public static String LaunchConfigurationDialog_unspecified_28;
- public static String LaunchConfigurationDialog_Yes_32;
+ public static String LaunchConfigurationDialog_Save_Button;
+ public static String LaunchConfigurationDialog_Dont_Save_Button;
+ public static String LaunchConfigurationDialog_Discard_Button;
+ public static String LaunchConfigurationDialog_Dont_Discard_Button;
public static String LaunchConfigurationDialog_Do_you_wish_to_delete_the_selected_launch_configurations__1;
public static String LaunchConfigurationDialog_Do_you_wish_to_delete_the_selected_launch_configuration__2;
public static String LaunchConfigurationDialog_Confirm_Launch_Configuration_Deletion_3;
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties
index 3d7259a1a..fff4d4cca 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties
@@ -81,7 +81,6 @@ LaunchConfigurationFilteredTree_save_changes=Save Changes
LaunchConfigurationFilteredTree_search_with_changes=You cannot perform a text search when the current configuration has pending changes.\n\nDo you want to save the changes and continue searching?
LaunchConfigurationFilteredTree_search_with_errors=You cannot perform a text search when the current configuration has errors.\n\nDo you want to discard the changes and continue searching?
LaunchConfigurationDialog_Name_required_for_launch_configuration_11=A name is required for the configuration
-LaunchConfigurationDialog_No_33=No
LaunchConfigurationEditDialog_0=Modify configuration and continue.
LaunchConfigurationEditDialog_1=Con&tinue
LaunchConfigurationDialog_Ready_to_launch_2=Ready to launch
@@ -89,7 +88,10 @@ LaunchConfigurationDialog_The_configuration___29=The configuration "{0}" has uns
LaunchConfigurationDialog_The_configuration___35=The configuration "{0}" has unsaved changes that CANNOT be saved because of the following error:\n\n
LaunchConfigurationFilteredTree_discard_changes=Discard Changes
LaunchConfigurationDialog_unspecified_28=unspecified
-LaunchConfigurationDialog_Yes_32=Yes
+LaunchConfigurationDialog_Save_Button=&Save
+LaunchConfigurationDialog_Dont_Save_Button=Do&n't Save
+LaunchConfigurationDialog_Discard_Button=&Discard
+LaunchConfigurationDialog_Dont_Discard_Button=Do&n't Discard
LaunchConfigurationDialog_Do_you_wish_to_delete_the_selected_launch_configurations__1=Do you wish to delete the selected launch configurations?
LaunchConfigurationDialog_Do_you_wish_to_delete_the_selected_launch_configuration__2=Do you wish to delete the selected launch configuration?
LaunchConfigurationDialog_Confirm_Launch_Configuration_Deletion_3=Confirm Launch Configuration Deletion

Back to the top