mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 03:37:47 +00:00
Improve free space string again
This commit is contained in:
parent
bfc95ecf37
commit
69051696e1
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ QCoro::Task<bool> Patcher::patch(const physis_PatchList &patchList)
|
||||||
KFormat format;
|
KFormat format;
|
||||||
QString neededSpaceStr = format.formatByteSize(neededSpace);
|
QString neededSpaceStr = format.formatByteSize(neededSpace);
|
||||||
Q_EMIT m_launcher.miscError(
|
Q_EMIT m_launcher.miscError(
|
||||||
i18n("There isn't enough space available on disk to update the game. You need %1 more of free space to continue.", neededSpaceStr));
|
i18n("There isn't enough space available on disk to update the game. You need %1 more free space to continue.", neededSpaceStr));
|
||||||
co_return false;
|
co_return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ QCoro::Task<bool> Patcher::patch(const physis_PatchList &patchList)
|
||||||
KFormat format;
|
KFormat format;
|
||||||
QString neededSpaceStr = format.formatByteSize(neededInstallSpace);
|
QString neededSpaceStr = format.formatByteSize(neededInstallSpace);
|
||||||
Q_EMIT m_launcher.miscError(
|
Q_EMIT m_launcher.miscError(
|
||||||
i18n("There is not enough space available on disk to update the game. You need %1 more of free space to continue.", neededSpaceStr));
|
i18n("There is not enough space available on disk to update the game. You need %1 more free space to continue.", neededSpaceStr));
|
||||||
co_return false;
|
co_return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue