From e3c7c764e849eb42fe8186f2895de1bf377a29c9 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 1 Oct 2024 16:41:56 +0200 Subject: [PATCH] message should say many not all: would be triggered by 200 files Signed-off-by: Matthieu Gallien --- src/gui/folder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index 67de7b3874394..f1173cfa9d7df 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -1641,13 +1641,13 @@ bool Folder::virtualFilesEnabled() const void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction dir, std::function callback) { - const QString msg = dir == SyncFileItem::Down ? tr("All files in the server folder \"%1\" were deleted.\n\nIf you restore the files, they will be uploaded again to the server.") - : tr("All files in the local folder \"%1\" were deleted.\n\nIf you restore the files, they will be downloaded again from the server."); + const QString msg = dir == SyncFileItem::Down ? tr("Many files in the server folder \"%1\" were deleted.\n\nIf you restore the files, they will be uploaded again to the server.") + : tr("Many files in the local folder \"%1\" were deleted.\n\nIf you restore the files, they will be downloaded again from the server."); auto msgBox = new QMessageBox(QMessageBox::Warning, tr("Remove all files?"), msg.arg(shortGuiLocalPath()), QMessageBox::NoButton); msgBox->setAttribute(Qt::WA_DeleteOnClose); msgBox->setWindowFlags(msgBox->windowFlags() | Qt::WindowStaysOnTopHint); - msgBox->addButton(tr("Proceed to remove all files"), QMessageBox::DestructiveRole); + msgBox->addButton(tr("Proceed to remove files"), QMessageBox::DestructiveRole); QPushButton *keepBtn = msgBox->addButton(tr("Restore files"), QMessageBox::AcceptRole); bool oldPaused = syncPaused(); setSyncPaused(true);