Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2007-02-20 22:11:33 +0000
committerDarin Wright2007-02-20 22:11:33 +0000
commit7f96e5fa33a4a41dfbd79c0fea2c91e0859f7eb7 (patch)
tree4361eb90d783cbb846f1c98b655fe19622152818 /org.eclipse.debug.ui/ui
parentec145ee5b4fecd042cc6a483ce4042201021171f (diff)
downloadeclipse.platform.debug-7f96e5fa33a4a41dfbd79c0fea2c91e0859f7eb7.tar.gz
eclipse.platform.debug-7f96e5fa33a4a41dfbd79c0fea2c91e0859f7eb7.tar.xz
eclipse.platform.debug-7f96e5fa33a4a41dfbd79c0fea2c91e0859f7eb7.zip
Bug 174527 NLS:questions about LaunchConfigurationsMessages.properties
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java3
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties15
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java2
3 files changed, 7 insertions, 13 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 2cb70d0e2..0764c527c 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
@@ -111,9 +111,6 @@ public class LaunchConfigurationsMessages extends NLS {
public static String LaunchShortcutSelectionDialog_1;
- public static String LaunchShortcutSelectionDialog_2;
-
- public static String LaunchShortcutSelectionDialog_3;
public static String PerspectiveManager_Error_1;
public static String PerspectiveManager_Unable_to_switch_perpsectives_as_specified_by_launch___0__4;
public static String PerspectiveManager_Unable_to_switch_to_perspective___0__2;
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 a620eb26c..5abea6801 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
@@ -103,21 +103,18 @@ PerspectiveManager_Unable_to_switch_perpsectives_as_specified_by_launch___0__4=U
PerspectiveManager_Unable_to_switch_to_perspective___0__2=Unable to open perspective: {0}
LaunchShortcutExtension_Error_4=Error
-# {0} acts as a placeholder for the name of the mode that is in the process of being launched
-# Possible values include Run, Debug, Profile, or any label of a contributed ILaunchMode
+# {0} is substituted with a launch mode - possible values include Run, Debug, Profile,
+# or any label of a contributed ILaunchMode.
LaunchShortcutSelectionDialog_0={0} As...
-#{ 0} has possible values as described for LaunchShortcutSelectionDialog_0.
+# {0} is substituted with a launch mode - possible values include run, debug, profile, or
+# any label of a contributed ILaunchMode.
#
-# {1} is the name of the IResource that acts as the context for this dialog to be opened.
-# More specifically it is the backing resource which is used to provide the dialog with its
-# input of launch shortcuts.
+# {1} is the name of the resource being launched (run or debugged, etc.).
# Possible values can be the name of any IResource in the current workspace: for example
# if you tried to launch a class named Main in the file Main.java and you were presented
# with the selection dialog, the value of {1} would be Main.java (the name of the IResource)
-LaunchShortcutSelectionDialog_1=&Select how to {0} {1}:
-LaunchShortcutSelectionDialog_2=&Make generated settings the default for [{0}]
-LaunchShortcutSelectionDialog_3=Ma&ke generated settings the default for project [{0}]
+LaunchShortcutSelectionDialog_1=&Select a way to {0} ''{1}'':
LaunchShortcutExtension_Unable_to_use_launch_shortcut_5=Unable to use launch shortcut
LaunchConfigurationPropertiesDialog_Edit_launch_configuration_properties_1=Edit launch configuration properties
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
index d7b729d4f..da50df63d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
@@ -71,7 +71,7 @@ public class LaunchShortcutSelectionDialog extends ListDialog {
}
setTitle(MessageFormat.format(LaunchConfigurationsMessages.LaunchShortcutSelectionDialog_0, new String[] {modename}));
setAddCancelButton(true);
- setMessage(MessageFormat.format(LaunchConfigurationsMessages.LaunchShortcutSelectionDialog_1, new String[] {fMode, fResource.getName()}));
+ setMessage(MessageFormat.format(LaunchConfigurationsMessages.LaunchShortcutSelectionDialog_1, new String[] {modename.toLowerCase(), fResource.getName()}));
setLabelProvider(new DefaultLabelProvider());
setContentProvider(new ArrayContentProvider());
}

Back to the top