1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

[231841] TVT34:TCT187: TVT - FR - Apostrophe issue in Details message

https://bugs.eclipse.org/bugs/show_bug.cgi?id=231841
This commit is contained in:
David Dykstal 2008-05-13 22:47:11 +00:00
parent 0442b3da23
commit 015bdcfb06

View file

@ -19,6 +19,7 @@
* David McKnight (IBM) - [216252] [api][nls] Resource Strings specific to subsystems should be moved from rse.ui into files.ui / shells.ui / processes.ui where possible
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
* David McKnight (IBM) - [223204] [cleanup] fix broken nls strings in files.ui and others
* David Dykstal (IBM) - [231841] Incorrect create messages being used. Cannot use NLS.bind if no substitution variables
*******************************************************************************/
package org.eclipse.rse.internal.files.ui.wizards;
@ -113,10 +114,10 @@ public class SystemNewFileWizard
ok = false;
SystemBasePlugin.logDebugMessage(CLASSNAME+ ":", " Creating remote file "+ absName + " failed with RemoteFileIOException " ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
String msgTxt = FileResources.FILEMSG_CREATE_FILE_FAILED;
String msgDetails = NLS.bind(FileResources.FILEMSG_CREATE_FILE_FAILED_DETAILS, absName);
String msgDetails = FileResources.FILEMSG_CREATE_FILE_FAILED_DETAILS;
msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
ISystemFileConstants.FILEMSG_COPY_FILE_FAILED,
ISystemFileConstants.FILEMSG_CREATE_FILE_FAILED,
IStatus.ERROR, msgTxt, msgDetails);
SystemMessageDialog.displayErrorMessage(null, msg);
}
@ -124,10 +125,10 @@ public class SystemNewFileWizard
{
ok = false;
String msgTxt = FileResources.FILEMSG_CREATE_FILE_FAILED;
String msgDetails = NLS.bind(FileResources.FILEMSG_COPY_FILE_FAILED_DETAILS, absName);
String msgDetails = FileResources.FILEMSG_CREATE_FILE_FAILED_DETAILS;
msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
ISystemFileConstants.FILEMSG_COPY_FILE_FAILED,
ISystemFileConstants.FILEMSG_CREATE_FILE_FAILED,
IStatus.ERROR, msgTxt, msgDetails);