From: nge Date: Tue, 20 Oct 2009 08:58:30 +0000 (+0000) Subject: Fix some translations X-Git-Tag: RELIQUAT_5x_30102009 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_FSH_DEV;hp=701abd42259bb247a821aa0c5a8c61aa9c51c117;p=modules%2Fmultipr.git Fix some translations --- diff --git a/src/MULTIPRGUI/MULTIPR_GUI.cxx b/src/MULTIPRGUI/MULTIPR_GUI.cxx index d635228..397842c 100644 --- a/src/MULTIPRGUI/MULTIPR_GUI.cxx +++ b/src/MULTIPRGUI/MULTIPR_GUI.cxx @@ -592,10 +592,8 @@ void MULTIPR_GUI::OnPartition2() { SUIT_MessageBox::warning( (QWidget*) MULTIPR_GUI::desktop(), - QObject::tr("SPLIT_WARN"), -// "Split warning", - QObject::tr("NO_PART_SELECTED")); -// "No parts selected"); + QString("Split warning"), + QString("No parts selected")); return; } @@ -627,10 +625,8 @@ void MULTIPR_GUI::OnDecimate() { SUIT_MessageBox::warning( (QWidget*) MULTIPR_GUI::desktop(), - QObject::tr("DECIMATION_WARN"), -// "Decimation warning", - QObject::tr("NO_PART_SELECTED")); -// "No parts selected"); + QString("Decimation warning"), + QString("No parts selected")); return; } @@ -676,20 +672,16 @@ void MULTIPR_GUI::OnRemove() { SUIT_MessageBox::warning( (QWidget*) MULTIPR_GUI::desktop(), - QObject::tr("DEL_WARN"), -// "Remove warning", - QObject::tr("NO_PART_SELECTED")); -// "No parts selected"); + QString("Remove warning"), + QString("No parts selected")); return; } if (QMessageBox::question( (QWidget*) MULTIPR_GUI::desktop(), - QObject::tr("DEL_SELECTED_PARTS"), -// QObject::tr("Remove selected part(s)"), - QObject::tr("DEL_SELECTED_PARTS_QUEST"), -// QObject::tr("Do you want to remove selected part(s)?"), - QObject::tr("&Yes"), tr("&No"), + QString("Remove selected part(s)"), + QString("Do you want to remove selected part(s)?"), + QString("&Yes"), QString("&No"), QString::null, 0, 1 ) ) { return; @@ -711,10 +703,8 @@ void MULTIPR_GUI::OnRemove() { SUIT_MessageBox::critical( (QWidget*) MULTIPR_GUI::desktop(), - QObject::tr("DEL_ERROR"), -// "Remove error", - QObject::tr("ERROR_DEL_PART")); -// "Error while removing selected part(s)"); + QString("Remove error"), + QString("Error while removing selected part(s)")); } QApplication::restoreOverrideCursor();