]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2457: Provide translation of Filling messages. Clear messages after operation...
authorvsv <vsv@opencascade.com>
Wed, 21 Mar 2018 14:04:51 +0000 (17:04 +0300)
committervsv <vsv@opencascade.com>
Wed, 21 Mar 2018 14:04:51 +0000 (17:04 +0300)
src/BuildPlugin/BuildPlugin_msg_en.ts
src/XGUI/XGUI_OperationMgr.cpp

index 6405e316e08350c3d6d5c25640010db5c40ebce6..63c5cc3212e45938cdf63db22038d2686854677e 100644 (file)
       <translation>Selected shape is in the local selection. Only global selection is allowed.</translation>
     </message>
   </context>
+  <context>
+    <name>Filling:GeomValidators_MinObjectsSelected</name>
+    <message>
+        <source>Error: Attribute "%1" should contain at least %2 items.</source>
+        <translation>Segments and wires list should contain at least 2 items</translation>
+    </message>
+  </context>
 </TS>
index 3eae6f22de01fa2900222cede3f07a047f2b41dd..03b605612cc9598d1151072593bde33a14289d7a 100644 (file)
@@ -550,6 +550,8 @@ void XGUI_OperationMgr::onBeforeOperationAborted()
 void XGUI_OperationMgr::onOperationAborted()
 {
   ModuleBase_Operation* aSenderOperation = dynamic_cast<ModuleBase_Operation*>(sender());
+  XGUI_Workshop* aWorkshop = XGUI_Tools::workshop(myWorkshop);
+  aWorkshop->setStatusBarMessage("");
   emit operationAborted(aSenderOperation);
 }