Another fix for salome_pluginsmanager multi-languag support (GEOM)

This commit is contained in:
gdd 2010-11-10 16:32:09 +00:00
parent e47aecae5a
commit bc3c819ed2
3 changed files with 9 additions and 1 deletions

View File

@ -4154,6 +4154,10 @@ Input value precision can be adjusted using
<source>JUNCTION_FACE_3</source>
<translation>Junction 3</translation>
</message>
<message>
<source>GEOM_PLUGINS_OTHER</source>
<translation>Other</translation>
</message>
</context>
<context>
<name>BasicGUI_CurveDlg</name>

View File

@ -4151,6 +4151,10 @@ le paramètre &apos;%1&apos; aux préférences du module Géométrie.</translati
<source>JUNCTION_FACE_3</source>
<translation>Jonction 3</translation>
</message>
<message>
<source>GEOM_PLUGINS_OTHER</source>
<translation>Autre</translation>
</message>
</context>
<context>
<name>BasicGUI_CurveDlg</name>

View File

@ -1202,7 +1202,7 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
PyErr_Print();
else
{
PyObject* result=PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"geom","New Entity","Other");
PyObject* result=PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"geom",tr("MEN_NEW_ENTITY").toStdString().c_str(),tr("GEOM_PLUGINS_OTHER").toStdString().c_str());
if(result==NULL)
PyErr_Print();
Py_XDECREF(result);