Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-05-01 01:40:43 +0000
committerMichael Valenta2004-05-01 01:40:43 +0000
commit5ea4b75d9c6389caa98abfd222ae4fa06c85f08f (patch)
tree6cdc984ed6fcf5f36f298296d7ab16c19314a612
parent0ea935291cc3659139ad158f6aee0d48fe77c579 (diff)
downloadeclipse.platform.team-5ea4b75d9c6389caa98abfd222ae4fa06c85f08f.tar.gz
eclipse.platform.team-5ea4b75d9c6389caa98abfd222ae4fa06c85f08f.tar.xz
eclipse.platform.team-5ea4b75d9c6389caa98abfd222ae4fa06c85f08f.zip
NLSed a string
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/CachedResourceVariant.java2
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties1
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/CachedResourceVariant.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/CachedResourceVariant.java
index 387c525ec..6874ced69 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/CachedResourceVariant.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/CachedResourceVariant.java
@@ -95,7 +95,7 @@ public abstract class CachedResourceVariant extends PlatformObject implements IR
contents = getContents();
return contentTypeManager.getDescriptionFor(contents, getName(), IContentDescription.ALL);
} catch (IOException e) {
- throw new TeamException(new Status(IStatus.ERROR, TeamPlugin.ID, IResourceStatus.FAILED_DESCRIBING_CONTENTS, "As error occurred computing the content type of resource variant {0}" + getFullPath(), e));
+ throw new TeamException(new Status(IStatus.ERROR, TeamPlugin.ID, IResourceStatus.FAILED_DESCRIBING_CONTENTS, Policy.bind("CachedResourceVariant.1", getFullPath().toString()), e)); //$NON-NLS-1$
} finally {
if (contents != null)
try {
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties
index b9755938d..6dc7cad16 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties
@@ -122,6 +122,7 @@ SubscriberEventHandler.9=The synchronization state for resource {0} could not be
SubscriberEventHandler.10=An internal error occurred processing subscriber events.
SubscriberEventHandler.11=An internal error occurred processing resource {0}: {1}
CachedResourceVariant.0=There is no cached contents for resource {0}.
+CachedResourceVariant.1=As error occurred computing the content type of resource variant {0}
SyncInfoTree.0=Sync info is missing for resource {0}.
ResourceVariantTreeSubscriber.1=Errors occurred during refresh of {0}
ResourceVariantTreeSubscriber.2=An error occurred refreshing {0}: {1}

Back to the top