Project

General

Profile

« Previous | Next » 

Revision c4a7540a

Added by Patrick Plitzner about 7 years ago

ref #4611 i18n for molecular plugin

View differences:

eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/handler/CutPherogramLeftHandler.java
13 13
import org.eclipse.core.commands.ExecutionException;
14 14

  
15 15
import eu.etaxonomy.taxeditor.model.MessagingUtils;
16
import eu.etaxonomy.taxeditor.molecular.Messages;
16 17
import eu.etaxonomy.taxeditor.molecular.TaxeditorMolecularPlugin;
17 18
import eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor;
18 19

  
......
30 31
    public void doExecute(ExecutionEvent event, AlignmentEditor editor) throws ExecutionException {
31 32
        String errorMessage = editor.cutPherogramLeft();
32 33
        if (errorMessage != null) {
33
            MessagingUtils.errorDialog("Unable to cut base call sequence", this, errorMessage, TaxeditorMolecularPlugin.PLUGIN_ID, null, false);
34
            MessagingUtils.errorDialog(Messages.CutPherogramLeftHandler_CUT_FAILURE, this, errorMessage, TaxeditorMolecularPlugin.PLUGIN_ID, null, false);
34 35
        }
35 36
    }
36 37
}

Also available in: Unified diff