mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
Folder Wizard: warn when adding a folder which is the parent of a sync'ed folder
issue #7741
This commit is contained in:
parent
13c9d6431d
commit
b7193e6a0e
1 changed files with 2 additions and 0 deletions
|
@ -454,6 +454,8 @@ bool FolderWizardRemotePath::isComplete() const
|
|||
warnStrings.append(tr("This folder is already being synced."));
|
||||
} else if (dir.startsWith(curDir)) {
|
||||
warnStrings.append(tr("You are already syncing <i>%1</i>, which is a parent folder of <i>%2</i>.").arg(Utility::escape(curDir), Utility::escape(dir)));
|
||||
} else if (curDir.startsWith(dir)) {
|
||||
warnStrings.append(tr("You are already syncing <i>%1</i>, which is a subfolder of <i>%2</i>.").arg(Utility::escape(curDir), Utility::escape(dir)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue