Use newlines more often in macOS dialog for a nicer look

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 5d9622db21)
This commit is contained in:
Octol1ttle 2026-04-14 23:02:44 +05:00 committed by github-actions[bot]
parent 3c6451dc59
commit 845497f09c

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;
}