Project

General

Profile

Revision 14ae9d24

ID14ae9d240bfbf8139151dd05c9f18e8c08c20c01
Parent 6c58d852
Child f0973bb3, d607cf23

Added by Katja Luther almost 3 years ago

externalize string in preferences

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java
27 27
    public static String LanguageEditorPreferencePage_RestartRequired;
28 28

  
29 29

  
30
    public static String LanguageMenuPreferences_configure;
31

  
32

  
33
    public static String LanguageMenuPreferences_warning;
34

  
35

  
30 36
    public static String LanguageRepresentationPreferencePage_global;
31 37
    public static String LanguageRepresentationPreferencePage_enable;
32 38

  
......
172 178
    public static String PasswordWizardPage_PASSWORDS_DO_NOT_MATCH;
173 179
    public static String PasswordWizardPage_REPEAT_PASSWORD;
174 180

  
181
    public static String PresenceAbsenceMenuPreferences_choose;
182

  
183

  
175 184
    public static String PresenceAbsenceTermDetailElement_CHOOSE_COLOR;
176 185
    public static String PresenceAbsenceTermDetailElement_COLOR_NOT_SET;
177 186
    public static String PresenceAbsenceTermDetailElement_LABEL_COLOR;
178 187

  
188

  
189
    public static String PreservationMethodMenuPreferences_select;
190

  
191
    public static String RankMenuPreferences_display;
192

  
193

  
194
    public static String RankMenuPreferences_sort;
195

  
196

  
179 197
    public static String RemotingLoginDialog_CHOOSE_COMPATIBLE_CDM_SERVER;
180 198
    public static String RemotingLoginDialog_DEFAULT_LOGIN;
181 199
	public static String RemotingLoginDialog_LABEL_ADVANCED;
......
302 320

  
303 321

  
304 322

  
323
    public static String FeatureMenuPreferences_display;
324

  
325

  
305 326
    public static String FeatureTreeDropAdapter_CHOOSE_VOC;
306 327
    public static String FeatureTreeDropAdapter_IMPORT_NOT_POSSIBLE;
307 328
    public static String FeatureTreeDropAdapter_MOVE_FAILED_SAVE_MESSAGE;
......
373 394
    public static String ExperimentalFeaturesPreferences;
374 395

  
375 396

  
397
    public static String ExtensionTypeMenuPreferences_choose;
398

  
399

  
376 400
    public static String SetPublishConfiguration_Title;
377 401
    public static String SetPublishConfiguration_publish;
378 402
    public static String SetPublishConfiguration_dont_publish;
......
481 505
    public static String NomenclaturalCodePreferences_description;
482 506
    public static String NomenclaturalCodePreferences_localChangesNotAllowed;
483 507
    public static String NomenclaturalCodePreferences_useLocalCode;
508

  
509

  
510
    public static String NomenclaturalStatusTypeMenuPreferences_1;
484 511
    public static String PublishEnum_publish;
485 512

  
486 513
    public static String DateDetail_parseText_tooltip;
......
494 521
    public static String TypeDesignationPreferences_typeDesignationsToAllNames;
495 522
    public static String TaxonomicEditorGeneralPreferences_background;
496 523
    public static String TaxonomicEditorGeneralPreferences_connect;
524

  
525

  
526
    public static String TaxonRelationshipTypeMenuPreferences_configure;
497 527
    public static String TaxonSearchPreferences_0;
498 528
    public static String NameRelationshipTypeMenuPreferences_relationshipTypes;
499 529
    public static String NamedAreaTypeMenuPreferences;
530

  
531

  
532
    public static String NameTypeDesignationStatusMenuPreferences_configure;
500 533
    public static String GeneralPreference_open_common_name_area_selection;
501 534

  
502 535

  
......
526 559
    public static String GeneralPreference_override;
527 560

  
528 561

  
562
    public static String MarkerTypeMenuPreferences_display;
