0023090: [CEA 1510] Error at Salome launch with Japanese language

This commit is contained in:
vsr 2015-05-05 14:59:30 +03:00
parent 18a41b7599
commit f971466504

View 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();
}