Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-11-20 15:28:53 +0000
committerMichael Valenta2003-11-20 15:28:53 +0000
commitebc6a11c63132547b849d7c31abf2b59318b913d (patch)
tree2eb31f7405d683f50fd2ba1d64b201d140fd36b7
parent369946cf0cd4349c8fd10e3fb26e195076ca6c41 (diff)
downloadeclipse.platform.team-ebc6a11c63132547b849d7c31abf2b59318b913d.tar.gz
eclipse.platform.team-ebc6a11c63132547b849d7c31abf2b59318b913d.tar.xz
eclipse.platform.team-ebc6a11c63132547b849d7c31abf2b59318b913d.zip
NLSed some strings
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSSyncTreeSubscriber.java5
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties2
2 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSSyncTreeSubscriber.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSSyncTreeSubscriber.java
index 039605971..0d078f3b9 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSSyncTreeSubscriber.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSSyncTreeSubscriber.java
@@ -37,6 +37,7 @@ import org.eclipse.team.core.subscribers.TeamSubscriber;
import org.eclipse.team.core.subscribers.TeamDelta;
import org.eclipse.team.core.sync.IRemoteResource;
import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot;
+import org.eclipse.team.internal.ccvs.core.Policy;
/**
* This class provides common funtionality for three way sychronizing
@@ -239,7 +240,7 @@ public abstract class CVSSyncTreeSubscriber extends TeamSubscriber {
if (!errors.isEmpty()) {
throw new CVSException(new MultiStatus(CVSProviderPlugin.ID, 0,
(IStatus[]) errors.toArray(new IStatus[errors.size()]),
- "Errors occurred during refresh of {0}" + getName(), null));
+ Policy.bind("CVSSyncTreeSubscriber.1", getName()), null)); //$NON-NLS-1$
}
}
@@ -260,7 +261,7 @@ public abstract class CVSSyncTreeSubscriber extends TeamSubscriber {
fireTeamResourceChange(TeamDelta.asSyncChangedDeltas(this, changedResources));
return Status.OK_STATUS;
} catch (TeamException e) {
- return new CVSStatus(IStatus.ERROR, "An error occurred refreshing {0}: {1}" + resource.getFullPath().toString() + e.getMessage(), e);
+ return new CVSStatus(IStatus.ERROR, Policy.bind("CVSSyncTreeSubscriber.2", resource.getFullPath().toString(), e.getMessage()), e); //$NON-NLS-1$
} finally {
monitor.done();
}
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties
index b7c529907..47b81e923 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties
@@ -333,3 +333,5 @@ RemoveEntryHandler.2=Remove-entry received and ignored from CVS server for exist
ServerMessageLineMatcher.5=Variable in template is not of the correct format: {0}
ServerMessageLineMatcher.6=There are additional groups above those defining variables in template: {0}
ServerMessageLineMatcher.7=Expected variable {0} in {1} but it is not present.
+CVSSyncTreeSubscriber.1=Errors occurred during refresh of {0}
+CVSSyncTreeSubscriber.2=An error occurred refreshing {0}: {1}

Back to the top