// import Python module that manages SALOME plugins
PyGILState_STATE gstate = PyGILState_Ensure();
PyObject* pluginsmanager=PyImport_ImportModule((char*)"salome_pluginsmanager");
- PyObject* res=PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",0,"salome","Tools","Plugins");
+ PyObject* res=PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",0,"salome",tr("MEN_DESK_TOOLS2").toStdString().c_str(),tr("MEN_DESK_PLUGINS").toStdString().c_str());
if(res==NULL)
PyErr_Print();
Py_XDECREF(res);
<source>MEN_DESK_TOOLS</source>
<translation>&Tools</translation>
</message>
+ <message>
+ <source>MEN_DESK_TOOLS2</source>
+ <translation>Tools</translation>
+ </message>
+ <message>
+ <source>MEN_DESK_PLUGINS</source>
+ <translation>Plugins</translation>
+ </message>
<message>
<source>TOT_DESK_FILE_DUMP_STUDY</source>
<translation>Dump study</translation>
<source>MEN_DESK_TOOLS</source>
<translation>&Outils</translation>
</message>
+ <message>
+ <source>MEN_DESK_TOOLS2</source>
+ <translation>Outils</translation>
+ </message>
+ <message>
+ <source>MEN_DESK_PLUGINS</source>
+ <translation>Extensions</translation>
+ </message>
<message>
<source>TOT_DESK_FILE_DUMP_STUDY</source>
<translation>Générer le script de l'étude</translation>