Salome HOME
refs #514: add 'Cursor for specific operations' section into preferences of HYDRO...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_RiverBottomOp.cxx
index 87ce6116616a8ad82d21f9b6ef1c8e3a123940e2..a3b9682038d8db743f4513c3e820245df89758e4 100644 (file)
@@ -49,7 +49,7 @@
 HYDROGUI_RiverBottomOp::HYDROGUI_RiverBottomOp( HYDROGUI_Module* theModule )
 : HYDROGUI_Operation( theModule )
 {
-  setName( tr( "FIND_RIVER_BOTTOM" ) );
+  setName( tr( "FIND_STREAM_BOTTOM" ) );
 }
 
 HYDROGUI_RiverBottomOp::~HYDROGUI_RiverBottomOp()
@@ -91,7 +91,7 @@ bool HYDROGUI_RiverBottomOp::processApply( int& theUpdateFlags, QString& theErro
   Handle(HYDROData_Stream) aRiver = riverObject( aPanel->getRiverName() );
   if ( aRiver.IsNull() )
   {
-    theErrorMsg = tr( "INCORRECT_RIVER_OBJECT" );
+    theErrorMsg = tr( "INCORRECT_STREAM_OBJECT" );
     return false;
   }