+// Copyright (C) 2011-2012 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
using namespace std;
#include "MonEditIteration.h"
-#include <QMessageBox>
-
#include "SalomeApp_Tools.h"
#include "HOMARDGUI_Utils.h"
#include "HomardQtCommun.h"
_rank(0), _step(0), _IterationName(""), _FieldFile(""),_aTypeAdap()
{
MESSAGE("Debut de MonEditIteration" << IterName.toStdString().c_str());
- setWindowTitle("Edit iteration");
+ setWindowTitle(QObject::tr("HOM_ITER_EDIT_WINDOW_TITLE"));
_IterationName = IterName;
aIter = _myHomardGen->GetIteration(_IterationName.toStdString().c_str());
// Affichage bloque du nom du maillage de l'iteration courante
QString MeshName = aIter->GetMeshName();
- Mesh_n->setText(QString("Mesh name"));
+ Mesh_n->setText(QObject::tr("HOM_ITER_STARTING_POINT_0"));
LEMeshName_n->setText(MeshName);
LEMeshName_n->setReadOnly(1);
// Message general
- Mesh_np1->setText(QString("First iteration of the case."));
+ Mesh_np1->setText(QObject::tr("HOM_ITER_STARTING_POINT_1"));
LEMeshName_np1->setVisible(0);
//
// Invisibilite des hypotheses et des champs
if ( _aTypeAdap == 1)
{
// Pour du raffinement selon un champ, les instants ont-ils change ?
- if ( (_FieldFile != LEFieldFile->text().trimmed()) or
+ if ( (_FieldFile != LEFieldFile->text().trimmed()) or
( _rank != SpinBox_Rank->value()) or
( _step != SpinBox_TimeStep->value()))
{