mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix missing font message not being translatable
This commit is contained in:
parent
46e1e3d904
commit
509c9318af
|
@ -352,14 +352,14 @@ bool QtHost::DownloadMissingFont(QWidget* dialog_parent, const char* font_name,
|
|||
|
||||
{
|
||||
QMessageBox msgbox(dialog_parent);
|
||||
msgbox.setWindowTitle(qApp->translate("MainWindow", QT_TRANSLATE_NOOP("MainWindow", "Missing Font File")));
|
||||
msgbox.setWindowTitle(qApp->translate("MainWindow", "Missing Font File"));
|
||||
msgbox.setWindowIcon(QtHost::GetAppIcon());
|
||||
msgbox.setIcon(QMessageBox::Critical);
|
||||
msgbox.setTextFormat(Qt::RichText);
|
||||
msgbox.setText(qApp->translate("MainWindow", QT_TRANSLATE_NOOP("MainWindow",
|
||||
msgbox.setText(qApp->translate("MainWindow",
|
||||
"The font file '%1' is required for the On-Screen Display and Big Picture Mode to show messages in your language.<br><br>"
|
||||
"Do you want to download this file now? These files are usually less than 10 megabytes in size.<br><br>"
|
||||
"<strong>If you do not download this file, on-screen messages will not be readable.</strong>"))
|
||||
"<strong>If you do not download this file, on-screen messages will not be readable.</strong>")
|
||||
.arg(QLatin1StringView(font_name)));
|
||||
msgbox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||
if (msgbox.exec() != QMessageBox::Yes)
|
||||
|
|
Loading…
Reference in New Issue