Project

General

Profile

« Previous | Next » 

Revision 473f7b01

Added by Katja Luther about 5 years ago

ref #7163: externalize strings in preferences

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/preference/BulkEditorGeneralPreferencePage.java
11 11

  
12 12
import org.eclipse.jface.preference.BooleanFieldEditor;
13 13

  
14
import eu.etaxonomy.taxeditor.l10n.Messages;
14 15
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
15 16
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
16 17
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
......
25 26
    @Override
26 27
    protected void createFieldEditors() {
27 28
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS),
28
                "Show Field Units in Specimen Editor (list).",
29
                Messages.BulkEditorGeneralPreferencePage,
29 30
                getFieldEditorParent()));
30 31
    }
31 32

  
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java
63 63
    public static String DynamicMarkerTypeEditingMenuE4_YES;
64 64
    public static String DynamicNewObjectMenuE4_NEW;
65 65
    public static String OccurrenceEditorInput_EDITOR_NAME;
66
    public static String BulkEditorGeneralPreferencePage;
66 67

  
67 68
	static {
68 69
		// initialize resource bundle
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties
58 58
DynamicMarkerTypeEditingMenuE4_YES=Yes
59 59
DynamicNewObjectMenuE4_NEW=New
60 60
OccurrenceEditorInput_EDITOR_NAME=Specimen Editor (list)
61

  
62
BulkEditorGeneralPreferencePage=Zeige Field Units in Listeneditor an
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties
59 59
DynamicMarkerTypeEditingMenuE4_YES=Ja
60 60
DynamicNewObjectMenuE4_NEW=Neu
61 61
OccurrenceEditorInput_EDITOR_NAME=Specimen-Editor (Liste)
62

  
63
BulkEditorGeneralPreferencePage=Zeige Field Units in Listeneditor an
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java
377 377
    public static String SetPublishConfiguration_publish;
378 378
    public static String SetPublishConfiguration_dont_publish;
379 379

  
380

  
381
    public static String TaxonomicEditorGeneralPreferences_0;
382
    public static String TaxonomicEditorGeneralPreferences_1;
383

  
384

  
385 380
    public static String TCSImportWizard_ConfiguratorWizard_label;
386 381

  
387 382

  
......
447 442
    public static String AvailableVocabularyWizard_WIZARD_TITLE;
448 443

  
449 444

  
445
    public static String BulkEditorGeneralPreferencePage_0;
446

  
447

  
450 448
    public static String CheckBoxTreeComposite_COLLAPSE_ALL;
451 449
    public static String CheckBoxTreeComposite_EXPAND;
452 450
    public static String CheckBoxTreeComposite_TOGGLE_TREE_SELECTION;
......
479 477
    public static String PublishFlagPreference_set;
480 478

  
481 479
    public static String NomenclaturalCodePreferences_available_codes;
480
    public static String NomenclaturalCodePreferences_choose;
482 481
    public static String NomenclaturalCodePreferences_description;
483

  
482
    public static String NomenclaturalCodePreferences_localChangesNotAllowed;
483
    public static String NomenclaturalCodePreferences_useLocalCode;
484
    public static String PublishEnum_publish;
484 485

  
485 486
    public static String DateDetail_parseText_tooltip;
486 487

  
487

  
488

  
489

  
488
    public static String UIPreferences_expand;
489
    public static String SearchDialogPreferences_0;
490
    public static String SearchDialogPreferences_1;
491
    public static String SearchDialogPreferences_2;
492
    public static String SearchDialogPreferences_3;
493
    public static String SearchDialogPreferences_4;
494
    public static String TypeDesignationPreferences_typeDesignationsToAllNames;
495
    public static String TaxonomicEditorGeneralPreferences_background;
496
    public static String TaxonomicEditorGeneralPreferences_connect;
497
    public static String TaxonSearchPreferences_0;
498
    public static String NameRelationshipTypeMenuPreferences_relationshipTypes;
499
    public static String NamedAreaTypeMenuPreferences;
490 500
    public static String GeneralPreference_open_common_name_area_selection;
491 501

  
492 502

  
......
519 529
    public static String MediaPreferences_advanced;
520 530
    public static String MediaPreferences_preview;
521 531

  
522

  
532
    public static String NavigatorOrderEnum_1;
533
    public static String NavigatorOrderEnum_3;
534
    public static String NavigatorOrderEnum_5;
523 535

  
524 536

  
525 537

  
......
533 545
    public static String PublishFlagPreference_description_not_allowed;
534 546

  
535 547

  
548
    public static String ChecklistEditorGeneralPreference_0;
549

  
550

  
551
    public static String SpecimenOrObservationPreferences_0;
552
    public static String SpecimenOrObservationPreferences_1;
553

  
554

  
536 555
    static {
537 556
        // initialize resource bundle
538 557
        NLS.initializeMessages(BUNDLE_NAME, Messages.class);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties
41 41
DatabaseRepairPage_TeamOrPerson=Persons and Teams
42 42
DatabaseRepairPage_toolTip_teamOrPerson=Caches of all Persons and Teams are recalculated.
43 43

  
44
UIPreferences_expand=Expand sections when data are available in Details View. This might make the Editor slow.
44 45
UpdateHandler_CHECK_UPDATE_JOB=Check Update Job
45 46
UpdateHandler_INSTALL_JOB=Install Update Job
46 47
UpdateHandler_NO_UPDATE_MESSAGE=No updates for the current installation have been found.
......
212 213
SetSecundumConfiguration_Title=Configuration
213 214

  
214 215
DatabasePreferncesPage_Is_redList=Red List 2020
215
DatabasePreferncesPage_Determination_only_for_field_unnits=Show determinations only for field units
216
DatabasePreferncesPage_Show_Collecting_Areas_in_general_section=Show collecting areas in general section
217
DatabasePreferncesPage_Taxon_Associations=Show taxon associations in details view
218 216

  
219 217
DatabasePreferencesPage_Biocase_Provider=Biocase provider
220 218
DatabasePreferencesPage_details_view_configuration=Details view
......
236 234
DatabasePreferencesPage_Define_Default_NomenclaturalCode=Default nomenclatural code
237 235
DatabasePreferencesPage_UseLocalPreferences=Allow to use local preference
238 236
DatabasePreferencesPage_Specimen_Or_Observation=Specimen or observation
239
DatabasePreferncesPage_Life_Form=Show Life-Form in details view of field units
240 237
DatabasePreferencesPage_SetPublishFlag=Configure the handling of publish flag for new taxa
241 238

  
242 239
ImportFromFileAndChooseVocIdWizardPage_AreaVoc=Area Vocabulary
243 240
ImportFromFileAndChooseVocIdWizardOage_AreaVoc_toolTip=Please choose a vocabulary for the used areas.
244 241
ExcelDistributionUpdateWizard_ConfiguratorWizard_label=Configure Excel distribution update
245 242
AbstractImportWizard_ConfigurationLabel=Configure the Import
246
TaxonomicEditorGeneralPreferences_0=Run long running operations in background
247
TaxonomicEditorGeneralPreferences_1=Connect to last used datasource when launching
243
TaxonomicEditorGeneralPreferences_background=Run long running operations in background
244
TaxonomicEditorGeneralPreferences_connect=Connect to last used datasource when launching
245
TaxonSearchPreferences_0=Open search results in separate windows
248 246
TCSImportWizard_ConfiguratorWizard_label=Configure the TCS import
249 247
FeatureTreeEditorComposite_ADD_FEATURE=Add a feature to this feature tree.
250 248
FeatureTreeEditorComposite_FEATURE_TREE=Feature Tree
......
264 262
NonViralNameDetails_confirmDeleteOfCultivarNameParts=The cultivar name needs to be removed
265 263
NonViralNameDetails_descriptionDeleteOfCultivarNameParts=If you click Ok, the cultivar name is removed and the nomenclatural code is changed
266 264

  
265
NamedAreaTypeMenuPreferences=Edit displayed named area types
267 266
NameDetailsViewComposite_Show_TypeDesignation=Name type designation section
268 267
NameDetailsViewComposite_Show_Namerelationships=Name relationship section
269 268
NameDetailsViewComposite_Show_Hybrid=Hybrid section
......
302 301
SetPublishConfiguration_dont_publish=don't publish
303 302

  
304 303
SearchDialog_patternLabel=Use * for wildcard
304
SearchDialogPreferences_0=Show object id in entity selection dialogs
305
SearchDialogPreferences_1=Set search for Identifier as default.
306
SearchDialogPreferences_2=Search for identifier and titleCache, if identifier search is enabled
307
SearchDialogPreferences_3=In selection dialogs for taxa, sort by rank and name
308
SearchDialogPreferences_4=Filter common name references
305 309

  
306 310
SelectionViewMenu_selectVocabulary=choose vocabulary
307 311
SelectionViewMenu_SET_FLAG='%s' set flag
......
353 357
AvailableVocabularyWizard_PAGE_TITLE=AvailableDistributionPage
354 358
AvailableVocabularyWizard_WINDOW_TITLE=Vocabulary Selection
355 359
AvailableVocabularyWizard_WIZARD_TITLE=Vocabulary Selection
360
BulkEditorGeneralPreferencePage_0=Show Field Units in Specimen Editor (list).
356 361

  
357 362
CheckBoxTreeComposite_COLLAPSE_ALL=Collapse all
358 363
CheckBoxTreeComposite_EXPAND=Expand selected node
359 364
CheckBoxTreeComposite_TOGGLE_TREE_SELECTION=Toggle selection on all children
360
ChecklistEditorGeneralPreference_3=eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler
361
ChecklistEditorGeneralPreference_enable=Enable Distribution Editor
365
ChecklistEditorGeneralPreference_0=The CDM settings don't allow to set the preferences for using the distribution editor locally. If you need to make local settings, please ask an administrator.
366

  
362 367
GeneralPreference_allowOverride=Allow override
363
ChecklistEditorGeneralPreference_open_distribution_selection=Select Area Vocabularies
364
ChecklistEditorGeneralPreference_open_wizard=List of available area vocabularies
365
ChecklistEditorGeneralPreference_Configure_display_of_Areas=Display of areas in the header
366
ChecklistEditorGeneralPreference_Configure_display_of_Status=Display of distribution status in the table
367 368
ChecklistEditorGeneralPreference_show_id_in_voc=Id in Vocabulary
368 369
ChecklistEditorGeneralPreference_show_symbol1=Symbol
369 370
ChecklistEditorGeneralPreference_show_symbol2=Second Symbol
370 371
ChecklistEditorGeneralPreference_show_title=Complete Title
371
ChecklistEditorGeneralPreference_show_rank=Show Rank in Distribution Editor
372 372
ChecklistEditorGeneralPreference_show_symbol=Show symbol of the status, if existing
373
ChecklistEditorGeneralPreference_sort_areas=Sort areas by order in vocabulary
374 373
ChecklistEditorGeneralPreference_STATUS_DISPLAY_TEXT=Configure how the status should be displayed
375
ChecklistEditorGeneralPreference_own_Description=Create own fact dataset for distributions created by the Distribution Editor
376
ChecklistEditorGeneralPreference_own_DescriptionToolTip=Entries created with the Distribution Editor, saved in an own Taxon Description
377 374
GeneralPreference_override=Override
378 375

  
379 376

  
......
386 383
GfBioTerminologyImportPresenter_SEARCH_TOO_SHORT_MESSAGE=Search phrase with <4 letters are not possible for all ontologies. Please select a specific ontology
387 384
GfBioTerminologyImportPresenter_SEARCH_TOO_SHORT_TITLE=Search phrase too short
388 385

  
386
PublishEnum_publish=Publish
389 387
PublishFlagPreference_description=Default value of the publish flag of a newly created taxon
390 388
PublishFlagPreference_description_not_allowed=The configuration of the default settings for the publish flag in new created taxa is not possible in local preferences. \nIf you want to change the configuration, please contact an administrator.
391 389
PublishFlagPreference_do_not_set=Don't set publish flag
......
393 391
PublishFlagPreference_set=Set publish flag
394 392

  
395 393
NomenclaturalCodePreferences_available_codes=Available Codes
394
NomenclaturalCodePreferences_choose=Choose which nomenclatural code you would like to use in your local application for scientific names unless otherwise specified.
396 395
NomenclaturalCodePreferences_description=Nomenclatural default code for creation of new taxon names
396
NomenclaturalCodePreferences_localChangesNotAllowed=The CDM settings don't allow to set the nomenclatural code locally. If you need to make local settings, please ask an administrator.
397
NomenclaturalCodePreferences_useLocalCode=Use local nomenclatural code
397 398

  
398 399
NameDetailsViewConfiguration_description=Configure the simple name details view. The selected parts are displayed, others are not visible in a simple name details view.
399 400
NameDetailsViewConfiguration_description_not_available=The configuration of the name details view is not possible in local preferences. \nIf you want to change the configuration, please contact an administrator.
401
NameRelationshipTypeMenuPreferences_relationshipTypes=Configure name relationship types
400 402
NameRelationshipWizardPage_description=Choose namerelationship type and related name
403
NavigatorOrderEnum_1=Alphabetical Order
404
NavigatorOrderEnum_3=Natural Order
405
NavigatorOrderEnum_5=Rank and Name Order
401 406

  
402 407
DateDetail_parseText_tooltip=This field is for quick data entry. The content is parsed and the atomised fields will be filled, the content of this field will not be saved.
403 408

  
404 409
GeneralPreference_open_common_name_area_selection=Select Areas
405 410

  
406 411
VokabularyAdminPreferences_SELECT_VOCABULARY_TEXT=Select the area vocabularies which should be available for common names.
407
DatabasePreferncesPage_Show_Specimen=Show specimen related views and menu entries
408 412
SpecimenConfiguration_description=Select whether you want to edit specimen related data and how they should be displayed.
413
SpecimenOrObservationPreferences_0=The CDM settings don't allow to set the preferences for the display of specimen and observations locally. If you need to make local settings, please ask an administrator.
414
SpecimenOrObservationPreferences_1=Set the preferences for the display of specimen and observations.
409 415
DatabasePreferncesPage_Show_IOMenu=Show Import/Export menu entries
410
Distribution_status_selection=Status Selection
411 416
DatabasePreferncesPage_Show_MediaView=Show Media View
412 417
DatabasePreferncesPage_Show_ChecklistPerspective=Show Checklist Perspective as default Perspective
413 418
DatabasePreferncesPage_Show_TaxonNodeWizard=Taxon Nodes can be edited in Wizard
414 419

  
415
DistributionAdminPreferences_SELECT_STATUS=List of available distribution status
416 420

  
417 421
MediaPreferences_advanced=Show Advanced Media View in Details View
418 422
MediaPreferences_preview=Show Preview in Media View (Tree View)
......
420 424

  
421 425
ToggleableText_ToolTip_closed=Cache is created automatically from atomized data, cache protected against manual entries
422 426
ToggleableText_ToolTip_open=Cache can be edited manually, editing the atomized data has no effect on the cache (not recommended)
427
TypeDesignationPreferences_typeDesignationsToAllNames=Add type designations to all names in a homotypical group.
423 428

  
424 429

  
425 430
FeatureTreeDropAdapter_CHOOSE_VOC=Choose vocabulary for import
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties
19 19
OpenCommonNameAreaWizardAdminHandler_COMMON_NAMES=Trivialnamen
20 20
OpenDistributionEditorWizardHandlerAdminE4_DISTRIBUTION=Verbreitung
21 21
OpenDistributionEditorWizardHandlerE4_DISTRIBUTION=Verbreitung
22
OrderPreferencePage_NewNavigatorWindowRequired=Nach dem ?ndern der Taxon Sortierung, ist das Schlie?en und erneute ?ffnen des Taxonnavigators erforderlich.
23
OrderPreferencePage_PleaseReopenNavigator=Bitte schlie?en Sie den Taxonnavigator und ?ffnen ihn erneut.
22

  
23

  
24 24
DatabaseRepairPage_chooseParameter=Bitte w?hlen Sie, f?r welche B?ume der SortIndex neu berechnet werden soll.
25 25
DatabaseRepairPage_updateTaxonNodes=Taxonomischer Baum
26 26
DatabaseRepairPage_toolTip_taxonNode=Die Sortier Indizes des Taxonomischen Baums werden aktualisiert.
......
289 289
SetPublishConfiguration_dont_publish=nicht ver?ffentlichen
290 290

  
291 291
SearchDialog_patternLabel=Nutze * als Platzhalter f?r eine beliebige Zeichenkette
292
SearchDialogPreferences_0=Zeige Object ID in Such Dialogen
293
SearchDialogPreferences_1=Setze die Suche nach Identifiern als Default
294
SearchDialogPreferences_2=Suche nach Identifiern und Titlecache, wenn Identifier Suche ist aktiviert
295
SearchDialogPreferences_3=In Taxon Such Dialogen sortiere nach Rang und Namen
296
SearchDialogPreferences_4=Filter Referenzen f?r Trivialnamen
292 297

  
293 298
SelectionViewMenu_selectVocabulary=Vokabular w?hlen
294 299
SelectionViewMenu_SET_FLAG='%s' flag setzen
......
344 349
CheckBoxTreeComposite_COLLAPSE_ALL=Alles einklappen
345 350
CheckBoxTreeComposite_EXPAND=Ausgew?hlten Knoten ausklappen
346 351
CheckBoxTreeComposite_TOGGLE_TREE_SELECTION=Alle Kinder (de-)selektieren
347
ChecklistEditorGeneralPreference_3=eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler
352
ChecklistEditorGeneralPreference_0=Die Datenbank Pr?ferenzen erlauben kein lokales Bearbeiten der Verbreitungseditor Pr?ferenzen. \nWenn Sie dennoch ?nderungen an den Pr?ferenzen vornehmen m?ssen, wenden Sie sich bitte an einen Administrator.
348 353
ChecklistEditorGeneralPreference_enable=Verbreitungs-Editor aktivieren
349 354
GeneralPreference_allowOverride=Erlaube ?berschreiben
350 355
ChecklistEditorGeneralPreference_open_distribution_selection=Gebiets Vokabulare Ausw?hlen
......
420 425
MediaPreferences_preview=Zeige Vorschau im Media View (Baumansicht)
421 426
ExperimentalFeaturesPreferences=Zeige experimentelle Features
422 427

  
423
LanguageRepresentationPreferencePage_global=W?hlen Sie die Sprache, f?r die im gesamten Editor die Repr?sentationen ausgew?hlt werden sollen (sofern vorhanden).
428
LanguageRepresentationPreferencePage_global=W?hlen Sie die Sprache, f?r die im gesamten Editor die Repr?sentationen ausgew?hlt werden soll (sofern vorhanden).
424 429
LanguageRepresentationPreferencePage_enable=Aktiviere mehrsprachige Editierbarkeit
425 430

  
426
OrderPreferences_Restore=Stelle den letzten Navigator Status wieder her.
431
OrderPreferences_Restore=Stelle den letzten Navigator Status wieder her
427 432
OrderPreferences_Sorting=Sortierung
433
TypeDesignationPreferences_typeDesignationsToAllNames=F?ge allen Namen einer Homotypischen Gruppe, Type Designations zu
434
TaxonomicEditorGeneralPreferences_background=Long Running Operations laufen im Hintergrund
435
TaxonomicEditorGeneralPreferences_connect=Beim Starten mit der zuletzt verwendeten Datenquelle verbinden
436

  
437
UIPreferences_expand=Klappe Abschnitte im Details View auf, wenn Daten vorhanden sind
438
TaxonSearchPreferences_0=?ffne Suchergebnisse in eigenem Fenster
439
NamedAreaTypeMenuPreferences=W?hlen Sie die angezeigten Named Area Typen aus
440
NameRelationshipTypeMenuPreferences_relationshipTypes=W?hlen Sie die verwendeten Namensrelationstypen
441

  
442
SpecimenOrObservationPreferences_0=Die serverseitigen Einstellungen erlauben kein lokales Editieren der Specimen Einstellungen. \nWenn Sie dennoch ?nderungen vornehmen m?ssen, wenden Sie sich bitte an einen Administrator.
443
SpecimenOrObservationPreferences_1=Editieren der Einstellungen zur Darstellung von Specimen und Beobachtungen.
428 444

  
445
NavigatorOrderEnum_1=alphabetisch
446
NavigatorOrderEnum_3=nat?rlich
447
NavigatorOrderEnum_5=Rang und alphabetisch
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/NavigatorOrderEnum.java
8 8
*/
9 9
package eu.etaxonomy.taxeditor.preference;
10 10

  
11
import eu.etaxonomy.taxeditor.l10n.Messages;
12

  
11 13
/**
12 14
 * @author k.luther
13 15
 * @since 19.11.2018
14 16
 *
15 17
 */
16 18
public enum NavigatorOrderEnum {
17
    AlphabeticalOrder("AlphabeticalOrder", "Alphabetical Order"),
18
    NaturalOrder("NaturalOrder", "Natural Order"),
19
    RankAndNameOrder("RankAndNameOrder", "Rank and Name Order");
19
    AlphabeticalOrder("AlphabeticalOrder", Messages.NavigatorOrderEnum_1), //$NON-NLS-1$
20
    NaturalOrder("NaturalOrder", Messages.NavigatorOrderEnum_3), //$NON-NLS-1$
21
    RankAndNameOrder("RankAndNameOrder", Messages.NavigatorOrderEnum_5); //$NON-NLS-1$
20 22

  
21 23

  
22 24
    String label;
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PublishEnum.java
8 8
*/
9 9
package eu.etaxonomy.taxeditor.preference;
10 10

  
11
import eu.etaxonomy.taxeditor.l10n.Messages;
12

  
11 13
/**
12 14
 * @author k.luther
13 15
 * @since 19.11.2018
......
15 17
 */
16 18
public enum PublishEnum {
17 19

  
18
    Publish("Publish", "Publish"),
19
    NotPublish("NotPublish", "Not Publish"),
20
    InheritFromParent("InheritFromParent", "Inherit from Parent");
20
    Publish("Publish", Messages.PublishEnum_publish), //$NON-NLS-1$
21
    NotPublish("NotPublish", ""), //$NON-NLS-1$ //$NON-NLS-2$
22
    InheritFromParent("InheritFromParent", ""); //$NON-NLS-1$ //$NON-NLS-2$
21 23

  
22 24

  
23 25
    String label;
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SearchDialogPreferences.java
10 10

  
11 11
import org.eclipse.jface.preference.BooleanFieldEditor;
12 12

  
13
import eu.etaxonomy.taxeditor.l10n.Messages;
13 14
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
14 15

  
15 16
/**
......
25 26
    @Override
26 27
    protected void createFieldEditors() {
27 28
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG),
28
                "Show object id in entity selection dialogs",
29
                Messages.SearchDialogPreferences_0,
29 30
                getFieldEditorParent()));
30 31
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SEARCH_FOR_IDENTIFIER_AS_DEFAULT),
31
                "Set search for Identifier as default.",
32
                Messages.SearchDialogPreferences_1,
32 33
                getFieldEditorParent()));
33 34
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SEARCH_FOR_IDENTIFIER_AND_TITLECACHE),
34
                "Search for identifier and titleCache, if identifier search is enabled",
35
                Messages.SearchDialogPreferences_2,
35 36
                getFieldEditorParent()));
36

  
37 37
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SORT_TAXA_BY_RANK_AND_NAME),
38
                "In selection dialogs for taxa, sort by rank and name",
38
                Messages.SearchDialogPreferences_3,
39 39
                getFieldEditorParent()));
40 40
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
41 41
                IPreferenceKeys.FILTER_COMMON_NAME_REFERENCES),
42
                "Filter common name references", getFieldEditorParent()));
42
                Messages.SearchDialogPreferences_4, getFieldEditorParent()));
43 43

  
44 44

  
45 45

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SearchPreferences.java
25 25
     */
26 26
    @Override
27 27
    protected Control createContents(Composite parent) {
28
        // TODO Auto-generated method stub
28
        noDefaultAndApplyButton();
29 29
        return null;
30 30
    }
31 31

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SpecimenOrObservationPreferences.java
29 29
 */
30 30
public class SpecimenOrObservationPreferences extends CdmPreferencePage {
31 31

  
32
    private static final String LOCAL_SETTINGS_NOT_ALLOWED = "The CDM settings don't allow to set the preferences for the display of specimen and obeservations locally. If you need to make local settings, please ask an administrator.";
33
    private static final String DESCRIPTION = "Set the preferences for the display of specimen and observations.";
32
    private static final String LOCAL_SETTINGS_NOT_ALLOWED = Messages.SpecimenOrObservationPreferences_0;
33
    private static final String DESCRIPTION = Messages.SpecimenOrObservationPreferences_1;
34 34

  
35 35
    protected boolean isShowSpecimenRelatedIssues;
36 36
    protected boolean allowOverrideShowSpecimenRelatedIssues;
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonSearchPreferences.java
10 10

  
11 11
import org.eclipse.jface.preference.BooleanFieldEditor;
12 12

  
13
import eu.etaxonomy.taxeditor.l10n.Messages;
13 14
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
14 15

  
15 16
/**
......
25 26
    @Override
26 27
    protected void createFieldEditors() {
27 28
        addField(new BooleanFieldEditor(IPreferenceKeys.SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS,
28
                "Open search results in separate windows",
29
                Messages.TaxonSearchPreferences_0,
30
                getFieldEditorParent()));
31
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SORT_TAXA_BY_RANK_AND_NAME),
32
                Messages.SearchDialogPreferences_3,
29 33
                getFieldEditorParent()));
30 34

  
31 35
    }
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonomicEditorGeneralPreferences.java
37 37
	@Override
38 38
	protected void createFieldEditors() {
39 39
	    runInBackgroundEditor = new BooleanFieldEditor(IPreferenceConstants.RUN_IN_BACKGROUND,
40
	            Messages.TaxonomicEditorGeneralPreferences_0,
40
	            Messages.TaxonomicEditorGeneralPreferences_background,
41 41
	            getFieldEditorParent());
42 42
        addField(runInBackgroundEditor);
43 43

  
......
56 56
//				"EDIT Map Service Access Point:", getFieldEditorParent()));
57 57
		addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
58 58
				IPreferenceKeys.SHOULD_CONNECT_AT_STARTUP),
59
				Messages.TaxonomicEditorGeneralPreferences_1,
59
				Messages.TaxonomicEditorGeneralPreferences_connect,
60 60
				getFieldEditorParent()));
61 61
//		addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
62 62
//				IPreferenceKeys.SHOW_EXPERIMENTAL_FEATURES),
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TypeDesignationPreferences.java
10 10

  
11 11
import org.eclipse.jface.preference.BooleanFieldEditor;
12 12

  
13
import eu.etaxonomy.taxeditor.l10n.Messages;
13 14
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
14 15

  
15 16
/**
......
23 24
	@Override
24 25
	protected void createFieldEditors() {
25 26
		addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.ADD_TYPES_TO_ALL_NAMES),
26
				"Add type designations to all names in a homotypical group.",
27
				Messages.TypeDesignationPreferences_typeDesignationsToAllNames,
27 28
				getFieldEditorParent()));
28 29
	}
29 30

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/UIPreferences.java
10 10

  
11 11
import org.eclipse.jface.preference.BooleanFieldEditor;
12 12

  
13
import eu.etaxonomy.taxeditor.l10n.Messages;
13 14
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
14 15

  
15 16
/**
......
26 27
    protected void createFieldEditors() {
27 28
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
28 29
                IPreferenceKeys.SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE),
29
                "Expand sections when data are available in Details View. This might make the Editor slow.",
30
                Messages.UIPreferences_expand,
30 31
                getFieldEditorParent()));
31 32

  
32 33
    }
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NameRelationshipTypeMenuPreferences.java
15 15

  
16 16
import eu.etaxonomy.cdm.model.common.TermType;
17 17
import eu.etaxonomy.cdm.model.name.NameRelationshipType;
18
import eu.etaxonomy.taxeditor.l10n.Messages;
18 19
import eu.etaxonomy.taxeditor.labels.ILabelImageStrategy;
19 20
import eu.etaxonomy.taxeditor.labels.LabelImageProvider;
20 21
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
......
34 35
	 * <p>Constructor for NameRelationshipTypeMenuPreferences.</p>
35 36
	 */
36 37
	public NameRelationshipTypeMenuPreferences() {
37
		super("Name relationship types",
38
				"Configure name relationship types",
38
		super("Name relationship types", //$NON-NLS-1$
39
				Messages.NameRelationshipTypeMenuPreferences_relationshipTypes,
39 40
				false);
40 41
	}
41 42

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

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

  
15 16
/**
16 17
 * <p>NamedAreaTypeMenuPreferences class.</p>
......
25 26
	 * <p>Constructor for NamedAreaTypeMenuPreferences.</p>
26 27
	 */
27 28
	public NamedAreaTypeMenuPreferences() {
28
		super("Named Area Types",
29
				"Edit displayed named area types",
29
		super("Named Area Types", //$NON-NLS-1$
30
				Messages.NamedAreaTypeMenuPreferences,
30 31
				false);
31 32
	}
32 33

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NomenclaturalCodePreferences.java
20 20
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
21 21
import eu.etaxonomy.cdm.model.metadata.PreferenceSubject;
22 22
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
23
import eu.etaxonomy.taxeditor.l10n.Messages;
23 24
import eu.etaxonomy.taxeditor.model.NomenclaturalCodeHelper;
24 25
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
25 26
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
......
41 42
	    if (pref.isAllowOverride()) {
42 43
	        addField(new ComboFieldEditor(
43 44
	                PreferencesUtil.createPreferenceString(IPreferenceKeys.PREFERRED_NOMENCLATURAL_CODE_KEY),
44
				"Available Codes", getLabelAndValues(),
45
				Messages.NomenclaturalCodePreferences_available_codes, getLabelAndValues(),
45 46
				getFieldEditorParent()));
46 47

  
47 48
            addField(new BooleanFieldEditor(
48 49
                    PreferencesUtil.createOverridePreferenceString(PreferencePredicate.NomenclaturalCode.getKey()),
49
                    "Use local nomenclatural code",
50
                    Messages.NomenclaturalCodePreferences_useLocalCode,
50 51
                    getFieldEditorParent()));
51 52
        } else {
52
            setDescription("The CDM settings don't allow to set the nomenclatural code locally. If you need to make local settings, please ask an administrator.");
53
            setDescription(Messages.NomenclaturalCodePreferences_localChangesNotAllowed);
53 54
        }
54 55

  
55 56
	}
......
90 91
          }
91 92

  
92 93
	    if (pref.isAllowOverride()) {
93
	        setDescription("Choose which nomenclatural code you would like to use in your local application for scientific names unless otherwise specified.");
94
	        setDescription(Messages.NomenclaturalCodePreferences_choose);
94 95
	    }else{
95
	        setDescription("The CDM settings don't allow to set the nomenclatural code locally. If you need to make local settings, please ask an administrator.");
96
	        setDescription(Messages.NomenclaturalCodePreferences_localChangesNotAllowed);
96 97

  
97 98
	    }
98 99
	}

Also available in: Unified diff