[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] Externalizing strings in debug.mi.core
|
Here's the remaining strings in src
which are non-translatable.
Thanks,
Tanya
Index: ChangeLog
===================================================================
retrieving revision 1.219
diff -u -r1.219 ChangeLog
--- ChangeLog 16 Mar 2004 20:03:56 -0000 1.219
+++ ChangeLog 16 Mar 2004 23:47:04 -0000
@@ -1,3 +1,10 @@
+2004-03-16 Tanya Wolff
+
+ Marked strings in src as non-translatable
+ * src/GDBServerDebugger.java
+ * src/GDBTypeParser.java
+ * src/RxThread.java
+
2004-03-14 Alain Magloire
Break the ChangeLog file in two.
Index: src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java
===================================================================
retrieving revision 1.10
diff -u -r1.10 GDBServerDebugger.java
--- src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java 16 Mar 2004 20:03:56 -0000 1.10
+++ src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java 16 Mar 2004 23:47:10 -0000
@@ -63,18 +63,18 @@
File cwd = exe.getProject().getLocation().toFile();
String gdbinit = config.getAttribute(IMILaunchConfigurationConstants.ATTR_GDB_INIT, ".gdbinit"); //$NON-NLS-1$
if (config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_REMOTE_TCP, false)) {
- String remote = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_HOST, "invalid");
+ String remote = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_HOST, "invalid"); //$NON-NLS-1$
remote += ":"; //$NON-NLS-1$
- remote += config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_PORT, "invalid");
- String[] args = new String[] {"remote", remote};
+ remote += config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_PORT, "invalid"); //$NON-NLS-1$
+ String[] args = new String[] {"remote", remote}; //$NON-NLS-1$
session = (Session)MIPlugin.getDefault().createCSession(gdb, exe.getLocation().toFile(), 0, args, cwd, gdbinit);
} else {
MIPlugin plugin = MIPlugin.getDefault();
Preferences prefs = plugin.getPluginPreferences();
int launchTimeout = prefs.getInt(IMIConstants.PREF_REQUEST_LAUNCH_TIMEOUT);
- String remote = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEV, "invalid");
- String remoteBaud = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEV_SPEED, "invalid");
+ String remote = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEV, "invalid"); //$NON-NLS-1$
+ String remoteBaud = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEV_SPEED, "invalid"); //$NON-NLS-1$
session = (Session)MIPlugin.getDefault().createCSession(gdb, exe.getLocation().toFile(), -1, null, cwd, gdbinit);
MISession miSession = session.getMISession();
CommandFactory factory = miSession.getCommandFactory();
@@ -85,7 +85,7 @@
if (info == null) {
throw new MIException (MIPlugin.getResourceString("src.GDBServerDebugger.Can_not_set_Baud")); //$NON-NLS-1$
}
- MITargetSelect select = factory.createMITargetSelect(new String[] {"remote", remote});
+ MITargetSelect select = factory.createMITargetSelect(new String[] {"remote", remote}); //$NON-NLS-1$
miSession.postCommand(select, launchTimeout);
select.getMIInfo();
if (info == null) {
Index: src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
===================================================================
retrieving revision 1.12
diff -u -r1.12 GDBTypeParser.java
--- src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java 16 Mar 2004 20:03:56 -0000 1.12
+++ src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java 16 Mar 2004 23:47:10 -0000
@@ -178,16 +178,16 @@
StringBuffer sb = new StringBuffer();
switch (getType()) {
case FUNCTION :
- sb.append(" function returning " + (hasChild() ? child.verbose() : "")); //$NON-NLS-2$
+ sb.append(" function returning " + (hasChild() ? child.verbose() : "")); //$NON-NLS-1$//$NON-NLS-2$
break;
case ARRAY :
- sb.append(" array[" + dimension + "]" + " of " + (hasChild() ? child.verbose() : "")); //$NON-NLS-2$ //$NON-NLS-4$
+ sb.append(" array[" + dimension + "]" + " of " + (hasChild() ? child.verbose() : "")); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
break;
case REFERENCE :
- sb.append(" reference to " + (hasChild() ? child.verbose() : "")); //$NON-NLS-2$
+ sb.append(" reference to " + (hasChild() ? child.verbose() : "")); //$NON-NLS-1$//$NON-NLS-2$
break;
case POINTER :
- sb.append(" pointer to " + (hasChild() ? child.verbose() : "")); //$NON-NLS-2$
+ sb.append(" pointer to " + (hasChild() ? child.verbose() : "")); //$NON-NLS-1$//$NON-NLS-2$
break;
}
return sb.toString();
Index: src/org/eclipse/cdt/debug/mi/core/RxThread.java
===================================================================
retrieving revision 1.48
diff -u -r1.48 RxThread.java
--- src/org/eclipse/cdt/debug/mi/core/RxThread.java 16 Mar 2004 20:03:56 -0000 1.48
+++ src/org/eclipse/cdt/debug/mi/core/RxThread.java 16 Mar 2004 23:47:10 -0000
@@ -243,7 +243,7 @@
// any other alternatives.
String[] logs = getStreamRecords();
for (int i = 0; i < logs.length; i++) {
- if (logs[i].equalsIgnoreCase("Stopped due to shared library event")) {
+ if (logs[i].equalsIgnoreCase("Stopped due to shared library event")) { //$NON-NLS-1$
session.getMIInferior().setSuspended();
e = new MISharedLibEvent(exec);
list.add(e);