]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Minor GUI correction Event_Server
authorsmh <smh@opencascade.com>
Fri, 30 Apr 2004 13:41:13 +0000 (13:41 +0000)
committersmh <smh@opencascade.com>
Fri, 30 Apr 2004 13:41:13 +0000 (13:41 +0000)
src/SALOMEGUI/QAD_Desktop.cxx
src/SALOMEGUI/QAD_msg_en.po

index 8aef9880c8a0e992c49d332f67f78a074e4522bb..528ce0b534e93d91062c99bc3a4610c225cf9faa 100644 (file)
@@ -3252,10 +3252,10 @@ SALOMEGUI* QAD_Desktop::getComponentGUI( const QString& component )
 #else
        fileString = QAD_Tools::addSlash( dir ) + "lib" + getComponentName( component ) + "GUI.so" ;
 #endif
-    
+
        fileInfo.setFile(fileString) ;
        if (fileInfo.exists()) {
-         //    MESSAGE ( " GUI library = " << fileString );
+         // MESSAGE( " GUI library = " << fileString.latin1() );
          ComponentLib = fileInfo.fileName() ;
          _islibso = true;
          break;
@@ -3316,7 +3316,7 @@ SALOMEGUI* QAD_Desktop::getComponentGUI( const QString& component )
        wc.stop();
        QMessageBox::critical( this,
                              tr("ERR_ERROR"),
-                             tr("ERR_LIBGUI" ).arg(component) );
+                             tr("ERR_GET_GUI_FAILED" ).arg(component) );
        return aCompGUI;
       }
     }
@@ -3324,7 +3324,7 @@ SALOMEGUI* QAD_Desktop::getComponentGUI( const QString& component )
       wc.stop();
       QMessageBox::critical( this,
                            tr("ERR_ERROR"),
-                           tr("ERR_LIBGUI" ).arg(component) );
+                           tr("ERR_GET_GUI_NOT_FOUND" ).arg(ComponentLib) );
       return aCompGUI;
     }
   }
index 57fafb7b229e24bf586d0077765d124275357878..05092171ccbcad6b9df020e962c72173b66cbf25 100644 (file)
@@ -28,7 +28,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: example-Qt-message-extraction\n"
 "POT-Creation-Date: 1999-02-23 15:38+0200\n"
-"PO-Revision-Date: 1999-02-23 15:38+0200\n"
+"PO-Revision-Date: 2004-04-26 16:29+0400\n"
 "Last-Translator: \n"
 "Content-Type: text/plain; charset=iso-8859-1\n"
 
@@ -524,7 +524,13 @@ msgstr "This function is available only in Plot2d viewer"
 
 #: QAD_Desktop.cxx:2339
 msgid "ERR_LIBGUI"
-msgstr "lib%1.so has not been found. Check LD_LIBRARY_PATH environment variable"
+msgstr "lib%1GUI.so has not been found. Check LD_LIBRARY_PATH environment variable"
+
+msgid "ERR_GET_GUI_FAILED"
+msgstr "%1GUI instance creation failed!"
+
+msgid "ERR_GET_GUI_NOT_FOUND"
+msgstr "GetComponentGUI() function not found in %1 library!"
 
 #---------------
 # QUESTION