Qt: fix newlines. someone™️ changed to richtext

This commit is contained in:
Megamouse 2021-08-28 09:34:14 +02:00
parent e1a5a24a93
commit a09c2dbdd7
3 changed files with 8 additions and 8 deletions

View file

@ -763,7 +763,7 @@ bool gs_frame::event(QEvent* ev)
Emu.CallAfter([this, &result, &called]() Emu.CallAfter([this, &result, &called]()
{ {
m_gui_settings->ShowConfirmationBox(tr("Exit Game?"), m_gui_settings->ShowConfirmationBox(tr("Exit Game?"),
tr("Do you really want to exit the game?\n\nAny unsaved progress will be lost!\n"), tr("Do you really want to exit the game?<br><br>Any unsaved progress will be lost!<br>"),
gui::ib_confirm_exit, &result, nullptr); gui::ib_confirm_exit, &result, nullptr);
called = true; called = true;

View file

@ -160,16 +160,16 @@ bool gui_settings::GetBootConfirmation(QWidget* parent, const gui_save& gui_save
if (!Emu.IsStopped()) if (!Emu.IsStopped())
{ {
QString title = tr("Close Running Game?"); QString title = tr("Close Running Game?");
QString message = tr("Performing this action will close the current game.\nDo you really want to continue?\n\nAny unsaved progress will be lost!\n"); QString message = tr("Performing this action will close the current game.<br>Do you really want to continue?<br><br>Any unsaved progress will be lost!<br>");
if (gui_save_entry == gui::ib_confirm_boot) if (gui_save_entry == gui::ib_confirm_boot)
{ {
message = tr("Booting another game will close the current game.\nDo you really want to boot another game?\n\nAny unsaved progress will be lost!\n"); message = tr("Booting another game will close the current game.<br>Do you really want to boot another game?<br><br>Any unsaved progress will be lost!<br>");
} }
else if (gui_save_entry == gui::ib_confirm_exit) else if (gui_save_entry == gui::ib_confirm_exit)
{ {
title = tr("Exit RPCS3?"); title = tr("Exit RPCS3?");
message = tr("A game is currently running. Do you really want to close RPCS3?\n\nAny unsaved progress will be lost!\n"); message = tr("A game is currently running. Do you really want to close RPCS3?<br><br>Any unsaved progress will be lost!<br>");
} }
int result = QMessageBox::Yes; int result = QMessageBox::Yes;

View file

@ -1909,10 +1909,10 @@ int settings_dialog::exec()
m_gui_settings->ShowConfirmationBox( m_gui_settings->ShowConfirmationBox(
tr("Remove obsolete settings?"), tr("Remove obsolete settings?"),
tr( tr(
"Your config file contains one or more obsolete entries.\n" "Your config file contains one or more obsolete entries.<br>"
"Consider that a removal might render them invalid for other versions of RPCS3.\n" "Consider that a removal might render them invalid for other versions of RPCS3.<br>"
"\n" "<br>"
"Do you wish to let the program remove them for you now?\n" "Do you wish to let the program remove them for you now?<br>"
"This change will only be final when you save the config." "This change will only be final when you save the config."
), gui::ib_obsolete_cfg, &result, this); ), gui::ib_obsolete_cfg, &result, this);