]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #677: Rename Folder to Directory
authorvsv <vitaly.smetannikov@opencascade.com>
Mon, 6 Jul 2015 15:28:48 +0000 (18:28 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Mon, 6 Jul 2015 15:28:48 +0000 (18:28 +0300)
src/XGUI/XGUI_Workshop.cpp

index 13f54667788a77b2628161a3d3b1e1861b8c00f6..31bc21a3206204d82c84e5795c712c58b59c6fc9 100644 (file)
@@ -579,7 +579,7 @@ void XGUI_Workshop::onOpen()
   }
 
   //show file dialog, check if readable and open
-  myCurrentDir = QFileDialog::getExistingDirectory(mainWindow(), tr("Select folder"));
+  myCurrentDir = QFileDialog::getExistingDirectory(mainWindow(), tr("Select directory"));
   if (myCurrentDir.isEmpty())
     return;
   QFileInfo aFileInfo(myCurrentDir);
@@ -621,9 +621,9 @@ bool XGUI_Workshop::onSaveAs()
   if(!isActiveOperationAborted())
     return false;
   QFileDialog dialog(mainWindow());
-  dialog.setWindowTitle(tr("Select folder to save files..."));
+  dialog.setWindowTitle(tr("Select directory to save files..."));
   dialog.setFileMode(QFileDialog::Directory);
-  dialog.setFilter(tr("Folders (*)"));
+  dialog.setFilter(tr("Directories (*)"));
   dialog.setOptions(QFileDialog::HideNameFilterDetails | QFileDialog::ShowDirsOnly);
   dialog.setViewMode(QFileDialog::Detail);
 
@@ -638,7 +638,7 @@ bool XGUI_Workshop::onSaveAs()
         myMainWindow,
         //: Title of the dialog which asks user if he wants to save study in existing non-empty folder
         tr("Save"),
-        tr("The folder already contains some files, save anyway?"),
+        tr("The directory already contains some files, save anyway?"),
         QMessageBox::Save | QMessageBox::Cancel);
     if (answer == QMessageBox::Cancel) {
       return false;