Salome HOME
In Create Mesh dlg, add "objects" to a number of selected GEOM objects
authoreap <eap@opencascade.com>
Thu, 20 Feb 2014 10:05:45 +0000 (14:05 +0400)
committereap <eap@opencascade.com>
Thu, 20 Feb 2014 10:05:45 +0000 (14:05 +0400)
src/SMESHGUI/SMESHGUI_Dialog.cxx
src/SMESHGUI/SMESH_msg_en.ts

index 23525fe698bd67f1cb683f366d3a31aa730a212a..8e517718f24bff9cd3403c858f4465adee1c2239 100644 (file)
@@ -46,9 +46,10 @@ SMESHGUI_Dialog::SMESHGUI_Dialog( QWidget* parent, const bool modal,
 : LightApp_Dialog( parent == 0 ? desktop() : parent, "", modal, allowResize, flags )
 {
   int pr = prefix( "SMESH" );
-  typeName( pr + SMESH::MESH ) = tr( "DLG_MESH" );
+  typeName( pr + SMESH::MESH       ) = tr( "DLG_MESH" );
   typeName( pr + SMESH::HYPOTHESIS ) = tr( "DLG_HYPO" );
-  typeName( pr + SMESH::ALGORITHM ) = tr( "DLG_ALGO" );
+  typeName( pr + SMESH::ALGORITHM  ) = tr( "DLG_ALGO" );
+  typeName( prefix( "GEOM" )       ) = tr( "DLG_GEOM" );
   setButtonText(1, tr("SMESH_BUT_APPLY_AND_CLOSE")); //rename OK to Apply and Close
   if ( flags & Close )
     setButtonPosition( Right, Close );
index 4f87f5cf5528ea2564959a42982dce4d46583b04..baf4a4ca7759e63bbec767a82f8cae58d38d3213 100644 (file)
@@ -4224,15 +4224,19 @@ It can&apos;t be deleted </translation>
     <name>SMESHGUI_Dialog</name>
     <message>
         <source>DLG_MESH</source>
-        <translation>meshes</translation>
+        <translation>mesh(s)</translation>
     </message>
     <message>
         <source>DLG_HYPO</source>
-        <translation>hypotheses</translation>
+        <translation>hypothesis(s)</translation>
     </message>
     <message>
         <source>DLG_ALGO</source>
-        <translation>algorithms</translation>
+        <translation>algorithm(s)</translation>
+    </message>
+    <message>
+        <source>DLG_GEOM</source>
+        <translation>object(s)</translation>
     </message>
 </context>
 <context>