changed wording

https://github.com/nextcloud/client/issues/216
This commit is contained in:
Kilian Pfeiffer 2018-04-11 15:08:32 +02:00 committed by Kilian Pfeiffer
parent 2236d05d25
commit bb65eb8cdd

View File

@ -1032,11 +1032,11 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction dir, bool *cancel
"synchronized with your server, making such files unavailable unless restored.\n"
"Are you sure you want to sync those actions with the server?\n"
"If this was an accident and you decide to keep your files, they will be re-synced from the server.");
QMessageBox msgBox(QMessageBox::Warning, tr("Remove All Files?"),
QMessageBox msgBox(QMessageBox::Warning, tr("Download new files?"),
msg.arg(shortGuiLocalPath()));
msgBox.setWindowFlags(msgBox.windowFlags() | Qt::WindowStaysOnTopHint);
msgBox.addButton(tr("Remove all files"), QMessageBox::DestructiveRole);
QPushButton *keepBtn = msgBox.addButton(tr("Keep files"), QMessageBox::AcceptRole);
msgBox.addButton(tr("Download new files"), QMessageBox::DestructiveRole);
QPushButton *keepBtn = msgBox.addButton(tr("Keep local files"), QMessageBox::AcceptRole);
if (msgBox.exec() == -1) {
*cancel = true;
return;