Use newlines more often in macOS dialog for a nicer look

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-04-14 23:02:44 +05:00
parent 0b578fa767
commit 5d9622db21
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -33,14 +33,16 @@ void EnsureAvailableMemory::executeTask()
return;
case MacOSHardwareInfo::MemoryPressureLevel::Warning:
text =
tr("The system is under increased memory pressure. This may cause lag or slowdowns.\n"
tr("The system is under increased memory pressure.\n"
"This may lead to lag or slowdowns.\n"
"If possible, close other applications before continuing.\n\n"
"Launch anyway?");
break;
case MacOSHardwareInfo::MemoryPressureLevel::Critical:
text =
tr("Your system is under critical memory pressure. This may lead to severe slowdowns or crashes.\n"
"It is highly recommended to close other applications or restart your system.\n\n"
tr("Your system is under critical memory pressure.\n"
"This may lead to severe slowdowns, crashes or system instability.\n"
"It is recommended to close other applications or restart your system.\n\n"
"Launch anyway?");
break;
}