Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] TVT defects


TVT (Translation Verification Testing) has started on CDT. I've created this patch with the Head branch. Should these fixes go back to 2.0.1?
Thanks,
Tanya

Index: src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java,v
retrieving revision 1.25
diff -u -r1.25 CApplicationLaunchShortcut.java
--- src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java	10 Jun 2004 15:15:51 -0000	1.25
+++ src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java	14 Jul 2004 12:51:53 -0000
@@ -73,7 +73,7 @@
 				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 @@
 	}
 
 	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 @@
 	}
 
 	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 @@
 	}
 	
 	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$
 		}
 	}
 
Index: src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties
===================================================================
RCS file: /home/tools/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties,v
retrieving revision 1.6
diff -u -r1.6 LaunchUIPluginResources.properties
--- src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties	21 Jun 2004 21:55:20 -0000	1.6
+++ src/org/eclipse/cdt/launch/internal/ui/LaunchUIPluginResources.properties	14 Jul 2004 12:51:53 -0000
@@ -43,7 +43,17 @@
 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

Back to the top