mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-12 07:37:27 +05:00
0023090: [CEA 1510] Error at Salome launch with Japanese language
This commit is contained in:
parent
18a41b7599
commit
f971466504
@ -1751,8 +1751,8 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
|
|||||||
else {
|
else {
|
||||||
PyObjWrapper result =
|
PyObjWrapper result =
|
||||||
PyObject_CallMethod(pluginsmanager, (char*)"initialize", (char*)"isss", 1, "geom",
|
PyObject_CallMethod(pluginsmanager, (char*)"initialize", (char*)"isss", 1, "geom",
|
||||||
tr("MEN_NEW_ENTITY").toStdString().c_str(),
|
tr("MEN_NEW_ENTITY").toUtf8().data(),
|
||||||
tr("GEOM_PLUGINS_OTHER").toStdString().c_str());
|
tr("GEOM_PLUGINS_OTHER").toUtf8().data());
|
||||||
if ( !result )
|
if ( !result )
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user