1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Clarify that the free space requirement is *on top* of what you have

The original message wasn't clear enough, in my opinion. Not really
happy with how this sentence is structured, but it should be better.
This commit is contained in:
Joshua Goins 2025-02-28 15:39:06 -05:00
parent eb424a64a6
commit ace25c7bd2

View file

@ -60,7 +60,8 @@ QCoro::Task<bool> Patcher::patch(const physis_PatchList &patchList)
if (neededSpace > 0) {
KFormat format;
QString neededSpaceStr = format.formatByteSize(neededSpace);
Q_EMIT m_launcher.miscError(i18n("There is not enough space available on disk to update the game. You need %1 of free space.", neededSpaceStr));
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));
co_return false;
}
@ -81,7 +82,8 @@ QCoro::Task<bool> Patcher::patch(const physis_PatchList &patchList)
if (neededInstallSpace > 0) {
KFormat format;
QString neededSpaceStr = format.formatByteSize(neededInstallSpace);
Q_EMIT m_launcher.miscError(i18n("There is not enough space available on disk to update the game. You need %1 of free space.", neededSpaceStr));
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));
co_return false;
}
@ -324,4 +326,4 @@ void Patcher::updateMessage()
}
}
#include "moc_patcher.cpp"
#include "moc_patcher.cpp"