Project

General

Profile

« Previous | Next » 

Revision 939829bc

Added by Patrick Plitzner about 7 years ago

ref #4611 i18n for taxeditor.navigator plugin

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/ClassificationLabelProvider.java
18 18
import org.eclipse.ui.navigator.IDescriptionProvider;
19 19

  
20 20
import eu.etaxonomy.cdm.model.taxon.Classification;
21
import eu.etaxonomy.taxeditor.navigation.l10n.Messages;
21 22

  
22 23
/**
23 24
 * <p>ClassificationLabelProvider class.</p>
......
48 49
	public String getText(Object element) {
49 50
		if(element instanceof Classification){
50 51
			String text = ((Classification) element).getName().getText();
51
			return text != null ? text : "Unnamed Taxonomic Tree";
52
			return text != null ? text : Messages.ClassificationLabelProvider_UNNAMED_TREE;
52 53
		}
53 54
		return new String();
54 55
	}

Also available in: Unified diff