1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 11:35:21 +02:00

Fix for bug 69977: TVT3.0: Non-externalized strings in Launching Debug.

Applied patch from Tanya Wollf.
This commit is contained in:
Mikhail Khodjaiants 2004-07-14 15:49:06 +00:00
parent 17a836d9e8
commit 02024f6d16
3 changed files with 26 additions and 10 deletions

View file

@ -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 2004-06-21 Mikhail Khodjaiants
Fix for bug 60872. Accessibility: Run/Debug configuration dialog has duplicate mnemonics. Fix for bug 60872. Accessibility: Run/Debug configuration dialog has duplicate mnemonics.
Warning cleanup. Warning cleanup.

View file

@ -73,7 +73,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
config.launch(mode, null); config.launch(mode, null);
} }
} catch (CoreException e) { } 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) { 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) { protected String getDebugConfigDialogMessageString(ICDebugConfiguration [] configList, String mode) {
if (mode.equals(ILaunchManager.DEBUG_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 { } 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) { 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) { protected String getLaunchSelectionDialogMessageString(List binList, String mode) {
if (mode.equals(ILaunchManager.DEBUG_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 { } 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) { 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) { protected String getBinarySelectionDialogMessageString(List binList, String mode) {
if (mode.equals(ILaunchManager.DEBUG_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 { } else {
return "Choose a local application to run"; //$NON-NLS-1$ return LaunchUIPlugin.getResourceString("CApplicationLaunchShortcut.ChooseLocalAppToRun"); //$NON-NLS-1$
} }
} }

View file

@ -43,7 +43,17 @@ CoreFileLaunchDelegate.No_Shell_available_in_Launch=No Shell available in Launch
CoreFileLaunchDelegate.Select_Corefile=Select Corefile CoreFileLaunchDelegate.Select_Corefile=Select Corefile
CApplicationLaunchShortcut.Application_Launcher=Application Launcher 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.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 CApplicationLaunchShortcut.Launch_failed_no_project_selected=Launch failed no project selected
AbstractCDebuggerTab.No_debugger_available=No debugger available AbstractCDebuggerTab.No_debugger_available=No debugger available