From 5ea4b75d9c6389caa98abfd222ae4fa06c85f08f Mon Sep 17 00:00:00 2001 From: Michael Valenta Date: Sat, 1 May 2004 01:40:43 +0000 Subject: NLSed a string --- .../src/org/eclipse/team/core/variants/CachedResourceVariant.java | 2 +- .../src/org/eclipse/team/internal/core/messages.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3