Commit 4f850659 authored by Nate Graham's avatar Nate Graham
Browse files

Fix "not enough space" string

- Use correct grammar for second part
- Add context so translators know what the placeholder is
parent aa9e92bc
Pipeline #225640 passed with stage
in 2 minutes and 11 seconds
......@@ -275,7 +275,9 @@ void PackageKitUpdater::prepare()
auto j = KIO::fileSystemFreeSpace(QUrl::fromLocalFile("/usr"));
connect(j, &KIO::FileSystemFreeSpaceJob::result, this, [this](KIO::Job * /*job*/, KIO::filesize_t /*size*/, KIO::filesize_t available) {
if (available < updateSize()) {
setErrorMessage(i18n("Not enough space to perform the update. Only have %1 available.", KFormat().formatByteSize(available)));
setErrorMessage(i18nc("@info:status %1 is a formatted disk space string e.g. '240 MiB'",
"Not enough space to perform the update; only %1 of space are available.",
m_allUpgradeable = m_toUpgrade;
Supports Markdown
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