diff options
author | Mikhail Khodjaiants | 2004-07-14 15:44:22 +0000 |
---|---|---|
committer | Mikhail Khodjaiants | 2004-07-14 15:44:22 +0000 |
commit | 7b75cb1d6b1fa0bc628ff6b353f89560c4fa0053 (patch) | |
tree | cfd6335862c6b4f2551dc10a8ff884ea98a368b1 /launch | |
parent | 0001f82e8692cc76e0af477962df4f7a9d7d3b73 (diff) | |
download | org.eclipse.cdt-7b75cb1d6b1fa0bc628ff6b353f89560c4fa0053.tar.gz org.eclipse.cdt-7b75cb1d6b1fa0bc628ff6b353f89560c4fa0053.tar.xz org.eclipse.cdt-7b75cb1d6b1fa0bc628ff6b353f89560c4fa0053.zip |
Fix for bug 69977: TVT3.0: Non-externalized strings in Launching Debug.
Applied patch from Tanya Wollf.
Diffstat (limited to 'launch')
3 files changed, 26 insertions, 10 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog index d4641c2d753..5bfb3bd1406 100644 --- a/launch/org.eclipse.cdt.launch/ChangeLog +++ b/launch/org.eclipse.cdt.launch/ChangeLog @@ -1,3 +1,9 @@ +2004-07-14 Mikhail Khodjaiants + Fix for bug 69977: TVT3.0: Non-externalized strings in Launching Debug. + Applied patch from Tanya Wollf. + * CApplicationLaunchShortcut.java + * LaunchUIPluginResources.properties + 2004-06-21 Mikhail Khodjaiants Fix for bug 60872. Accessibility: Run/Debug configuration dialog has duplicate mnemonics. Warning cleanup. diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java index cacd778fe57..02e4d12147d 100644 --- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java +++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java @@ -73,7 +73,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut { config.launch(mode, null); } } catch (CoreException e) { - LaunchUIPlugin.errorDialog("Launch failed", e.getStatus()); //$NON-NLS-1$ + LaunchUIPlugin.errorDialog(LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.LaunchFailed"), e.getStatus()); //$NON-NLS-1$ } } @@ -228,14 +228,14 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut { } protected String getDebugConfigDialogTitleString(ICDebugConfiguration [] configList, String mode) { - return "Launch Debug Configuration Selection"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.LaunchDebugConfigSelection"); //$NON-NLS-1$ } protected String getDebugConfigDialogMessageString(ICDebugConfiguration [] configList, String mode) { if (mode.equals(ILaunchManager.DEBUG_MODE)) { - return "Choose a debug configuration to debug"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseConfigToDebug"); //$NON-NLS-1$ } else { - return "Choose a configuration to run"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseConfigToRun"); //$NON-NLS-1$ } } @@ -261,14 +261,14 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut { } protected String getLaunchSelectionDialogTitleString(List configList, String mode) { - return "Launch Configuration Selection"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.LaunchConfigSelection"); //$NON-NLS-1$ } protected String getLaunchSelectionDialogMessageString(List binList, String mode) { if (mode.equals(ILaunchManager.DEBUG_MODE)) { - return "Choose a launch configuration to debug"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseLaunchConfigToDebug"); //$NON-NLS-1$ } else { - return "Choose a launch configuration to run"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseLaunchConfigToRun"); //$NON-NLS-1$ } } @@ -319,14 +319,14 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut { } protected String getBinarySelectionDialogTitleString(List binList, String mode) { - return "C Local Application"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.CLocalApplication"); //$NON-NLS-1$ } protected String getBinarySelectionDialogMessageString(List binList, String mode) { if (mode.equals(ILaunchManager.DEBUG_MODE)) { - return "Choose a local application to debug"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseLocalAppToDebug"); //$NON-NLS-1$ } else { - return "Choose a local application to run"; //$NON-NLS-1$ + return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseLocalAppToRun"); //$NON-NLS-1$ } } diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties index 9535deae9a4..e5358b15e55 100644 --- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties +++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties @@ -43,7 +43,17 @@ CoreFileLaunchDelegate.No_Shell_available_in_Launch=No Shell available in Launch CoreFileLaunchDelegate.Select_Corefile=Select Corefile CApplicationLaunchShortcut.Application_Launcher=Application Launcher +CApplicationLaunchShortcut.ChooseConfigToDebug=Choose a debug configuration to debug +CApplicationLaunchShortcut.ChooseConfigToRun=Choose a configuration to run +CApplicationLaunchShortcut.CLocalApplication=C Local Application +CApplicationLaunchShortcut.ChooseLocalAppToDebug=Choose a local application to debug +CApplicationLaunchShortcut.ChooseLocalAppToRun=Choose a local application to run CApplicationLaunchShortcut.Launch_failed_no_binaries=Launch failed no binaries +CApplicationLaunchShortcut.LaunchFailed=Launch failed +CApplicationLaunchShortcut.LaunchDebugConfigSelection=Launch Debug Configuration Selection +CApplicationLaunchShortcut.LaunchConfigSelection=Launch Configuration Selection +CApplicationLaunchShortcut.ChooseLaunchConfigToDebug=Choose a launch configuration to debug +CApplicationLaunchShortcut.ChooseLaunchConfigToRun=Choose a launch configuration to run CApplicationLaunchShortcut.Launch_failed_no_project_selected=Launch failed no project selected AbstractCDebuggerTab.No_debugger_available=No debugger available |