mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-04 00:55:37 +05:00
Another fix for salome_pluginsmanager multi-languag support (GEOM)
This commit is contained in:
parent
e47aecae5a
commit
bc3c819ed2
@ -4154,6 +4154,10 @@ Input value precision can be adjusted using
|
|||||||
<source>JUNCTION_FACE_3</source>
|
<source>JUNCTION_FACE_3</source>
|
||||||
<translation>Junction 3</translation>
|
<translation>Junction 3</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>GEOM_PLUGINS_OTHER</source>
|
||||||
|
<translation>Other</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>BasicGUI_CurveDlg</name>
|
<name>BasicGUI_CurveDlg</name>
|
||||||
|
@ -4151,6 +4151,10 @@ le paramètre '%1' aux préférences du module Géométrie.</translati
|
|||||||
<source>JUNCTION_FACE_3</source>
|
<source>JUNCTION_FACE_3</source>
|
||||||
<translation>Jonction 3</translation>
|
<translation>Jonction 3</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>GEOM_PLUGINS_OTHER</source>
|
||||||
|
<translation>Autre</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>BasicGUI_CurveDlg</name>
|
<name>BasicGUI_CurveDlg</name>
|
||||||
|
@ -1202,7 +1202,7 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
|
|||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
else
|
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)
|
if(result==NULL)
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
Py_XDECREF(result);
|
Py_XDECREF(result);
|
||||||
|
Loading…
Reference in New Issue
Block a user