1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Committed the patch from David Daoust that fixes the string externalization warnings

This commit is contained in:
Mikhail Sennikovsky 2005-06-15 15:24:44 +00:00
parent 3e9660ea3e
commit db48cbe5a9
3 changed files with 3 additions and 3 deletions

View file

@ -2680,7 +2680,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
}
} else {
if (generatedSource && !sourceLocation.isAbsolute()) {
srcName = "./" + relativePath + sourceLocation.lastSegment().toString(); // $NON-NLS-1$
srcName = "./" + relativePath + sourceLocation.lastSegment().toString(); //$NON-NLS-1$
} else {
// TODO: Should we use relative paths when possible (e.g., see MbsMacroSupplier.calculateRelPath)
srcName = sourceLocation.toString();

View file

@ -756,7 +756,7 @@ public class ToolsSettingsBlock extends AbstractCOptionPage {
// Build the match name.
do {
catName = catOrTool.getName() + "|" + catName;
catName = catOrTool.getName() + "|" + catName; //$NON-NLS-1$
if (catOrTool instanceof ITool) break;
else if (catOrTool instanceof IOptionCategory) {
catOrTool = ((IOptionCategory)catOrTool).getOwner();

View file

@ -49,7 +49,7 @@ public class ToolListLabelProvider extends LabelProvider {
img = manager.createImageWithDefault(descriptor);
if (img == null) {
// Report error by displaying a warning message
System.err.println("Couldn't create image from URL \"" + url + "\", to display icon for Tool Options." ); //$NON-NLS-1$
System.err.println("Couldn't create image from URL \"" + url + "\", to display icon for Tool Options." ); //$NON-NLS-1$ //$NON-NLS-2$
}
}
return img;