Commit 5e458425 authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning
Browse files

I18n: Fixed plurals of bytes



Change-Id: I620e9338087d9cdc08b440b7417a9c22497b6abc
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 506df46f
...@@ -394,7 +394,7 @@ QString WatchData::toToolTip() const ...@@ -394,7 +394,7 @@ QString WatchData::toToolTip() const
formatToolTipRow(str, tr("Referencing Address"), formatToolTipRow(str, tr("Referencing Address"),
QString::fromLatin1(hexReferencingAddress())); QString::fromLatin1(hexReferencingAddress()));
if (size) 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)); formatToolTipRow(str, tr("Internal ID"), QLatin1String(iname));
str << "</table></body></html>"; str << "</table></body></html>";
return res; return res;
......
...@@ -110,8 +110,8 @@ void RemoteLinuxCheckForFreeDiskSpaceService::handleProcessFinished() ...@@ -110,8 +110,8 @@ void RemoteLinuxCheckForFreeDiskSpaceService::handleProcessFinished()
return; return;
} }
emit progressMessage(tr("The remote file system has %1 bytes of free space, going ahead.") emit progressMessage(tr("The remote file system has %n bytes of free space, going ahead.",
.arg(freeSpace)); 0, freeSpace));
stopDeployment(); stopDeployment();
} }
......
...@@ -219,8 +219,7 @@ void CleanDialog::addFile(const QString &workingDirectory, QString fileName, boo ...@@ -219,8 +219,7 @@ void CleanDialog::addFile(const QString &workingDirectory, QString fileName, boo
// Tooltip with size information // Tooltip with size information
if (fi.isFile()) { if (fi.isFile()) {
const QString lastModified = fi.lastModified().toString(Qt::DefaultLocaleShortDate); const QString lastModified = fi.lastModified().toString(Qt::DefaultLocaleShortDate);
nameItem->setToolTip(tr("%1 bytes, last modified %2") nameItem->setToolTip(tr("%n bytes, last modified %1", 0, fi.size()).arg(lastModified));
.arg(fi.size()).arg(lastModified));
} }
d->m_filesModel->appendRow(nameItem); d->m_filesModel->appendRow(nameItem);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment