diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java index eadf68586ca..15fbf7d39ae 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java @@ -1719,7 +1719,7 @@ public class PathEntryTranslator { private void applyOutputEntries(ICOutputEntry entries[], int op){ CBuildData bData = fCfgData.getBuildData(); if(bData == null){ - CCorePlugin.log("PathEntryTranslator: failed to apply output entries: Build Data is null, ignoring.."); + CCorePlugin.log(UtilMessages.getString("PathEntryTranslator.2")); //$NON-NLS-1$ return; } diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/UtilMessages.properties b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/UtilMessages.properties index f271aca7aef..4ca6ea0d57a 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/UtilMessages.properties +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/UtilMessages.properties @@ -12,6 +12,7 @@ KindBasedStore.0=illegal kind KindBasedStore.1=illegal kind PathEntryTranslator.0=illegal kind PathEntryTranslator.1=illegal kind +PathEntryTranslator.2=PathEntryTranslator: failed to apply output entries: Build Data is null, ignoring.. CDataSerializer.20=no id attribute for configuration CDataSerializer.21=failed to create configuration CDataSerializer.22=no id attribute for folder data diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.java index 1da6a79a9a6..b1e1d86c75a 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.java @@ -900,7 +900,7 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager { if(project.exists() && project.isOpen()){ fDescriptionMap.put(project, des); } else { - CCorePlugin.log("attempt to set description for the non-openned project"); + CCorePlugin.log(SettingsModelMessages.getString("CProjectDescriptionManager.16")); //$NON-NLS-1$ } }else { fDescriptionMap.remove(project); diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/SettingsModelMessages.properties b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/SettingsModelMessages.properties index c342b84ee53..225c5c16a96 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/SettingsModelMessages.properties +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/SettingsModelMessages.properties @@ -34,6 +34,7 @@ CProjectDescriptionManager.12=Serialing CDT Project settings.. CProjectDescriptionManager.13=Refreshing the project settings CProjectDescriptionManager.14=workspace info element does not exist CProjectDescriptionManager.15=Preference Configuration +CProjectDescriptionManager.16=attempt to set description for the non-openned project CFolderDescription.0=data was not created CFolderDescription.1=expected proxy of type ICLanguageSetting, but was CFolderDescription.2=data was not created