I18n for derivative module
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / derivate / handler / CreateFieldUnitHandler.java
index da8c8db71c764714d20eb03b4df65af6ea54f6cf..e57cbfbf728e562f367b2b2657fb5176270cea01 100644 (file)
@@ -19,7 +19,7 @@ public class CreateFieldUnitHandler extends AbstractHandler {
         if(AbstractUtility.getActivePart() instanceof DerivateView){
             DerivateView derivateView = (DerivateView)AbstractUtility.getActivePart();
             if(derivateView.isDirty()){
-                MessagingUtils.warningDialog("View has unsaved changes", this, "You need to save before performing this action");
+                MessagingUtils.warningDialog(DerivateView.VIEW_HAS_UNSAVED_CHANGES, this, DerivateView.YOU_NEED_TO_SAVE_BEFORE_PERFORMING_THIS_ACTION);
                 return null;
             }
             FieldUnit fieldUnit = FieldUnit.NewInstance();