]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authormzn <mzn@opencascade.com>
Fri, 22 Jul 2005 06:39:54 +0000 (06:39 +0000)
committermzn <mzn@opencascade.com>
Fri, 22 Jul 2005 06:39:54 +0000 (06:39 +0000)
src/Qtx/QtxDirListEditor.cxx

index 11aae719fa7ced8d0b5ecd6cd23ce820ffb2f9c5..56284627676576bf27af38ac50cbdabddfd61cd3 100644 (file)
@@ -232,9 +232,9 @@ bool QtxDirListEditor::validate()
       if ( user_data == NULL ) {
        // unknown user or something another error
        QMessageBox::critical(this, 
-                             tr("ERR_ERROR"),
+                             tr("Error"),
                              tr("Unknown user %1").arg(user), 
-                             tr("BUT_OK"));
+                             tr("Ok"));
        myEdit->setFocus();
         return false;
       }
@@ -268,9 +268,9 @@ bool QtxDirListEditor::validate()
         if (found != myLastSelected) {
           // it is forbidden to add directory more then once
          QMessageBox::critical(this, 
-                               tr("ERR_ERROR"),
+                               tr("Error"),
                                tr("Directory already specified."), 
-                               tr("BUT_OK"));
+                               tr("Ok"));
          myEdit->setFocus();
           return false;
         }
@@ -278,9 +278,9 @@ bool QtxDirListEditor::validate()
       else {
         if (!dir.exists()) {
          if ( QMessageBox::information(this, 
-                                       tr("WRN_WARNING"),
+                                       tr("Warning"),
                                        tr("%1\n\nThe directory doesn't exist.\nAdd directory anyway?").arg(dir.absPath()),
-                                       tr("BUT_YES"), tr("BUT_NO"), QString::null, 1, 1) == 1) {
+                                       tr("Yes"), tr("No"), QString::null, 1, 1) == 1) {
            myEdit->setFocus();
             return false;
          }
@@ -338,8 +338,8 @@ void QtxDirListEditor::resizeEvent(QResizeEvent* event) {
   Called when user clicks inside directories list box
 */
 void QtxDirListEditor::onMouseButtonClicked(int           button, 
-                                         QListBoxItem* item, 
-                                         const QPoint& point) {
+                                           QListBoxItem* item, 
+                                           const QPoint& point) {
   if (myEdited) {
     if (!validate()) {
       myDirList->setCurrentItem(myLastSelected);