Project

General

Profile

Revision a82453b9

IDa82453b9454c9331f39e037b9d256805be76d58b
Parent 73ad1ed3
Child bdc19ae2

Added by Patrick Plitzner over 3 years ago

ref #7362 i18n

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java
392 392
    public static String ChecklistEditorGeneralPreference_show_symbol;
393 393
    public static String ChecklistEditorGeneralPreference_sort_areas;
394 394

  
395
    public static String GfBioTerminologyImportPresenter_COMBO_DEFAULT;
395 396
    public static String GfBioTerminologyImportPresenter_NO_CONNECTION_MESSAGE;
396

  
397

  
398 397
    public static String GfBioTerminologyImportPresenter_NO_CONNECTION_TITLE;
399

  
400

  
401 398
    public static String GfBioTerminologyImportPresenter_NO_RESULTS_MESSAGE;
402

  
403

  
404 399
    public static String GfBioTerminologyImportPresenter_NO_RESULTS_TITLE;
405

  
400
    public static String GfBioTerminologyImportPresenter_TEXT_SEARCH_DEFAULT;
406 401

  
407 402
    public static String PublishFlagPreference_description;
408 403
    public static String PublishFlagPreference_do_not_set;
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties
305 305
GfBioTerminologyImportPresenter_NO_CONNECTION_TITLE=Web service unavailable
306 306
GfBioTerminologyImportPresenter_NO_RESULTS_MESSAGE=No results found for the query.
307 307
GfBioTerminologyImportPresenter_NO_RESULTS_TITLE=No results found
308
GfBioTerminologyImportPresenter_COMBO_DEFAULT=All ontologies
309
GfBioTerminologyImportPresenter_TEXT_SEARCH_DEFAULT=Enter search term...
308 310

  
309 311
PublishFlagPreference_description=Configure the default settings for the publish flag in new created taxa
310 312
PublishFlagPreference_do_not_set=Set no publish flag
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties
305 305
GfBioTerminologyImportPresenter_NO_CONNECTION_TITLE=Webservice nicht erreichbar
306 306
GfBioTerminologyImportPresenter_NO_RESULTS_MESSAGE=Keine Ergebnisse f?r die Anfrage gefunden.
307 307
GfBioTerminologyImportPresenter_NO_RESULTS_TITLE=Keine Ergebnisse
308
GfBioTerminologyImportPresenter_COMBO_DEFAULT=Alle Ontologien
309
GfBioTerminologyImportPresenter_TEXT_SEARCH_DEFAULT=Suchbegriff eingeben...
308 310

  
309 311
PublishFlagPreference_description=Konfiguration des Default Verhaltens beim Setzen des Publish Flags in einem neu erzeugten Taxon.
310 312
PublishFlagPreference_do_not_set=Kein Publish Flag
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/GfBioTerminologyImportPresenter.java
50 50

  
51 51
    private static final String NO_CONNECTION_TITLE = Messages.GfBioTerminologyImportPresenter_NO_CONNECTION_TITLE;
52 52
    private static final String NO_CONNECTION_MESSAGE = Messages.GfBioTerminologyImportPresenter_NO_CONNECTION_MESSAGE;
53
    private static final String TXT_SEARCH_DEFAULT = "Enter search term...";
53
    private static final String TXT_SEARCH_DEFAULT = Messages.GfBioTerminologyImportPresenter_TEXT_SEARCH_DEFAULT;
54 54

  
55 55
    private GfBioTerminologyImportComposite composite;
56 56

  
......
103 103
            return;
104 104
        }
105 105
        Collection<TerminologyWrapper> terminologies = TerminologyParser.parse(response);
106
        String comboDefaultText = "All ontologies";
106
        String comboDefaultText = Messages.GfBioTerminologyImportPresenter_COMBO_DEFAULT;
107 107
        ComboViewer comboOntologies = composite.getComboTerminologies();
108 108
        comboOntologies.setLabelProvider(new TerminologyLabelProvider());
109 109
        comboOntologies.setContentProvider(new ArrayContentProvider());
......
149 149
        ISelection selection = composite.getComboTerminologies().getSelection();
150 150
        Collection<OntologyTermWrapper> wrapperList = new ArrayList<>();
151 151
        if(selection instanceof IStructuredSelection && !selection.isEmpty()){
152
            //FIXME add support for mutliple terminology selection
152
            //TODO maybe add support for mutliple terminology selection
153 153
            Object next = ((IStructuredSelection) selection).iterator().next();
154 154
            if(next instanceof TerminologyWrapper){
155 155
                String response = new RequestSearch(searchString, ((TerminologyWrapper) next).getAcronym()).request();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)