]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Another fix for salome_pluginmanagers multi-language support V5_1_5rc2
authorgdd <gdd>
Wed, 10 Nov 2010 16:31:08 +0000 (16:31 +0000)
committergdd <gdd>
Wed, 10 Nov 2010 16:31:08 +0000 (16:31 +0000)
src/SalomeApp/SalomeApp_Application.cxx
src/SalomeApp/resources/SalomeApp_msg_en.ts
src/SalomeApp/resources/SalomeApp_msg_fr.ts

index cb25d3bda7cc0f08ad1b6274313cae3b6a9936b9..6f049d5f6501269c93b9b562dab39dcd7b823436 100644 (file)
@@ -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);
index ef02261369be54183853938c19f729fdc6e74e4b..2b98f750607c50112ecc30e4d4b587087bee30be 100644 (file)
@@ -245,7 +245,7 @@ Do you want to reload it ?</translation>
         <translation>&amp;Tools</translation>
     </message>
     <message>
-        <source>MEN_DESK_TOOLS2</source>
+        <source>MEN_DESK_PLUGINS_TOOLS</source>
         <translation>Tools</translation>
     </message>
     <message>
index 3d8b534ba50606c1eedb6e4b9317bc3c8c63cd0b..ad1032823847224830cb00f166126c180dc36e72 100755 (executable)
@@ -245,8 +245,8 @@ Voulez-vous le recharger ?</translation>
         <translation>&amp;Outils</translation>
     </message>
     <message>
-        <source>MEN_DESK_TOOLS2</source>
-        <translation>Outils</translation>
+        <source>MEN_DESK_PLUGINS_TOOLS</source>
+       <translation>Outils</translation>
     </message>
     <message>
         <source>MEN_DESK_PLUGINS</source>