]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Another fix for salome_pluginsmanager multi-languag support (GEOM)
authorgdd <gdd>
Wed, 10 Nov 2010 16:32:09 +0000 (16:32 +0000)
committergdd <gdd>
Wed, 10 Nov 2010 16:32:09 +0000 (16:32 +0000)
src/GEOMGUI/GEOM_msg_en.ts
src/GEOMGUI/GEOM_msg_fr.ts
src/GEOMGUI/GeometryGUI.cxx

index 5dd991c6911cc36f9dbb698e92d16648aac81e32..3ddd7f47051b83e3fefe2d82f3a566883bf1d6c6 100644 (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>
index a28aeddf273ad42ddaef502060824ec33f27b8b8..33bff63ba403b9c97d5787ce321fe85aa06d9ef2 100644 (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>
index 3ee06d2df0446cf0429fa66da9abdc63f5048206..57b89ad57b908cffe3132206ea44fcd158dfcf0f 100644 (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);