mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Merge pull request #246 from k1l1/master
scary wording on big changes #216 (translations missing)
This commit is contained in:
commit
9196ab1c98
1 changed files with 3 additions and 3 deletions
|
@ -1005,11 +1005,11 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction dir, bool *cancel
|
||||||
"synchronized with your server, making such files unavailable unless restored.\n"
|
"synchronized with your server, making such files unavailable unless restored.\n"
|
||||||
"Are you sure you want to sync those actions with the server?\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.");
|
"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()));
|
msg.arg(shortGuiLocalPath()));
|
||||||
msgBox.setWindowFlags(msgBox.windowFlags() | Qt::WindowStaysOnTopHint);
|
msgBox.setWindowFlags(msgBox.windowFlags() | Qt::WindowStaysOnTopHint);
|
||||||
msgBox.addButton(tr("Remove all files"), QMessageBox::DestructiveRole);
|
msgBox.addButton(tr("Download new files"), QMessageBox::DestructiveRole);
|
||||||
QPushButton *keepBtn = msgBox.addButton(tr("Keep files"), QMessageBox::AcceptRole);
|
QPushButton *keepBtn = msgBox.addButton(tr("Keep local files"), QMessageBox::AcceptRole);
|
||||||
if (msgBox.exec() == -1) {
|
if (msgBox.exec() == -1) {
|
||||||
*cancel = true;
|
*cancel = true;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue