Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2008-04-07 13:24:49 -0400
committerPascal Rapicault2008-04-07 13:24:49 -0400
commit1a3af5ed4565dd08d65a9724b32df2d804841e72 (patch)
tree997528fe8f0da22ac039347d5feed3d31482756f
parent33f702d27c25db85501cd3fccf72caedf9fcc3f9 (diff)
downloadrt.equinox.p2-1a3af5ed4565dd08d65a9724b32df2d804841e72.tar.gz
rt.equinox.p2-1a3af5ed4565dd08d65a9724b32df2d804841e72.tar.xz
rt.equinox.p2-1a3af5ed4565dd08d65a9724b32df2d804841e72.zip
-rw-r--r--bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Slicer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Slicer.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Slicer.java
index 31e2eff70..59310c0a1 100644
--- a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Slicer.java
+++ b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Slicer.java
@@ -16,6 +16,7 @@ import org.eclipse.equinox.internal.provisional.p2.metadata.RequiredCapability;
import org.eclipse.equinox.internal.provisional.p2.metadata.query.CapabilityQuery;
import org.eclipse.equinox.internal.provisional.p2.query.Collector;
import org.eclipse.equinox.internal.provisional.p2.query.IQueryable;
+import org.eclipse.osgi.util.NLS;
import org.osgi.framework.InvalidSyntaxException;
public class Slicer {
@@ -33,7 +34,7 @@ public class Slicer {
possibilites = input;
slice = new TwoTierMap();
selectionContext = context;
- result = new MultiStatus(DirectorActivator.PI_DIRECTOR, IStatus.OK, "Problems resolving provisioning plan.", null);
+ result = new MultiStatus(DirectorActivator.PI_DIRECTOR, IStatus.OK, Messages.Planner_Problems_resolving_plan, null);
}
public Slicer(IInstallableUnit[] installRoots, IInstallableUnit[] gatherAvailableInstallableUnits, Dictionary selectionContext) {
@@ -143,7 +144,7 @@ public class Slicer {
if (DEBUG)
System.out.println("No IU found to satisfy optional dependency of " + iu + " on req " + req); //$NON-NLS-1$//$NON-NLS-2$
} else {
- result.add(new Status(IStatus.WARNING, DirectorActivator.PI_DIRECTOR, "No IU found to satisfy dependency of " + iu + " on req " + req)); //$NON-NLS-1$//$NON-NLS-2$
+ result.add(new Status(IStatus.WARNING, DirectorActivator.PI_DIRECTOR, NLS.bind(Messages.Planner_Unsatisfied_dependency, iu, req)));
}
}
}

Back to the top