From: gdd Date: Wed, 10 Nov 2010 16:31:08 +0000 (+0000) Subject: Another fix for salome_pluginmanagers multi-language support X-Git-Tag: V5_1_5rc2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=71770448747963a25f783558e188fc4d16bc16d4;p=modules%2Fgui.git Another fix for salome_pluginmanagers multi-language support --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index cb25d3bda..6f049d5f6 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -330,7 +330,7 @@ void SalomeApp_Application::createActions() // 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",tr("MEN_DESK_TOOLS2").toStdString().c_str(),tr("MEN_DESK_PLUGINS").toStdString().c_str()); + PyObject* res=PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",0,"salome",tr("MEN_DESK_PLUGINS_TOOLS").toStdString().c_str(),tr("MEN_DESK_PLUGINS").toStdString().c_str()); if(res==NULL) PyErr_Print(); Py_XDECREF(res); diff --git a/src/SalomeApp/resources/SalomeApp_msg_en.ts b/src/SalomeApp/resources/SalomeApp_msg_en.ts index ef0226136..2b98f7506 100644 --- a/src/SalomeApp/resources/SalomeApp_msg_en.ts +++ b/src/SalomeApp/resources/SalomeApp_msg_en.ts @@ -245,7 +245,7 @@ Do you want to reload it ? &Tools - MEN_DESK_TOOLS2 + MEN_DESK_PLUGINS_TOOLS Tools diff --git a/src/SalomeApp/resources/SalomeApp_msg_fr.ts b/src/SalomeApp/resources/SalomeApp_msg_fr.ts index 3d8b534ba..ad1032823 100755 --- a/src/SalomeApp/resources/SalomeApp_msg_fr.ts +++ b/src/SalomeApp/resources/SalomeApp_msg_fr.ts @@ -245,8 +245,8 @@ Voulez-vous le recharger ? &Outils - MEN_DESK_TOOLS2 - Outils + MEN_DESK_PLUGINS_TOOLS + Outils MEN_DESK_PLUGINS