forked from qt-creator/qt-creator
I18n: Fixed plurals of bytes
Change-Id: I620e9338087d9cdc08b440b7417a9c22497b6abc Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
committed by
Robert Löhning
parent
506df46f0b
commit
5e4584253a
@@ -394,7 +394,7 @@ QString WatchData::toToolTip() const
|
||||
formatToolTipRow(str, tr("Referencing Address"),
|
||||
QString::fromLatin1(hexReferencingAddress()));
|
||||
if (size)
|
||||
formatToolTipRow(str, tr("Static Object Size"), tr("%1 bytes").arg(size));
|
||||
formatToolTipRow(str, tr("Static Object Size"), tr("%n bytes", 0, size));
|
||||
formatToolTipRow(str, tr("Internal ID"), QLatin1String(iname));
|
||||
str << "</table></body></html>";
|
||||
return res;
|
||||
|
@@ -110,8 +110,8 @@ void RemoteLinuxCheckForFreeDiskSpaceService::handleProcessFinished()
|
||||
return;
|
||||
}
|
||||
|
||||
emit progressMessage(tr("The remote file system has %1 bytes of free space, going ahead.")
|
||||
.arg(freeSpace));
|
||||
emit progressMessage(tr("The remote file system has %n bytes of free space, going ahead.",
|
||||
0, freeSpace));
|
||||
stopDeployment();
|
||||
}
|
||||
|
||||
|
@@ -219,8 +219,7 @@ void CleanDialog::addFile(const QString &workingDirectory, QString fileName, boo
|
||||
// Tooltip with size information
|
||||
if (fi.isFile()) {
|
||||
const QString lastModified = fi.lastModified().toString(Qt::DefaultLocaleShortDate);
|
||||
nameItem->setToolTip(tr("%1 bytes, last modified %2")
|
||||
.arg(fi.size()).arg(lastModified));
|
||||
nameItem->setToolTip(tr("%n bytes, last modified %1", 0, fi.size()).arg(lastModified));
|
||||
}
|
||||
d->m_filesModel->appendRow(nameItem);
|
||||
}
|
||||
|
Reference in New Issue
Block a user