]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0023090: [CEA 1510] Error at Salome launch with Japanese language
authorvsr <vsr@opencascade.com>
Tue, 5 May 2015 11:59:30 +0000 (14:59 +0300)
committervsr <vsr@opencascade.com>
Tue, 5 May 2015 11:59:30 +0000 (14:59 +0300)
src/GEOMGUI/GeometryGUI.cxx

index e63305ce243b0d91c555810584182a2d90a83c0a..3e61afba714451fa2154482e385347e79ba0712d 100644 (file)
@@ -1751,8 +1751,8 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
   else {
     PyObjWrapper result =
       PyObject_CallMethod(pluginsmanager, (char*)"initialize", (char*)"isss", 1, "geom",
-                          tr("MEN_NEW_ENTITY").toStdString().c_str(),
-                          tr("GEOM_PLUGINS_OTHER").toStdString().c_str());
+                          tr("MEN_NEW_ENTITY").toUtf8().data(),
+                          tr("GEOM_PLUGINS_OTHER").toUtf8().data());
     if ( !result )
       PyErr_Print();
   }