Revision 61c51c84
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/ConceptContainer.java | ||
---|---|---|
15 | 15 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship; |
16 | 16 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType; |
17 | 17 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
18 |
import eu.etaxonomy.taxeditor.editor.Messages; |
|
18 | 19 |
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor; |
19 | 20 |
import eu.etaxonomy.taxeditor.preference.Resources; |
20 | 21 |
|
... | ... | |
72 | 73 |
} |
73 | 74 |
|
74 | 75 |
if (getTaxonBase().getSec() == null) { |
75 |
setNonEditableInfo("sec. ???", false); |
|
76 |
setNonEditableInfo("sec. ???", false); //$NON-NLS-1$
|
|
76 | 77 |
} else { |
77 |
setNonEditableInfo("sec. " + getTaxonBase().getSec().getTitleCache(), false); |
|
78 |
setNonEditableInfo("sec. " + getTaxonBase().getSec().getTitleCache(), false); //$NON-NLS-1$
|
|
78 | 79 |
} |
79 | 80 |
} |
80 | 81 |
|
... | ... | |
124 | 125 |
public void showAnnotations() { |
125 | 126 |
if(getData().getSec() == null){ |
126 | 127 |
getNameViewer().addAnnotation( |
127 |
new EditorAnnotation(0, "This taxon requires a sec. reference."));
|
|
128 |
new EditorAnnotation(0, Messages.ConceptContainer_SEC_REQUIRED));
|
|
128 | 129 |
} |
129 | 130 |
super.showAnnotations(); |
130 | 131 |
} |
Also available in: Unified diff
ref #4611 i18n for taxeditor.editor plugin