Make some missing strings translatable.

Change-Id: I566bb9ea16b9e5e3f46e81393c07d3c13a748a63
This commit is contained in:
Dominik Riebeling 2014-01-05 16:12:16 +01:00
parent ceff06377d
commit b91ec7ec6d

View file

@ -662,7 +662,7 @@ void Config::refreshMountpoint()
// later (to include volume label or similar) // later (to include volume label or similar)
// Skip unwritable mountpoints, they are not useable for us. // Skip unwritable mountpoints, they are not useable for us.
if(QFileInfo(mps.at(i)).isWritable()) { if(QFileInfo(mps.at(i)).isWritable()) {
QString description = QString("%1 (%2 GiB of %3 GiB free)") QString description = tr("%1 (%2 GiB of %3 GiB free)")
.arg(Utils::filesystemName(mps.at(i))) .arg(Utils::filesystemName(mps.at(i)))
.arg((double)Utils::filesystemFree(mps.at(i))/(1<<30), 0, 'f', 2) .arg((double)Utils::filesystemFree(mps.at(i))/(1<<30), 0, 'f', 2)
.arg((double)Utils::filesystemTotal(mps.at(i))/(1<<30), 0, 'f', 2); .arg((double)Utils::filesystemTotal(mps.at(i))/(1<<30), 0, 'f', 2);
@ -746,10 +746,10 @@ void Config::autodetect()
if(mp.isEmpty()) { if(mp.isEmpty()) {
mp = tr("(unknown)"); mp = tr("(unknown)");
} }
msg += QString("<li>%1 at %2</li>").arg( msg += QString("<li>%1</li>").arg(tr("%1 at %2").arg(
SystemInfo::platformValue(detected.at(i).device, SystemInfo::platformValue(detected.at(i).device,
SystemInfo::CurPlatformName).toString(), SystemInfo::CurPlatformName).toString(),
QDir::toNativeSeparators(mp)); QDir::toNativeSeparators(mp)));
} }
msg += "</ul>"; msg += "</ul>";
msg += tr("Note: detecting connected devices might be ambiguous. " msg += tr("Note: detecting connected devices might be ambiguous. "