зеркало из https://github.com/nextcloud/desktop.git
remove extra argument from QString::arg: string has only 1 placeholder
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Родитель
a2c6b68803
Коммит
3db8c33a17
|
@ -1747,7 +1747,7 @@ QString FolderMan::trayTooltipStatusString(SyncResult::Status syncStatus, bool h
|
||||||
QString totalSizeStr = Utility::octetsToString(progress->totalSize());
|
QString totalSizeStr = Utility::octetsToString(progress->totalSize());
|
||||||
if (progress->trustEta()) {
|
if (progress->trustEta()) {
|
||||||
if (estimatedEta == 0) {
|
if (estimatedEta == 0) {
|
||||||
folderMessage = tr("Syncing %1 (A few seconds left)").arg(totalSizeStr, Utility::durationToDescriptiveString1(estimatedEta));
|
folderMessage = tr("Syncing %1 (A few seconds left)").arg(totalSizeStr);
|
||||||
} else {
|
} else {
|
||||||
folderMessage = tr("Syncing %1 (%2 left)").arg(totalSizeStr, Utility::durationToDescriptiveString1(estimatedEta));
|
folderMessage = tr("Syncing %1 (%2 left)").arg(totalSizeStr, Utility::durationToDescriptiveString1(estimatedEta));
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче