From 1abb52e30878a7cb626d03f7577714ac10ddf00f Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 6 Jul 2015 18:28:48 +0300 Subject: [PATCH] Issue #677: Rename Folder to Directory --- src/XGUI/XGUI_Workshop.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 13f546677..31bc21a32 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -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; -- 2.39.2