Merge branch 'release/4.6.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / src / main / java / eu / etaxonomy / taxeditor / navigation / navigator / ClassificationLabelProvider.java
index 76f8bc0ab6ce1065f2ef26f27f0fff02f36c81a2..81f007d34fe5aab06c36d5b459084d29e4c33202 100644 (file)
@@ -1,4 +1,3 @@
-// $Id$
 /**
 * Copyright (C) 2007 EDIT
 * European Distributed Institute of Taxonomy 
@@ -19,6 +18,7 @@ import org.eclipse.swt.graphics.Image;
 import org.eclipse.ui.navigator.IDescriptionProvider;
 
 import eu.etaxonomy.cdm.model.taxon.Classification;
+import eu.etaxonomy.taxeditor.navigation.l10n.Messages;
 
 /**
  * <p>ClassificationLabelProvider class.</p>
@@ -49,7 +49,7 @@ implements ILabelProvider, IDescriptionProvider, IStyledLabelProvider {
        public String getText(Object element) {
                if(element instanceof Classification){
                        String text = ((Classification) element).getName().getText();
-                       return text != null ? text : "Unnamed Taxonomic Tree";
+                       return text != null ? text : Messages.ClassificationLabelProvider_UNNAMED_TREE;
                }
                return new String();
        }