Salome HOME
refs #585: flag in merge operations
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ExportFileOp.cxx
index e5dcd7ffa6aff785a0e1859de2ca611b2d869e96..a902cdadcc5c87d775cc34c8c445129a48983939 100644 (file)
@@ -94,7 +94,7 @@ void HYDROGUI_ExportFileOp::startOperation()
   }
 
   if (!aPolyXYSeq.IsEmpty() && !aPoly3DSeq.IsEmpty())
-    SUIT_MessageBox::warning( module()->getApp()->desktop(), "Export Polyline", "Cannot export polylines of different kind");
+    SUIT_MessageBox::warning( module()->getApp()->desktop(), tr( "EXPORT_TO_SHAPE_FILE" ), tr("ERROR_POLYLINES_OF_DIFF_KIND"));
   else
   {
     QString aName = "";
@@ -134,12 +134,11 @@ void HYDROGUI_ExportFileOp::startOperation()
       SHPClose( hSHPHandle );
       if (!aNonExpList.empty())
       {
-        QString aMessage = "The next entities cannot be exported:\n";
+        QString aMessage = tr("CANNOT_BE_EXPORTED") + "\n";
         foreach (QString anNonExpEntName, aNonExpList)
           aMessage += anNonExpEntName + "\n"; 
-        SUIT_MessageBox::warning( module()->getApp()->desktop(), "Export warning", aMessage);
+        SUIT_MessageBox::warning( module()->getApp()->desktop(), tr( "EXPORT_TO_SHAPE_FILE" ), aMessage);
       }
-      //TODO  pint aNonExpList
       commit();
     }
     else