]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Update warning messages for improvements 20019 and 20324.
authorvsr <vsr@opencascade.com>
Tue, 23 Jun 2009 13:26:12 +0000 (13:26 +0000)
committervsr <vsr@opencascade.com>
Tue, 23 Jun 2009 13:26:12 +0000 (13:26 +0000)
src/GEOMGUI/GEOM_msg_en.ts
src/GEOMToolsGUI/GEOMToolsGUI.cxx

index 9f911138492ef0595fe07da239c1e1b5f4229fba..c6ffb7c1fce2596fe488d98feba2778c25c1a917 100644 (file)
@@ -3775,6 +3775,14 @@ Please, select face, shell or solid and try again</translation>
             <source>GEOM_IMPORT_ERRORS</source>
             <translation>Import operation has finished with errors:</translation>
         </message>
+        <message>
+            <source>GEOM_PUBLISH_NAMED_SHAPES</source>
+            <translation>Create groups for named shapes (if there are any)?</translation>
+        </message>
+        <message>
+            <source>GEOM_SCALE_DIMENSIONS</source>
+            <translation>Length unit in the file is not a 'meter'. Do you want to scale a model?</translation>
+        </message>
     </context>
     <context>
         <name>BasicGUI_EllipseDlg</name>
index c3556b63837a31dcea361452deb024b55a4b8deb..9e7e0a068404b6c63514075bbe4af3812dbb4e0d 100644 (file)
@@ -713,7 +713,7 @@ bool GEOMToolsGUI::Import()
          if( aUnitName != "M" ) {
            if( SUIT_MessageBox::question( app->desktop(),
                                           "Question",//tr("WRN_WARNING"),
-                                          "Length unit in given file is not a 'meter'. Is it needed to scale a model?",
+                                          QObject::tr("GEOM_SCALE_DIMENSIONS"),
                                           SUIT_MessageBox::Yes | SUIT_MessageBox::No,
                                           SUIT_MessageBox::No) == SUIT_MessageBox::Yes ) {
              fileT = "IGES_SCALE";
@@ -739,7 +739,7 @@ bool GEOMToolsGUI::Import()
        if( aCurrentType == "ACIS" ) {
          if( SUIT_MessageBox::question( app->desktop(),
                                         "Question",//tr("WRN_WARNING"),
-                                        "Given file contents some names. Is it needed to create groups for named shapes?",
+                                        tr("GEOM_PUBLISH_NAMED_SHAPES"),
                                         SUIT_MessageBox::Yes | SUIT_MessageBox::No,
                                         SUIT_MessageBox::No) == SUIT_MessageBox::Yes ) {
            GeometryGUI::GetGeomGen()->PublishNamedShapesInStudy(aDSStudy, anObj);