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:
parent
0442b3da23
commit
015bdcfb06
1 changed files with 5 additions and 4 deletions
|
@ -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) - [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) - [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 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;
|
package org.eclipse.rse.internal.files.ui.wizards;
|
||||||
|
@ -113,10 +114,10 @@ public class SystemNewFileWizard
|
||||||
ok = false;
|
ok = false;
|
||||||
SystemBasePlugin.logDebugMessage(CLASSNAME+ ":", " Creating remote file "+ absName + " failed with RemoteFileIOException " ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
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 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,
|
msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
|
||||||
ISystemFileConstants.FILEMSG_COPY_FILE_FAILED,
|
ISystemFileConstants.FILEMSG_CREATE_FILE_FAILED,
|
||||||
IStatus.ERROR, msgTxt, msgDetails);
|
IStatus.ERROR, msgTxt, msgDetails);
|
||||||
SystemMessageDialog.displayErrorMessage(null, msg);
|
SystemMessageDialog.displayErrorMessage(null, msg);
|
||||||
}
|
}
|
||||||
|
@ -124,10 +125,10 @@ public class SystemNewFileWizard
|
||||||
{
|
{
|
||||||
ok = false;
|
ok = false;
|
||||||
String msgTxt = FileResources.FILEMSG_CREATE_FILE_FAILED;
|
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,
|
msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
|
||||||
ISystemFileConstants.FILEMSG_COPY_FILE_FAILED,
|
ISystemFileConstants.FILEMSG_CREATE_FILE_FAILED,
|
||||||
IStatus.ERROR, msgTxt, msgDetails);
|
IStatus.ERROR, msgTxt, msgDetails);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue