Merge pull request #1534 from owncloud/clarify-space-usage

Clarify space usage
This commit is contained in:
Olivier Goffart 2014-03-06 14:07:25 +01:00
commit 3f3577d0b1

View File

@ -726,7 +726,7 @@ void AccountSettings::slotUpdateQuota(qint64 total, qint64 used)
QString totalStr = Utility::octetsToString(total);
double percent = used/(double)total*100;
QString percentStr = Utility::compactFormatDouble(percent, 1);
ui->quotaLabel->setText(tr("%1 of %2 (%3%) in use.").arg(usedStr, totalStr, percentStr));
ui->quotaLabel->setText(tr("%1 (%3%) of %2 server space in use.").arg(usedStr, totalStr, percentStr));
} else {
ui->quotaProgressBar->setVisible(false);
ui->quotaInfoLabel->setVisible(false);