563

  
564

  
565
    public static String MeasurementUnitMenuPreferences_edit;
566

  
567

  
529 568
    public static String MediaPreferences_advanced;
530 569
    public static String MediaPreferences_preview;
531 570

  
......
552 591
    public static String SpecimenOrObservationPreferences_1;
553 592

  
554 593

  
594
    public static String SpecimenTypeDesignationStatusMenuPreferences_configure;
595

  
596

  
597
    public static String StageMenuPreferences_choose;
598

  
599

  
555 600
    static {
556 601
        // initialize resource bundle
557 602
        NLS.initializeMessages(BUNDLE_NAME, Messages.class);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties
291 291
SearchDialog_patternLabel=Nutze * als Platzhalter f?r eine beliebige Zeichenkette
292 292
SearchDialogPreferences_0=Zeige Object ID in Such Dialogen
293 293
SearchDialogPreferences_1=Setze die Suche nach Identifiern als Default
294
SearchDialogPreferences_2=Suche nach Identifiern und Titlecache, wenn Identifier Suche ist aktiviert
294
SearchDialogPreferences_2=Suche nach Identifiern und Titlecache, wenn Identifier Suche aktiviert ist
295 295
SearchDialogPreferences_3=In Taxon Such Dialogen sortiere nach Rang und Namen
296 296
SearchDialogPreferences_4=Filter Referenzen f?r Trivialnamen
297 297

  
......
362 362
ChecklistEditorGeneralPreference_show_title=Vollst?ndiger Titel
363 363
ChecklistEditorGeneralPreference_show_rank=Rang anzeigen
364 364
ChecklistEditorGeneralPreference_show_symbol=Symbol des Status anzeigen, wenn es existiert
365
ChecklistEditorGeneralPreference_sort_areas=Areale gem?? Vokabularsortieren
365
ChecklistEditorGeneralPreference_sort_areas=Areale gem?? Vokabular sortieren
366 366
ChecklistEditorGeneralPreference_STATUS_DISPLAY_TEXT=Einstellung f?r die Anzeige des Status
367 367
ChecklistEditorGeneralPreference_own_Description=Erstelle eigenes Fakten-Datenset f?r Verbreitungs-Editor Daten
368 368
ChecklistEditorGeneralPreference_own_DescriptionToolTip=Eintr?ge, die mit dem Distribution Editor erstellt werden, \nwerden in einer eigenen TaxonDescription gespeichert
......
444 444

  
445 445
NavigatorOrderEnum_1=alphabetisch
446 446
NavigatorOrderEnum_3=nat?rlich
447
NavigatorOrderEnum_5=Rang und alphabetisch
447
NavigatorOrderEnum_5=Rang und alphabetisch
448
MarkerTypeMenuPreferences_display=W?hlen Sie welche Marker angezeigt werden sollen
449
RankMenuPreferences_display=W?hlen Sie welche R?nge angezeigt werden sollen
450
RankMenuPreferences_sort=Sortiere R?nge hierarchisch (default ist alphabetisch)
451
FeatureMenuPreferences_display=W?hlen Sie, welche Features in den Faktendaten zur Verf?gung stehen sollen
452
NameTypeDesignationStatusMenuPreferences_configure=Konfiguration des Nametypedesignation Status
453
SpecimenTypeDesignationStatusMenuPreferences_configure=Konfiguration des Specimentypedesignation Status
454
MeasurementUnitMenuPreferences_edit=Angezeigte Ma?einheiten
455
PresenceAbsenceMenuPreferences_choose=Auswahl der Verbreitungsstatus
456
StageMenuPreferences_choose=Auswahl der Stadien
457
LanguageMenuPreferences_configure=Konfiguration der Spracheinstellungen
458
LanguageMenuPreferences_warning=\ - Warnung: keine Beschreibung - wird nicht in den Men?s angezeigt
459
ExtensionTypeMenuPreferences_choose=Auswahl der angezeigten Extension Types
460
PreservationMethodMenuPreferences_select=Auswahl der angezeigten Pr?servierungsmethoden
461
TaxonRelationshipTypeMenuPreferences_configure=Auswahl der angezeigten Taxonrelationstypen
462
NomenclaturalStatusTypeMenuPreferences_1=Auswahl der angezeigten Nomenklatorischen Status Typen
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/CommonNameVocabularySelection.java
1
/**
2
* Copyright (C) 2018 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.taxeditor.preference;
10

  
11
import org.eclipse.swt.SWT;
12
import org.eclipse.swt.custom.CLabel;
13
import org.eclipse.swt.events.SelectionAdapter;
14
import org.eclipse.swt.events.SelectionEvent;
15
import org.eclipse.swt.layout.GridData;
16
import org.eclipse.swt.widgets.Button;
17
import org.eclipse.swt.widgets.Composite;
18
import org.eclipse.swt.widgets.Control;
19

  
20
import eu.etaxonomy.cdm.api.application.ICdmRepository;
21
import eu.etaxonomy.cdm.api.service.IPreferenceService;
22
import eu.etaxonomy.cdm.model.metadata.CdmPreference;
23
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
24
import eu.etaxonomy.taxeditor.l10n.Messages;
25
import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
26
import eu.etaxonomy.taxeditor.store.CdmStore;
27
import eu.etaxonomy.taxeditor.ui.element.CommandHandlerButton;
28

  
29
/**
30
 * @author k.luther
31
 * @since 05.10.2018
32
 *
33
 */
34
public class CommonNameVocabularySelection extends CdmPreferencePage implements IE4PreferencePage {
35

  
36
    boolean allowOverride;
37
    CdmPreference pref = null;
38

  
39
    @Override
40
    protected Control createContents(Composite parent) {
41

  
42
        Composite composite = createComposite(parent);
43
       getValues();
44

  
45

  
46
        final CLabel commonNameAreaLabel = new CLabel(composite, SWT.NULL);
47
        commonNameAreaLabel.setText(Messages.VokabularyAdminPreferences_SELECT_VOCABULARY_TEXT);
48

  
49
        GridData gridData = new GridData();
50
        gridData.horizontalSpan = 2;
51
        commonNameAreaLabel.setLayoutData(gridData);
52

  
53
        final CommandHandlerButton button_opencommonNameAreaWizard = new CommandHandlerButton(composite, SWT.PUSH,
54
                "eu.etaxonomy.taxeditor.store.open.OpenCommonNameAreaWizardHandler"); //$NON-NLS-1$
55

  
56
        button_opencommonNameAreaWizard.setText(Messages.GeneralPreference_open_common_name_area_selection);
57
        final Button allowOverrideCommonNameAreaCheckButton = createAllowOverrideButton(composite);
58

  
59
        if (pref != null){
60
            allowOverride = pref.isAllowOverride();
61
            allowOverrideCommonNameAreaCheckButton.setSelection(allowOverride);
62
        }
63
        else{
64
            allowOverrideCommonNameAreaCheckButton.setSelection(true);
65
        }
66

  
67
        allowOverrideCommonNameAreaCheckButton.addSelectionListener(new SelectionAdapter(){
68
            @Override
69
            public void widgetSelected(SelectionEvent e) {
70
                setApply(true);
71
                allowOverride = allowOverrideCommonNameAreaCheckButton.getSelection();
72

  
73
            }
74
        });
75

  
76
        return composite;
77
    }
78

  
79
    @Override
80
    public boolean performOk() {
81
        if (pref == null){
82
            return true;
83
        }
84
        ICdmRepository controller = CdmStore.getCurrentApplicationConfiguration();
85

  
86
        if(controller!=null){
87
            IPreferenceService service = controller.getPreferenceService();
88

  
89
            CdmPreference pref = PreferencesUtil.getPreferenceFromDB(PreferencePredicate.CommonNameAreaVocabularies);
90
            if(pref==null){
91
                pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.CommonNameAreaVocabularies, "");
92
            }
93
            pref.setAllowOverride(allowOverride);
94
            service.set(pref);
95

  
96
            PreferencesUtil.updateDBPreferences();
97
        }
98
        return true;
99

  
100
    }
101

  
102
    @Override
103
    public void getValues() {
104
        this.isAdminPreference = false;
105
        setPreferenceStore(PreferencesUtil.getPreferenceStore());
106
        pref = PreferencesUtil.getPreferenceFromDB(PreferencePredicate.CommonNameAreaVocabularies);
107

  
108

  
109
        if (pref != null){
110
            allowOverride = pref.isAllowOverride();
111
        }else{
112
            pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.CommonNameAreaVocabularies, "");
113
            allowOverride = true;
114
        }
115
    }
