Skip to content

Commit

Permalink
Change text 'waiting' to a more clear description of the sync status.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Jul 5, 2024
1 parent 9cfdf46 commit e3c6d7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/folderstatusmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1185,10 +1185,11 @@ void FolderStatusModel::slotFolderSyncStateChange(Folder *folder)
const auto folderMan = FolderMan::instance();
auto pos = folderMan->scheduleQueue().indexOf(folder);
for (auto other : folderMan->map()) {
if (other != folder && other->isSyncRunning())
if (other != folder && other->isSyncRunning()) {
pos += 1;
}
}
const auto message = pos <= 0 ? tr("Waiting …") : tr("Waiting for %n other folder(s) …", "", pos);
const auto message = pos <= 0 ? tr("About to start syncing") : tr("Waiting for %n other folder(s) …", "", pos);
pi = SubFolderInfo::Progress();
pi._overallSyncString = message;
} else if (state == SyncResult::SyncPrepare) {
Expand Down

0 comments on commit e3c6d7f

Please sign in to comment.