From 509c9318af8e6709364b50daf1b76fa8186e026c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 7 Jan 2024 17:28:42 +1000 Subject: [PATCH] Qt: Fix missing font message not being translatable --- pcsx2-qt/Translations.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2-qt/Translations.cpp b/pcsx2-qt/Translations.cpp index 3dd7269a7d..d7f2ffa9ad 100644 --- a/pcsx2-qt/Translations.cpp +++ b/pcsx2-qt/Translations.cpp @@ -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.

" "Do you want to download this file now? These files are usually less than 10 megabytes in size.

" - "If you do not download this file, on-screen messages will not be readable.")) + "If you do not download this file, on-screen messages will not be readable.") .arg(QLatin1StringView(font_name))); msgbox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); if (msgbox.exec() != QMessageBox::Yes)