Revision bcca590f
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/l10n/Messages.java | ||
---|---|---|
240 | 240 |
public static String ValidationDaemon_VALIDATION_STOPPED; |
241 | 241 |
public static String DeleteDerivateHandler_LABEL; |
242 | 242 |
public static String DeleteDerivateHandler_SUCCESSFULL_BUT_EXCEPTIONS; |
243 |
public static String DynamicFeatureMenuE4_new; |
|
243 | 244 |
static { |
244 | 245 |
// initialize resource bundle |
245 | 246 |
NLS.initializeMessages(BUNDLE_NAME, Messages.class); |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/l10n/messages.properties | ||
---|---|---|
178 | 178 |
SwapSynonymAndAcceptedOperation_NOT_IMPLEMENTED=Not yet implemented |
179 | 179 |
SwapSynonymAndAcceptedOperation_SWAP_SYN_ACC_TAXON=Swap Synonym And Accepted Taxon Operation |
180 | 180 |
ChecklistDropdownSelectionListener_ADD_DISTRIBUTION=Add Distribution |
181 |
ChecklistEditor_DIST_STATUS=Distribution Status
|
|
182 |
ChecklistEditor_DIST_STATUS_TOOLTIP=Show Distribution Status for selected Areas
|
|
181 |
ChecklistEditor_DIST_STATUS=Distribution Areas
|
|
182 |
ChecklistEditor_DIST_STATUS_TOOLTIP=Select or deselect Areas
|
|
183 | 183 |
ChecklistEditor_ELEMENT_COUNT=Element count: |
184 | 184 |
ChecklistEditor_LOAD_CNT_TAXA=Loading %d Taxa... |
185 | 185 |
ChecklistEditor_LOAD_TAXA=loading Taxa |
... | ... | |
219 | 219 |
DerivateSearchComposite_TITLE_CACHE=Title Cache |
220 | 220 |
DerivateSearchComposite_YES=Yes |
221 | 221 |
DerivateViewEditorInput_SPECIMEN_EDITOR=Specimen Editor |
222 |
DynamicFeatureMenuE4_new=New |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/l10n/messages_de.properties | ||
---|---|---|
178 | 178 |
SwapSynonymAndAcceptedOperation_NOT_IMPLEMENTED=Noch nicht implementiert |
179 | 179 |
SwapSynonymAndAcceptedOperation_SWAP_SYN_ACC_TAXON=Tausche Synonym und akzeptiertes Taxon |
180 | 180 |
ChecklistDropdownSelectionListener_ADD_DISTRIBUTION=Verbreitung hinzuf?gen |
181 |
ChecklistEditor_DIST_STATUS=Verbreitungsstatus
|
|
182 |
ChecklistEditor_DIST_STATUS_TOOLTIP=Zeige den Verbreitungsstatus f?r die ausgew?hlten Gebiete
|
|
181 |
ChecklistEditor_DIST_STATUS=Gebiete ausw?hlen
|
|
182 |
ChecklistEditor_DIST_STATUS_TOOLTIP=W?hle zus?tzliche Gebiete aus oder blende sie aus
|
|
183 | 183 |
ChecklistEditor_ELEMENT_COUNT=Anzahl der Elemente: |
184 | 184 |
ChecklistEditor_LOAD_CNT_TAXA=Lade %d Taxa... |
185 | 185 |
ChecklistEditor_LOAD_TAXA=Lade Taxa |
... | ... | |
219 | 219 |
DerivateSearchComposite_TITLE_CACHE=Titlecache |
220 | 220 |
DerivateSearchComposite_YES=Ja |
221 | 221 |
DerivateViewEditorInput_SPECIMEN_EDITOR=Specimen-Editor |
222 |
DynamicFeatureMenuE4_new=Neu |
|
223 |
|
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/handler/DynamicFeatureMenuE4.java | ||
---|---|---|
28 | 28 |
import eu.etaxonomy.cdm.model.description.Feature; |
29 | 29 |
import eu.etaxonomy.cdm.model.description.FeatureNode; |
30 | 30 |
import eu.etaxonomy.cdm.model.description.FeatureTree; |
31 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
|
31 | 32 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.CreateDescriptionElementOperation; |
32 | 33 |
import eu.etaxonomy.taxeditor.model.FeatureNodeContainer; |
33 | 34 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
... | ... | |
46 | 47 |
public void aboutToShow(List<MMenuElement> items, @Named(IServiceConstants.ACTIVE_SELECTION) Object selection) { |
47 | 48 |
|
48 | 49 |
MMenu menu = MMenuFactory.INSTANCE.createMenu(); |
49 |
menu.setLabel("New");
|
|
50 |
menu.setLabel(Messages.DynamicFeatureMenuE4_new);
|
|
50 | 51 |
items.add(menu); |
51 | 52 |
|
52 | 53 |
if (selection instanceof DescriptionBase<?>) { |
Also available in: Unified diff
internationalize new in factualdata view