mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Patch from Vaidotas Radius, concatenated messages, bug 93842.
This commit is contained in:
parent
d408c25da3
commit
a8d10ae99f
2 changed files with 12 additions and 12 deletions
|
@ -69,11 +69,11 @@ status.readOnly = {0} is read-only.
|
|||
status.targetException = Target exception.
|
||||
status.updateConflict = Update conflict.
|
||||
|
||||
PathEntryManager.0=Missing project folder or file:
|
||||
PathEntryManager.2=Include path not found
|
||||
PathEntryManager.3=Source attachment not found
|
||||
PathEntryManager.4=Library not found
|
||||
PathEntryManager.0=Missing project folder or file: {0} for {1}
|
||||
PathEntryManager.2=Include path not found ({0})
|
||||
PathEntryManager.3=Source attachment not found ({0})
|
||||
PathEntryManager.4=Library not found ({0})
|
||||
PathEntryManager.5=Referenced project is not accessible
|
||||
PathEntryManager.6=Referenced project is not a C/C++ project
|
||||
PathEntryManager.1=Workspace include path in accessible
|
||||
PathEntryManager.7=Workspace library path in accessible
|
||||
PathEntryManager.1=Workspace include path in accessible ({0})
|
||||
PathEntryManager.7=Workspace library path in accessible ({0})
|
||||
|
|
|
@ -429,7 +429,7 @@ public class PathEntryUtil {
|
|||
if (!isValidWorkspacePath(project, path)) {
|
||||
return new CModelStatus(
|
||||
ICModelStatusConstants.INVALID_PATHENTRY,
|
||||
CoreModelMessages.getString("PathEntryManager.0") + path.toOSString() + " for " + ((PathEntry)entry).getKindString()); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
CoreModelMessages.getFormattedString("PathEntryManager.0", new Object[]{ path.toOSString(), ((PathEntry)entry).getKindString()})); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -439,11 +439,11 @@ public class PathEntryUtil {
|
|||
IPath includePath = include.getFullIncludePath();
|
||||
if (!isValidExternalPath(includePath)) {
|
||||
return new CModelStatus(ICModelStatusConstants.INVALID_PATHENTRY,
|
||||
CoreModelMessages.getString("PathEntryManager.2") + " (" + includePath.toOSString() + ")"); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||
CoreModelMessages.getFormattedString("PathEntryManager.2", includePath.toOSString())); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||
}
|
||||
if (!isValidBasePath(include.getBasePath())) {
|
||||
return new CModelStatus(ICModelStatusConstants.INVALID_PATHENTRY,
|
||||
CoreModelMessages.getString("PathEntryManager.1") + " (" + includePath.toOSString() + ")"); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||
CoreModelMessages.getFormattedString("PathEntryManager.1", includePath.toOSString())); //$NON-NLS-1$
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -455,7 +455,7 @@ public class PathEntryUtil {
|
|||
if (!sourceAttach.isAbsolute()) {
|
||||
if (!isValidWorkspacePath(project, sourceAttach) || !isValidExternalPath(sourceAttach)) {
|
||||
return new CModelStatus(ICModelStatusConstants.INVALID_PATHENTRY,
|
||||
CoreModelMessages.getString("PathEntryManager.3") + " (" + sourceAttach.toOSString() + ")"); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
|
||||
CoreModelMessages.getFormattedString("PathEntryManager.3", sourceAttach.toOSString())); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -463,11 +463,11 @@ public class PathEntryUtil {
|
|||
IPath libraryPath = library.getFullLibraryPath();
|
||||
if (!isValidExternalPath(libraryPath)) {
|
||||
return new CModelStatus(ICModelStatusConstants.INVALID_PATHENTRY,
|
||||
CoreModelMessages.getString("PathEntryManager.4") + " (" + libraryPath.toOSString() + ")"); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||
CoreModelMessages.getFormattedString("PathEntryManager.4", libraryPath.toOSString())); //$NON-NLS-1$
|
||||
}
|
||||
if (!isValidBasePath(library.getBasePath())) {
|
||||
return new CModelStatus(ICModelStatusConstants.INVALID_PATHENTRY,
|
||||
CoreModelMessages.getString("PathEntryManager.7") + " (" + libraryPath.toOSString() + ")"); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||
CoreModelMessages.getFormattedString("PathEntryManager.7",libraryPath.toOSString())); //$NON-NLS-1$
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue