]> SALOME platform Git repositories - modules/multipr.git/commitdiff
Salome HOME
Fix some translations BR_FSH_DEV V5_1_3_BR RELIQUAT_5x_30102009 V5_1_3 V5_1_3_patch01 V5_1_3_patch02 V5_1_3_patch03 V5_1_3_patch04 V5_1_3_patch05 V5_1_3_patch06 V5_1_3_patch07 V5_1_3_patch08 V5_1_3_patch09 V5_1_3rc2 V5_1_3rc3 V5_1_3rc4 V5_1_3rc5 V5_1_main_20091211 V5_1_main_20091214 V5_1_main_20091218 V5_1_main_20091223 V5_1_main_20100114 V5_1_main_20100118 V5_1_main_20100120 V5_1_main_20100121 V5_1_main_20100126 V5_1_main_20100127 V5_1_main_20100128 V5_1_main_20100129 V5_1_main_20100201 V5_1_main_20100204 V5_1_main_20100210 V5_1_main_20100212 V6_0_0 after_Qt4_autotools_porting
authornge <nge>
Tue, 20 Oct 2009 08:58:30 +0000 (08:58 +0000)
committernge <nge>
Tue, 20 Oct 2009 08:58:30 +0000 (08:58 +0000)
src/MULTIPRGUI/MULTIPR_GUI.cxx

index d635228860c26ec03a3cff6ceb8321ff5087c1b7..397842c4c233dc262002d25d52ef3bc8e371d8f6 100644 (file)
@@ -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();