</context>
<context>
<name>VisuGUI_CutLinesDlg</name>
+ <message>
+ <source>PLANE_NUMBER</source>
+ <translation>Plane #%1</translation>
+ </message>
<message>
<source>BASE_PLANE_POS</source>
<translation>Base plane position</translation>
<source>LBL_DEFROMATION_VECT</source>
<translation>Vectors :</translation>
</message>
+ <message>
+ <source>PLANE_NUMBER</source>
+ <translation>Plane #%1</translation>
+ </message>
</context>
<context>
<name>VisuGUI_DeformedShapeDlg</name>
</message>
<message>
<source>VISU_MODULUS</source>
- <translation>Modulus</translation>
+ <translation>Module</translation>
</message>
<message>
<source>VISU_NB_COLORS</source>
</message>
<message>
<source>MEN_CUT_SEGMENT</source>
- <translation>Segment de coupe</translation>
+ <translation>Segments de coupe</translation>
</message>
<message>
<source>MEN_CUT_PLANES</source>
</context>
<context>
<name>VisuGUI_CutLinesDlg</name>
+ <message>
+ <source>Cut Lines Definition</source>
+ <translation>Définition des lignes de coupe</translation>
+ </message>
+ <message>
+ <source>Position</source>
+ <translation>Position</translation>
+ </message>
+ <message>
+ <source>Set default</source>
+ <translation>Définir par défaut</translation>
+ </message>
+ <message>
+ <source>Scalar Bar</source>
+ <translation>Barre scalaire</translation>
+ </message>
+ <message>
+ <source>Input</source>
+ <translation>Données d'entrée</translation>
+ </message>
+ <message>
+ <source>PLANE_NUMBER</source>
+ <translation>Plan n°%1</translation>
+ </message>
<message>
<source>BASE_PLANE_POS</source>
<translation>Position du plan de base</translation>
</context>
<context>
<name>VisuGUI_CutSegmentDlg</name>
+ <message>
+ <source>Cut Segment Definition</source>
+ <translation>Définition des segments de coupe</translation>
+ </message>
+ <message>
+ <source>Scalar Bar</source>
+ <translation>Barre scalaire</translation>
+ </message>
+ <message>
+ <source>Input</source>
+ <translation>Données d'entrée</translation>
+ </message>
<message>
<source>LBL_ABSOLUTE_LENGTH</source>
<translation>Utiliser la longueur absolue</translation>
</message>
<message>
<source>LBL_CUT_SEGMENT</source>
- <translation>Segment de coupe</translation>
+ <translation>Segments de coupe</translation>
</message>
<message>
<source>LBL_GENERATE_CURVES</source>
</message>
<message>
<source>LBL_SEGMENT</source>
- <translation>Segment</translation>
+ <translation>Segments</translation>
</message>
<message>
<source>LBL_SHOW_PREVIEW</source>
</context>
<context>
<name>VisuGUI_CutPlanesDlg</name>
+ <message>
+ <source>Cut Planes Definition</source>
+ <translation>Définition des plans de coupe</translation>
+ </message>
+ <message>
+ <source>Cut Planes</source>
+ <translation>Plans de coupe</translation>
+ </message>
+ <message>
+ <source>Scalar Bar</source>
+ <translation>Barre scalaire</translation>
+ </message>
+ <message>
+ <source>Input</source>
+ <translation>Données d'entrée</translation>
+ </message>
<message>
<source>&Cancel</source>
<translation>&Annuler</translation>
</context>
<context>
<name>VisuGUI_CutPlanesPane</name>
+ <message>
+ <source>Position</source>
+ <translation>Position</translation>
+ </message>
+ <message>
+ <source>Set default</source>
+ <translation>Définir par défaut</translation>
+ </message>
<message>
<source>LBL_NB_PLANS</source>
<translation>Nombre de plans:</translation>
<source>LBL_DEFROMATION_VECT</source>
<translation>Vecteurs :</translation>
</message>
+ <message>
+ <source>PLANE_NUMBER</source>
+ <translation>Plan n°%1</translation>
+ </message>
</context>
<context>
<name>VisuGUI_DeformedShapeDlg</name>
<source>USE_CUSTOM_RANGE</source>
<translation>Utiliser l'intervalle de valeurs personnalisé</translation>
</message>
+ <message>
+ <source>Update scalar bar range with these values</source>
+ <translation>Mettre à jour la barre avec ces valeurs</translation>
+ </message>
</context>
<context>
<name>VisuGUI_IsoSurfacesDlg</name>
<source>DEFINE_ISOSURFACES</source>
<translation>Définition des surfaces isométriques</translation>
</message>
+ <message>
+ <source>Iso Surface</source>
+ <translation>Surfaces isométriques</translation>
+ </message>
+ <message>
+ <source>Scalar Bar</source>
+ <translation>Barre scalaire</translation>
+ </message>
+ <message>
+ <source>Input</source>
+ <translation>Données d'entrée</translation>
+ </message>
</context>
<context>
<name>VisuGUI_ItemContainer</name>
</message>
<message>
<source>TIT_BAR_PREF</source>
- <translation>Paramètres de la barre</translation>
+ <translation>Propriétés de la barre</translation>
</message>
<message>
<source>LBL_TITLE_W</source>
myPosTable->setEditTriggers( (QAbstractItemView::EditTriggers)(QAbstractItemView::AllEditTriggers &(~QAbstractItemView::CurrentChanged)));
QStringList aLabels;
- aLabels.append( "Position" );
- aLabels.append( "Set default" );
+ aLabels.append( tr("Position" ));
+ aLabels.append( tr("Set default" ));
myPosTable->setHorizontalHeaderLabels( aLabels );
aLinesLayout->addWidget( myPosTable );
myTabBox->addTab( aLinesPane, tr("LBL_LINES_CUT") );
myInputPane = new VisuGUI_InputPane(VISU::TCUTLINES, theModule, this);
- myTabBox->addTab(GetScalarPane(), "Scalar Bar");
- myTabBox->addTab(myInputPane, "Input");
+ myTabBox->addTab(GetScalarPane(), tr("Scalar Bar"));
+ myTabBox->addTab(myInputPane, tr("Input"));
aMainLayout->addWidget(myTabBox);
else if (aNbPlanes < aNbRows)
myPosTable->setRowCount(aNbPlanes);
- QString str("Plane# %1");
+ QString str(tr("PLANE_NUMBER"));
QStringList aLabels;
int aMin = (aNbRows < aNbPlanes)? aNbRows : aNbPlanes;
for (int i = 0; i<aMin; i++)
(QAbstractItemView::EditTriggers)(QAbstractItemView::AllEditTriggers &(~QAbstractItemView::CurrentChanged)));
QStringList aLabels;
- aLabels.append( "Position" );
- aLabels.append( "Set default" );
+ aLabels.append( tr("Position") );
+ aLabels.append( tr("Set default") );
myPosTable->setHorizontalHeaderLabels( aLabels );
myPosTable->setRowCount(aNbPlanes);
QStringList aLabels;
- QString str("Plane# %1");
+ QString str(tr("PLANE_NUMBER"));
int aMin = (aNbRows < aNbPlanes)? aNbRows : aNbPlanes;
for (int i = 0; i<aMin; i++) {
myPosTable->item( i, 0 )->setText( QString::number(myCutPlanes->GetPlanePosition(i)));
VisuGUI_CutPlanesDlg::VisuGUI_CutPlanesDlg (SalomeApp_Module* theModule)
: VisuGUI_ScalarBarBaseDlg(theModule)
{
- setWindowTitle("Cut Planes Definition");
+ setWindowTitle(tr("Cut Planes Definition"));
setSizeGripEnabled(true);
QVBoxLayout* TopLayout = new QVBoxLayout (this);
// Tab pane
myTabBox = new QTabWidget(this);
myCutPane = new VisuGUI_CutPlanesPane(this/*, myMgr*/);
- myTabBox->addTab(myCutPane, "Cut Planes");
+ myTabBox->addTab(myCutPane, tr("Cut Planes"));
myInputPane = new VisuGUI_InputPane(VISU::TCUTPLANES, theModule, this);
- myTabBox->addTab(GetScalarPane(), "Scalar Bar");
- myTabBox->addTab(myInputPane, "Input");
+ myTabBox->addTab(GetScalarPane(), tr("Scalar Bar"));
+ myTabBox->addTab(myInputPane, tr("Input"));
TopLayout->addWidget(myTabBox);
myPreviewActorGlyphs(0),
myPreviewActorPoints(0)
{
- setWindowTitle("Cut Segment Definition");
+ setWindowTitle(tr("Cut Segment Definition"));
setSizeGripEnabled(true);
QVBoxLayout* aMainLayout = new QVBoxLayout (this);
myTabBox->addTab( aCutSegmentPane, tr("LBL_CUT_SEGMENT") );
myInputPane = new VisuGUI_InputPane(VISU::TCUTSEGMENT, theModule, this);
- myTabBox->addTab(GetScalarPane(), "Scalar Bar");
- myTabBox->addTab(myInputPane, "Input");
+ myTabBox->addTab(GetScalarPane(), tr("Scalar Bar"));
+ myTabBox->addTab(myInputPane, tr("Input"));
aMainLayout->addWidget(myTabBox);
MaxIso->setMinimumSize( 70, 0 );
LabelMax->setBuddy( MaxIso );
- QPushButton* aUpdateBtn = new QPushButton( "Update scalar bar range with these values", aRangeBox );
+ QPushButton* aUpdateBtn = new QPushButton( tr("Update scalar bar range with these values"), aRangeBox );
aUpdateBtn->setEnabled( false );
connect( aUpdateBtn, SIGNAL( clicked() ), this, SLOT(onCBUpdate() ) );
connect( aUseCustomRange, SIGNAL( toggled( bool ) ), aUpdateBtn, SLOT( setEnabled( bool ) ) );
myIsoPane = new VisuGUI_IsoSurfPane(this, GetScalarPane());
if ( myIsoPane->layout() )
myIsoPane->layout()->setMargin( 5 );
- myTabBox->addTab(myIsoPane, "Iso Surface");
+ myTabBox->addTab(myIsoPane, tr("Iso Surface"));
myInputPane = new VisuGUI_InputPane(VISU::TISOSURFACES, theModule, this);
- myTabBox->addTab(GetScalarPane(), "Scalar Bar");
- myTabBox->addTab(myInputPane, "Input");
+ myTabBox->addTab(GetScalarPane(), tr("Scalar Bar"));
+ myTabBox->addTab(myInputPane, tr("Input"));
TopLayout->addWidget(myTabBox);