-// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
// File : VisuGUI_CutLinesDlg.cxx
// Author : VSV
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++)