Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-01-13 14:25:50 +0000
committerMilos Kleint2011-01-13 14:25:50 +0000
commit84ec24d279a1aa563273ea3136a3282eaffed008 (patch)
treedbb6ab07814f4d7021b7ab1efd4f1bb0f78aea46 /org.eclipse.m2e.editor
parentf169c9028ca35b1a7aa0b8faa2ea926ef60aaa3a (diff)
downloadm2e-core-84ec24d279a1aa563273ea3136a3282eaffed008.tar.gz
m2e-core-84ec24d279a1aa563273ea3136a3282eaffed008.tar.xz
m2e-core-84ec24d279a1aa563273ea3136a3282eaffed008.zip
MNGECLIPSE-2717 i18n
Diffstat (limited to 'org.eclipse.m2e.editor')
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependencyLabelProvider.java3
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/Messages.java2
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/messages.properties1
3 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependencyLabelProvider.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependencyLabelProvider.java
index e341c093..c8064fe4 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependencyLabelProvider.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependencyLabelProvider.java
@@ -25,6 +25,7 @@ import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.project.IMavenProjectFacade;
import org.eclipse.m2e.core.project.MavenProjectManager;
import org.eclipse.m2e.editor.MavenEditorImages;
+import org.eclipse.m2e.editor.internal.Messages;
import org.eclipse.m2e.editor.pom.MavenPomEditor;
import org.eclipse.m2e.model.edit.pom.Dependency;
import org.eclipse.m2e.model.edit.pom.Exclusion;
@@ -105,7 +106,7 @@ public class DependencyLabelProvider extends LabelProvider implements IColorProv
Dependency dep = (Dependency) element;
String version = findManagedVersion(dep);
if (version != null) {
- ss.append(NLS.bind(" (managed:{0})", version), StyledString.DECORATIONS_STYLER);
+ ss.append(NLS.bind(Messages.DependencyLabelProvider_0, version), StyledString.DECORATIONS_STYLER);
}
return ss;
}
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/Messages.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/Messages.java
index e334694c..c673c3b0 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/Messages.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/Messages.java
@@ -153,6 +153,8 @@ public class Messages extends NLS {
public static String DependenciesPage_title;
+ public static String DependencyLabelProvider_0;
+
public static String DependencyTreePage_0;
public static String DependencyTreePage_action_collapseAll;
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/messages.properties b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/messages.properties
index 4dc50bf1..7bef096a 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/messages.properties
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/internal/messages.properties
@@ -66,6 +66,7 @@ DependenciesPage_exclusions_link=To manage your transitive dependency exclusions
DependenciesPage_find=Find
DependenciesPage_form=Dependencies
DependenciesPage_title=Dependencies
+DependencyLabelProvider_0=\ (managed:{0})
DependencyTreePage_0=\ -
DependencyTreePage_action_collapseAll=Collapse All
DependencyTreePage_action_expandAll=Expand All

Back to the top