Revision 150b624d
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/operation/DeleteDescriptionElementOperation.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.cdm.model.description.DescriptionBase; |
19 | 19 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
20 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
|
20 | 21 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
21 | 22 |
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation; |
22 | 23 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
... | ... | |
64 | 65 |
|
65 | 66 |
// Remove element from description |
66 | 67 |
if (description == null) { |
67 |
MessagingUtils.error(this.getClass(), "Couldn't find element's description!", null);
|
|
68 |
MessagingUtils.error(this.getClass(), Messages.DeleteDescriptionElementOperation_DESC_NOT_FOUND, null);
|
|
68 | 69 |
} else { |
69 | 70 |
description.removeElement(element); |
70 | 71 |
} |
Also available in: Unified diff
ref #4611 complete i18n for taxeditor.editor plugin