Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties2
3 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
index c7af1d4a9..4defebbbf 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
@@ -676,7 +676,7 @@ public class LaunchManager implements ILaunchManager, IResourceChangeListener {
public String generateUniqueLaunchConfigurationNameFrom(String namePrefix) {
int index = 1;
String baseName = namePrefix;
- int copyIndex = baseName.lastIndexOf(" (");
+ int copyIndex = baseName.lastIndexOf(" ("); //$NON-NLS-1$
if (copyIndex > -1) {
String trailer = baseName.substring(copyIndex + 1);
try {
@@ -689,7 +689,7 @@ public class LaunchManager implements ILaunchManager, IResourceChangeListener {
try {
while (isExistingLaunchConfigurationName(newName)) {
StringBuffer buffer = new StringBuffer(baseName);
- buffer.append(" (");
+ buffer.append(" ("); //$NON-NLS-1$
buffer.append(String.valueOf(index));
index++;
buffer.append(')');
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java
index 5e53f36ed..b54c6a973 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java
@@ -924,7 +924,7 @@ public class LaunchConfigurationDialog extends TitleAreaDialog
comp.setLayout(layout);
Label treeLabel = new Label(comp, SWT.NONE);
- treeLabel.setText("Launch Con&figurations:");
+ treeLabel.setText(LaunchConfigurationsMessages.getString("LaunchConfigurationDialog.Launch_Con&figurations__1")); //$NON-NLS-1$
GridData gd = new GridData();
gd.horizontalSpan = 3;
treeLabel.setLayoutData(gd);
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 d3c4dc433..2a5c004f1 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
@@ -70,6 +70,7 @@ LaunchConfigurationDialog.Cancel_3=Cance&l
LaunchConfigurationDialog.Cannot_relaunch_1=Cannot relaunch
LaunchConfigurationDialog.Cannot_relaunch_[{1}]_because_it_does_not_support_{2}_mode_2=Cannot relaunch [{0}] because it does not support {1} mode
LaunchConfigurationDialog.Duplicate_1=&Duplicate
+LaunchConfigurationDialog.Launch_Con&figurations__1=Launch Con&figurations:
LaunchConfigurationPresentationManager.Launch_configuration_tab_group_extension_{0}_does_not_specify_launch_configuration_type_1=Launch configuration tab group extension {0} does not specify launch configuration type
LaunchConfigurationPresentationManager.Launch_configuration_tab_group_extension_{0}_refers_to_non-existant_launch_configuration_type_{1}_2=Launch configuration tab group extension {0} refers to non-existent launch configuration type {1}
@@ -81,3 +82,4 @@ PerspectiveManager.Unable_to_switch_to_perspective__{0}_2=Unable to switch to pe
LaunchShortcutExtension.Error_4=Error
LaunchShortcutExtension.Unable_to_use_launch_shortcut_5=Unable to use launch shortcut
CommonTab.Cannot_save_launch_configuration_in_a_closed_project._1=Cannot save launch configuration in a closed project.
+

Back to the top