116

  
117

  
118

  
119

  
120
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/ExtensionTypeMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.ExtensionType;
13 13
import eu.etaxonomy.cdm.model.common.TermType;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>ExtensionTypeMenuPreferences class.</p>
......
25 26
	 * <p>Constructor for ExtensionTypeMenuPreferences.</p>
26 27
	 */
27 28
	public ExtensionTypeMenuPreferences() {
28
		super("Extension Type Preferences" ,
29
				"Choose which extension types to display",
29
		super("Extension Type Preferences" , //$NON-NLS-1$
30
				Messages.ExtensionTypeMenuPreferences_choose,
30 31
				false);
31 32
	}
32 33

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/FeatureMenuPreferences.java
10 10

  
11 11
import eu.etaxonomy.cdm.model.common.TermType;
12 12
import eu.etaxonomy.cdm.model.description.Feature;
13
import eu.etaxonomy.taxeditor.l10n.Messages;
13 14

  
14 15
/**
15 16
 * <p>FeatureMenuPreferences class.</p>
......
22 23
public class FeatureMenuPreferences extends AbstractMenuPreferences<Feature> {
23 24

  
24 25
	/** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.feat"{trunked}</code> */
25
	public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.feature";
26
	public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.feature"; //$NON-NLS-1$
26 27

  
27 28
	/**
28 29
	 * <p>Constructor for FeatureMenuPreferences.</p>
29 30
	 */
30 31
	public FeatureMenuPreferences() {
31
		super("Feature Preferences",
32
				"Choose which features you would like to use for descriptive elements.",
32
		super("Feature Preferences", //$NON-NLS-1$
33
				Messages.FeatureMenuPreferences_display,
33 34
				false);
34 35
	}
35 36

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/LanguageMenuPreferences.java
18 18

  
19 19
import eu.etaxonomy.cdm.model.common.Language;
20 20
import eu.etaxonomy.cdm.model.common.TermType;
21
import eu.etaxonomy.taxeditor.l10n.Messages;
21 22

  
22 23
/**
23 24
 * <p>LanguageMenuPreferences class.</p>
......
29 30
public class LanguageMenuPreferences extends AbstractMenuPreferences<Language> {
30 31

  
31 32
	/** Constant <code>ID="eu.etaxonomy.taxeditor.preferences.lang"{trunked}</code> */
32
	public final static String ID = "eu.etaxonomy.taxeditor.preferences.languages";
33
	public final static String ID = "eu.etaxonomy.taxeditor.preferences.languages"; //$NON-NLS-1$
33 34

  
34 35
	/**
35 36
	 * <p>Constructor for LanguageMenuPreferences.</p>
36 37
	 */
37 38
	public LanguageMenuPreferences() {
38
		super("Language Preferences",
39
				"Configure language preferences.",
39
		super("Language Preferences", //$NON-NLS-1$
40
				Messages.LanguageMenuPreferences_configure,
40 41
				false);
41 42
	}
42 43

  
......
71 72
        public String getColumnText(Object element, int columnIndex) {
72 73
			String description = ((Language)element).getDescription();
73 74
			if (description == null) {
74
				description = ((Language)element).getLabel() + " - Warning: no description - not shown in menus";
75
				description = ((Language)element).getLabel() + Messages.LanguageMenuPreferences_warning;
75 76
			}
76 77
			return description;
77 78
		}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/MarkerTypeMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.MarkerType;
13 13
import eu.etaxonomy.cdm.model.common.TermType;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>MarkerTypeMenuPreferences class.</p>
......
25 26
	 * <p>Constructor for MarkerTypeMenuPreferences.</p>
26 27
	 */
27 28
	public MarkerTypeMenuPreferences() {
28
		super("Marker Type Preferences" ,
29
				"Choose which markers to display",
29
		super("Marker Type Preferences" , //$NON-NLS-1$
30
				Messages.MarkerTypeMenuPreferences_display,
30 31
				true);
31 32
	}
32 33

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/MeasurementUnitMenuPreferences.java
5 5

  
6 6
import eu.etaxonomy.cdm.model.common.TermType;
7 7
import eu.etaxonomy.cdm.model.description.MeasurementUnit;
8
import eu.etaxonomy.taxeditor.l10n.Messages;
8 9

  
9 10
/**
10 11
 * <p>MeasurementUnitMenuPreferences class.</p>
......
18 19
	 * <p>Constructor for MeasurementUnitMenuPreferences.</p>
19 20
	 */
20 21
	public MeasurementUnitMenuPreferences() {
21
		super("Measurement Units",
22
				"Edit displayed measurement units",
22
		super("Measurement Units", //$NON-NLS-1$
23
				Messages.MeasurementUnitMenuPreferences_edit,
23 24
				true);
24 25
	}
25 26

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NameTypeDesignationStatusMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.TermType;
13 13
import eu.etaxonomy.cdm.model.name.NameTypeDesignationStatus;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>NameTypeDesignationStatusMenuPreferences class.</p>
......
25 26
	 * <p>Constructor for NameTypeDesignationStatusMenuPreferences.</p>
26 27
	 */
27 28
	public NameTypeDesignationStatusMenuPreferences() {
28
		super("Name Type Designation Status Preferences",
29
				"Configure name type designation status",
29
		super("Name Type Designation Status Preferences", //$NON-NLS-1$
30
				Messages.NameTypeDesignationStatusMenuPreferences_configure,
30 31
				false);
31 32
	}
32 33

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NomenclaturalStatusTypeMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.TermType;
13 13
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>NomenclaturalStatusTypeMenuPreferences class.</p>
......
26 27
	 * <p>Constructor for NomenclaturalStatusTypeMenuPreferences.</p>
27 28
	 */
28 29
	public NomenclaturalStatusTypeMenuPreferences() {
29
		super("Nomenclatural Status Type Preferences",
30
				"Configure nomenclatural status types",
30
		super("Nomenclatural Status Type Preferences", //$NON-NLS-1$
31
				Messages.NomenclaturalStatusTypeMenuPreferences_1,
31 32
				false);
32 33
	}
33 34

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/PresenceAbsenceMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.TermType;
13 13
import eu.etaxonomy.cdm.model.description.PresenceAbsenceTerm;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>PresenceAbsenceMenuPreferences class.</p>
......
22 23
public class PresenceAbsenceMenuPreferences extends AbstractMenuPreferences<PresenceAbsenceTerm> {
23 24

  
24 25
	public PresenceAbsenceMenuPreferences() {
25
		super("Distribution Status Preferences",
26
				"Choose which distribution states should be shown.",
26
		super("Distribution Status Preferences", //$NON-NLS-1$
27
				Messages.PresenceAbsenceMenuPreferences_choose,
27 28
				false);
28 29
	}
29 30

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/PreservationMethodMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.DefinedTerm;
13 13
import eu.etaxonomy.cdm.model.common.TermType;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>PreservationMethodMenuPreferences class.</p>
......
28 29
	 * <p>Constructor for PreservationMethodMenuPreferences.</p>
29 30
	 */
30 31
	public PreservationMethodMenuPreferences() {
31
		super("Preservation Method Preferences",
32
				"Select preservation methods to be shown in selections",
32
		super("Preservation Method Preferences", //$NON-NLS-1$
33
				Messages.PreservationMethodMenuPreferences_select,
33 34
				false);
34 35
	}
35 36

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/RankMenuPreferences.java
16 16

  
17 17
import eu.etaxonomy.cdm.model.common.TermType;
18 18
import eu.etaxonomy.cdm.model.name.Rank;
19
import eu.etaxonomy.taxeditor.l10n.Messages;
19 20
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
20 21

  
21 22
/**
......
30 31
public class RankMenuPreferences extends AbstractMenuPreferences<Rank> {
31 32

  
32 33
	/** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.rank"{trunked}</code> */
33
	public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.ranks";
34
	public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.ranks"; //$NON-NLS-1$
34 35

  
35 36
	/**
36 37
	 * <p>Constructor for RankMenuPreferences.</p>
37 38
	 */
38 39
	public RankMenuPreferences() {
39
		super("Rank Preferences",
40
				"Choose which ranks to display in the property sheet drop-down menu.",
40
		super("Rank Preferences", //$NON-NLS-1$
41
				Messages.RankMenuPreferences_display,
41 42
				false);
42 43
	}
43 44

  
......
46 47
	protected void createAdditionalContent(Composite container) {
47 48

  
48 49
		final Button checkbox = new Button(container, SWT.CHECK);
49
		checkbox.setText("Sort ranks hierarchically (default is alphabetically)");
50
		checkbox.setText(Messages.RankMenuPreferences_sort);
50 51

  
51 52
		checkbox.setSelection(PreferencesUtil.getSortRanksHierarchichally());
52 53

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/SpecimenTypeDesignationStatusMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.TermType;
13 13
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>SpecimenTypeDesignationStatusMenuPreferences class.</p>
......
25 26
	 * <p>Constructor for SpecimenTypeDesignationStatusMenuPreferences.</p>
26 27
	 */
27 28
	public SpecimenTypeDesignationStatusMenuPreferences() {
28
		super("Specimen Type Designation Status Preferences",
29
				"Configure specimen type designation status",
29
		super("Specimen Type Designation Status Preferences", //$NON-NLS-1$
30
				Messages.SpecimenTypeDesignationStatusMenuPreferences_configure,
30 31
				false);
31 32
	}
32 33

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/StageMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.DefinedTerm;
13 13
import eu.etaxonomy.cdm.model.common.TermType;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16

  
16 17
/**
......
26 27
	 * <p>Constructor for StageMenuPreferences.</p>
27 28
	 */
28 29
	public StageMenuPreferences() {
29
		super("Stage Preferences",
30
				"Choose stages to be shown in selection combos",
30
		super("Stage Preferences", //$NON-NLS-1$
31
				Messages.StageMenuPreferences_choose,
31 32
				false);
32 33
	}
33 34

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/TaxonRelationshipTypeMenuPreferences.java
11 11

  
12 12
import eu.etaxonomy.cdm.model.common.TermType;
13 13
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15

  
15 16
/**
16 17
 * <p>TaxonRelationshipTypeMenuPreferences class.</p>
......
26 27
	 * <p>Constructor for TaxonRelationshipTypeMenuPreferences.</p>
27 28
	 */
28 29
	public TaxonRelationshipTypeMenuPreferences() {
29
		super("Taxon Relationship Type Preferences",
30
				"Configure taxon relationship types",
30
		super("Taxon Relationship Type Preferences", //$NON-NLS-1$
31
				Messages.TaxonRelationshipTypeMenuPreferences_configure,
31 32
				false);
32 33
	}
33 34

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)