mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
missing NLS markup
This commit is contained in:
parent
5c2daef8ba
commit
7a24fe76ca
2 changed files with 3 additions and 3 deletions
|
@ -85,7 +85,7 @@ public class CDebugAdapter implements ICDIDebugger {
|
||||||
protected String renderDebuggerProcessLabel() {
|
protected String renderDebuggerProcessLabel() {
|
||||||
String format = "{0} ({1})"; //$NON-NLS-1$
|
String format = "{0} ({1})"; //$NON-NLS-1$
|
||||||
String timestamp = DateFormat.getInstance().format(new Date(System.currentTimeMillis()));
|
String timestamp = DateFormat.getInstance().format(new Date(System.currentTimeMillis()));
|
||||||
String message = InternalDebugCoreMessages.getString("CDebugAdapter.1");
|
String message = InternalDebugCoreMessages.getString("CDebugAdapter.1"); //$NON-NLS-1$
|
||||||
return MessageFormat.format(format, new String[]{message, timestamp}); //$NON-NLS-1$
|
return MessageFormat.format(format, new String[]{message, timestamp}); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -745,10 +745,10 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
}
|
}
|
||||||
Throwable exception = new FileNotFoundException(LaunchMessages.getFormattedString(
|
Throwable exception = new FileNotFoundException(LaunchMessages.getFormattedString(
|
||||||
"AbstractCLaunchDelegate.PROGRAM_PATH_not_binary", exePath.toOSString()));
|
"AbstractCLaunchDelegate.PROGRAM_PATH_not_binary", exePath.toOSString())); //$NON-NLS-1$
|
||||||
int code = ICDTLaunchConfigurationConstants.ERR_PROGRAM_NOT_BINARY;
|
int code = ICDTLaunchConfigurationConstants.ERR_PROGRAM_NOT_BINARY;
|
||||||
MultiStatus status = new MultiStatus(getPluginID(), code, LaunchMessages
|
MultiStatus status = new MultiStatus(getPluginID(), code, LaunchMessages
|
||||||
.getString("AbstractCLaunchDelegate.Program_is_not_a_recongnized_executable"), exception);
|
.getString("AbstractCLaunchDelegate.Program_is_not_a_recongnized_executable"), exception); //$NON-NLS-1$
|
||||||
status.add(new Status(IStatus.ERROR, getPluginID(), code, exception == null ? "" : exception.getLocalizedMessage(), //$NON-NLS-1$
|
status.add(new Status(IStatus.ERROR, getPluginID(), code, exception == null ? "" : exception.getLocalizedMessage(), //$NON-NLS-1$
|
||||||
exception));
|
exception));
|
||||||
throw new CoreException(status);
|
throw new CoreException(status);
|
||||||
|
|
Loading…
Add table
Reference in a new issue