Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Obuchowicz2019-06-28 10:42:29 -0400
committerAndrew Obuchowicz2019-06-28 16:33:28 -0400
commit2bbc97e134a0eca8598bf25de1ccc8ebc6636b05 (patch)
tree58471f99c7309b8abafa3e23666f9fc5934bd418 /org.eclipse.debug.ui/ui
parent243571596458dec44567fd8aa82b9514f61cfa66 (diff)
downloadeclipse.platform.debug-2bbc97e134a0eca8598bf25de1ccc8ebc6636b05.tar.gz
eclipse.platform.debug-2bbc97e134a0eca8598bf25de1ccc8ebc6636b05.tar.xz
eclipse.platform.debug-2bbc97e134a0eca8598bf25de1ccc8ebc6636b05.zip
Bug 548520 - Change use of "New" to "Add" for Env Var TabY20190701-0635I20190630-1800I20190629-1800I20190628-1800
Removed redundant externalized string Change-Id: I6f91d1b6bc9e969b7843defddd4cb9b5bce36977 Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java17
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java14
3 files changed, 17 insertions, 22 deletions
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 13c621aa7..e0339c7cc 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
@@ -68,6 +68,8 @@ public class LaunchConfigurationsMessages extends NLS {
public static String CompileErrorPromptStatusHandler_0;
public static String CompileErrorPromptStatusHandler_1;
public static String CompileErrorPromptStatusHandler_2;
+ public static String EnvironmentTab_2;
+
public static String EnvironmentTab_22;
public static String EnvironmentTab_7;
@@ -173,12 +175,14 @@ public class LaunchConfigurationsMessages extends NLS {
public static String EnvironmentTab_Variable_1;
public static String EnvironmentTab_Value_2;
public static String EnvironmentTab_Environment_variables_to_set__3;
- public static String EnvironmentTab_New_4;
public static String EnvironmentTab_Edit_5;
public static String EnvironmentTab_Remove_6;
+
+ public static String EnvironmentTab_Remove_All;
public static String EnvironmentTab_Environment_7;
public static String EnvironmentTab_8;
public static String EnvironmentTab_9;
+
public static String EnvironmentTab_11;
public static String EnvironmentTab_12;
public static String EnvironmentTab_13;
@@ -187,18 +191,13 @@ public class LaunchConfigurationsMessages extends NLS {
public static String EnvironmentTab_18;
public static String EnvironmentTab_19;
public static String EnvironmentTab_20;
- public static String EnvironmentTab_AttributeLabel_AppendEnvironmentVariables;
- public static String EnvironmentTab_AttributeLabel_EnvironmentVariables;
- public static String EnvironmentTab_ContextMenu0;
-
- public static String EnvironmentTab_ContextMenu1;
- public static String EnvironmentTab_ContextMenu2;
+ public static String EnvironmentTab_Add_4;
- public static String EnvironmentTab_ContextMenu3;
- public static String EnvironmentTab_ContextMenu4;
+ public static String EnvironmentTab_AttributeLabel_AppendEnvironmentVariables;
+ public static String EnvironmentTab_AttributeLabel_EnvironmentVariables;
public static String EnvironmentTab_Copy;
public static String EnvironmentTab_Paste;
public static String EnvironmentTab_Paste_Overwrite_Title;
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 ef2612ebe..7a3a36dfb 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
@@ -193,17 +193,13 @@ ResetWithPrototypeValuesAction_Reset_with_prototype_values_1=&Reset with Prototy
EnvironmentTab_Variable_1=Variable
EnvironmentTab_Value_2=Value
EnvironmentTab_Environment_variables_to_set__3=Environment variables to &set:
-EnvironmentTab_New_4=N&ew...
+EnvironmentTab_Add_4=&Add...
EnvironmentTab_Edit_5=E&dit...
EnvironmentTab_Remove_6=Rem&ove
EnvironmentTab_Environment_7=Environment
EnvironmentTab_8=&Name:
EnvironmentTab_9=&Value:
-EnvironmentTab_ContextMenu0=Add
-EnvironmentTab_ContextMenu1=Copy
-EnvironmentTab_ContextMenu2=Paste
-EnvironmentTab_ContextMenu3=Remove
-EnvironmentTab_ContextMenu4=Remove all selected
+EnvironmentTab_Remove_All=Rem&ove all selected
EnvironmentTab_Copy=&Copy
EnvironmentTab_Paste=&Paste
EnvironmentTab_Paste_Overwrite_Title=Overwrite variables?
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java
index c320462e3..6feb4da3e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java
@@ -327,7 +327,7 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
// Create add environment variable menu item
MenuItem miAdd = new MenuItem(menuTable, SWT.NONE);
- miAdd.setText(LaunchConfigurationsMessages.EnvironmentTab_ContextMenu0);
+ miAdd.setText(LaunchConfigurationsMessages.EnvironmentTab_Add_4);
miAdd.addSelectionListener(new SelectionAdapter() {
@Override
@@ -338,7 +338,7 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
// Create copy environment variable menu item
MenuItem miCopy = new MenuItem(menuTable, SWT.NONE);
- miCopy.setText(LaunchConfigurationsMessages.EnvironmentTab_ContextMenu1);
+ miCopy.setText(LaunchConfigurationsMessages.EnvironmentTab_Copy);
miCopy.addSelectionListener(new SelectionAdapter() {
@Override
@@ -349,7 +349,7 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
// Create paste environment variable menu item
MenuItem miPaste = new MenuItem(menuTable, SWT.NONE);
- miPaste.setText(LaunchConfigurationsMessages.EnvironmentTab_ContextMenu2);
+ miPaste.setText(LaunchConfigurationsMessages.EnvironmentTab_Paste);
miPaste.addSelectionListener(new SelectionAdapter() {
@Override
@@ -360,7 +360,7 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
// Create remove environment variable menu item
MenuItem miRemove = new MenuItem(menuTable, SWT.NONE);
- miRemove.setText(LaunchConfigurationsMessages.EnvironmentTab_ContextMenu3);
+ miRemove.setText(LaunchConfigurationsMessages.EnvironmentTab_Remove_6);
miRemove.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
@@ -373,9 +373,9 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
public void selectionChanged(SelectionChangedEvent event) {
IStructuredSelection selection = environmentTable.getStructuredSelection();
if (selection.size() == 1) {
- miRemove.setText(LaunchConfigurationsMessages.EnvironmentTab_ContextMenu3);
+ miRemove.setText(LaunchConfigurationsMessages.EnvironmentTab_Remove_6);
} else if (selection.size() > 1) {
- miRemove.setText(LaunchConfigurationsMessages.EnvironmentTab_ContextMenu4);
+ miRemove.setText(LaunchConfigurationsMessages.EnvironmentTab_Remove_All);
}
}
});
@@ -494,7 +494,7 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
GridData.VERTICAL_ALIGN_BEGINNING | GridData.HORIZONTAL_ALIGN_END, 0, 0);
// Create buttons
- envAddButton = createPushButton(buttonComposite, LaunchConfigurationsMessages.EnvironmentTab_New_4, null);
+ envAddButton = createPushButton(buttonComposite, LaunchConfigurationsMessages.EnvironmentTab_Add_4, null);
envAddButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {

Back to the top