]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020854: EDF 1398 GEOM: Ergonomy of Partition GUI window
authordmv <dmv@opencascade.com>
Thu, 29 Apr 2010 13:31:29 +0000 (13:31 +0000)
committerdmv <dmv@opencascade.com>
Thu, 29 Apr 2010 13:31:29 +0000 (13:31 +0000)
src/GEOMGUI/GEOM_msg_en.ts
src/OperationGUI/OperationGUI_PartitionDlg.cxx

index 628c75bae1d8d922a6cc8a877a86797fd036ac85..9122b17fad39d166fcc41bdad4da83cc98694b9f 100644 (file)
@@ -1859,6 +1859,10 @@ Please, select face, shell or solid and try again</translation>
             <source>GEOM_TOOL_OBJECT</source>
             <translation>Tool Object</translation>
         </message>
+       <message>
+            <source>GEOM_TOOL_OBJECTS</source>
+            <translation>Tool Objects</translation>
+        </message>
         <message>
             <source>GEOM_TORUS</source>
             <translation>Torus</translation>
index 838bb02477baf01d22d12f63fa6f3ec63e3386df..0b08ae59fcdf065eff571fb32c7d137609c8192a 100644 (file)
@@ -70,7 +70,7 @@ OperationGUI_PartitionDlg::OperationGUI_PartitionDlg( GeometryGUI* theGeometryGU
   GroupPoints = new DlgRef_2Sel1List1Check( centralWidget() );
   GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
   GroupPoints->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
-  GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECT" ) );
+  GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECTS" ) );
   GroupPoints->TextLabel3->setText( tr( "GEOM_RECONSTRUCTION_LIMIT" ) );
   GroupPoints->PushButton1->setIcon( image2 );
   GroupPoints->PushButton2->setIcon( image2 );
@@ -170,7 +170,7 @@ void OperationGUI_PartitionDlg::ConstructorsClicked( int constructorId )
   switch ( constructorId ) {
   case 0: /*Full partition */
     GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
-    GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECT" ) );
+    GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECTS" ) );
     GroupPoints->TextLabel3->show();
     GroupPoints->ComboBox1->show();
     GroupPoints->ComboBox1->setCurrentIndex( 0 );
@@ -225,8 +225,10 @@ bool OperationGUI_PartitionDlg::ClickOnApply()
   if ( !onAccept() )
     return false;
   
+
   initName();
-  ConstructorsClicked( getConstructorId() );
+  //  0020854: EDF 1398 GEOM: Ergonomy of Partition GUI window 
+  //  ConstructorsClicked( getConstructorId() );
   return true;
 }