From: Patrick Plitzner Date: Wed, 24 Oct 2018 11:14:43 +0000 (+0200) Subject: ref #7849 String externalization and label adjustment X-Git-Tag: 5.4.0^2~25 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/d3ec20edf7553cf1d3d36c001fc6d85a1c2449f3 ref #7849 String externalization and label adjustment --- diff --git a/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties b/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties index 4bcff1844..23f85bf34 100644 --- a/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties +++ b/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties @@ -29,7 +29,7 @@ page.name.36 = Name Details View page.name.37 = Cdm Preferences page.name.38 = General Preferences page.name.39 = Nomenclatural Code -page.name.100 = Distribution Data Configuration +page.name.100 = Distribution view.name = Datasource view.name.0 = Progress view.name.1 = Message @@ -184,19 +184,18 @@ command.label.25 = Import Preferences partdescriptor.label.featureTreeEditor = Feature Tree Editor command.name.OPEN_REFERENCING_OBJECTS_VIEW = Open Referencing Objects View extension.name.1 = Store Workbench Model -page.name.21 = Distribution Editor Configuration -page.name.21 = Distribution Data Configuration -page.name.40 = ABCD Import Configuration +page.name.21 = Distribution Editor +page.name.40 = ABCD Import page.name.41 = ABCD Import Provider page.name.42 = Database Preferences -page.name.43 = Nomenclatural Code Admin -page.name.44 = Name Details +page.name.43 = Nomenclatural Code +page.name.44 = Name Details View extension-point.name = Cdm Viewer extension-point.name.0 = Preference Page extension-point.name.1 = Admin Preference Page page.name.45 = Specimen page.name.46 = Publish Flag -page.name.47 = Vocabulary Selection +page.name.47 = Common Names page.name.48 = Identifier Search command.name.111 = Open Admin Distributionstatus-Wizard command.name.112 = Open Admin CommonNameArea-Wizard \ No newline at end of file diff --git a/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties b/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties index 0178ade15..ea1999a77 100644 --- a/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties +++ b/eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties @@ -195,7 +195,7 @@ extension-point.name.0 = Pr extension-point.name.1 = Admin Präferenzen page.name.45 = Specimen page.name.46 = Publish Flag -page.name.47 = Vokabular Auswahl +page.name.47 = Trivialnamen page.name.48 = Identifier Suche command.name.111 = \u00d6ffne Admin Verbreitungsstatus-Wizard command.name.112 = \u00d6ffne Admin Common Name Areal-Wizard \ No newline at end of file diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/VokabularyAdminPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/VokabularyAdminPreferences.java old mode 100755 new mode 100644 index 6b38f3f21..a23f8fba5 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/VokabularyAdminPreferences.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/VokabularyAdminPreferences.java @@ -50,10 +50,10 @@ public class VokabularyAdminPreferences extends CdmPreferencePage implements IE4 } final CLabel commonNameAreaLabel = new CLabel(composite, SWT.NULL); - commonNameAreaLabel.setText("Select the area vocabularies which should be available for common names."); + commonNameAreaLabel.setText(Messages.VokabularyAdminPreferences_SELECT_VOCABULARY_TEXT); final CommandHandlerButton button_opencommonNameAreaWizard = new CommandHandlerButton(composite, SWT.PUSH, - "eu.etaxonomy.taxeditor.store.open.OpenCommonNameAreaWizardAdminHandler"); + "eu.etaxonomy.taxeditor.store.open.OpenCommonNameAreaWizardAdminHandler"); //$NON-NLS-1$ button_opencommonNameAreaWizard.setText(Messages.GeneralPreference_open_common_name_area_selection); final Button allowOverrideCommonNameAreaCheckButton = new Button(composite, SWT.CHECK); @@ -82,7 +82,7 @@ public class VokabularyAdminPreferences extends CdmPreferencePage implements IE4 CdmPreference pref = PreferencesUtil.getPreferenceFromDB(PreferencePredicate.CommonNameAreaVocabularies); if(pref==null){ - pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.CommonNameAreaVocabularies, ""); + pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.CommonNameAreaVocabularies, ""); //$NON-NLS-1$ } pref.setAllowOverride(allowOverride); service.set(pref); diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java index caec734e0..50ffcfc4f 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java @@ -518,6 +518,8 @@ public class Messages extends NLS { public static String ChecklistEditorGeneralPreference_3; public static String ChecklistEditorGeneralPreference_enable; + + public static String ChecklistEditorGeneralPreference_allowOverride; public static String ChecklistEditorGeneralPreference_open_distribution_selection; public static String ChecklistEditorGeneralPreference_open_wizard; @@ -547,6 +549,8 @@ public class Messages extends NLS { public static String DateDetail_parseText_tooltip; + + public static String GeneralPreference_open_common_name_area_selection; @@ -577,6 +581,16 @@ public class Messages extends NLS { + public static String VokabularyAdminPreferences_2; + + + public static String VokabularyAdminPreferences_SELECT_VOCABULARY_TEXT; + + + + + + static { // initialize resource bundle NLS.initializeMessages(BUNDLE_NAME, Messages.class); diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties index a57af260e..360c37dd6 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties @@ -349,8 +349,9 @@ NameRelationshipWizardPage_description=Choose namerelationship type and related 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. -GeneralPreference_open_common_name_area_selection=Selection of vocabularies for common name distributions +GeneralPreference_open_common_name_area_selection=Select Areas +VokabularyAdminPreferences_SELECT_VOCABULARY_TEXT=Select the area vocabularies which should be available for common names. DatabasePreferncesPage_Show_Specimen=Show specimen related views and menu entries SpecimenConfiguration_description=Select whether you want to edit specimen related data and how they should be displayed. DatabasePreferncesPage_Show_IOMenu=Show Import/Export menu entries diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties index ad8b64ff5..3f8063438 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties @@ -349,8 +349,9 @@ NameDetailsViewConfiguration_description=Konfiguration eines vereinfachten Namen DateDetail_parseText_tooltip=Dieses Feld ist für die schnelle Dateneingabe. Der Inhalt des Feldes wird geparsed und in die atomisierten Felder geschrieben. Der Inhalt des Feldes selber wird nicht gespeichert. -GeneralPreference_open_common_name_area_selection=Auswahl der Vokabulare für die Verbreitung der Common Names +GeneralPreference_open_common_name_area_selection=Vokabulare auswählen +VokabularyAdminPreferences_SELECT_VOCABULARY_TEXT=Wählen Sie die Gebietsvokabulare aus, die für Trivialnamen verfügbar seien sollen. DatabasePreferncesPage_Show_Specimen=Zeige Specimenbezogene Views und Menüeintrgäge SpecimenConfiguration_description=Wählen Sie aus, ob sie specimenbezogene Daten editieren wollen und wie diese angezeigt werden sollen. DatabasePreferncesPage_Show_IOMenu=Zeige Import/Export Menü Einträge an