From fd1b6b1ab29c5a063a10e9f19d11302e3265c061 Mon Sep 17 00:00:00 2001 From: xujibbs <79200793+xujibbs@users.noreply.github.com> Date: Sat, 4 May 2024 19:44:37 +0800 Subject: [PATCH] Update GraphicsSettingsWidget.cpp --- pcsx2-qt/Settings/GraphicsSettingsWidget.cpp | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp b/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp index 271bc1e279134..1a7bf27bb7ba8 100644 --- a/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp +++ b/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp @@ -44,9 +44,13 @@ static constexpr RendererInfo s_renderer_info[] = { {QT_TRANSLATE_NOOP("GraphicsSettingsWidget", "Null"), GSRendererType::Null}, }; -static const char* s_anisotropic_filtering_entries[] = {QT_TRANSLATE_NOOP("GraphicsSettingsWidget", "Off (Default)"), - QT_TRANSLATE_NOOP("GraphicsSettingsWidget", "2x"), QT_TRANSLATE_NOOP("GraphicsSettingsWidget", "4x"), - QT_TRANSLATE_NOOP("GraphicsSettingsWidget", "8x"), QT_TRANSLATE_NOOP("GraphicsSettingsWidget", "16x"), nullptr}; +static const char* s_anisotropic_filtering_entries[] = { + FSUI_NSTR("Off (Default)"), + FSUI_NSTR("2x"), + FSUI_NSTR("4x"), + FSUI_NSTR("8x"), + FSUI_NSTR("16x"), +}; static const char* s_anisotropic_filtering_values[] = {"0", "2", "4", "8", "16", nullptr}; static constexpr int DEFAULT_INTERLACE_MODE = 0; @@ -1114,3 +1118,13 @@ void GraphicsSettingsWidget::resetManualHardwareFixes() if (changed) Host::CommitBaseSettingChanges(); } + +#if 0 +// TRANSLATION-STRING-AREA-BEGIN +TRANSLATE_NOOP("GraphicsSettingsWidget", "Off (Default)"); +TRANSLATE_NOOP("GraphicsSettingsWidget", "2x"); +TRANSLATE_NOOP("GraphicsSettingsWidget", "4x"); +TRANSLATE_NOOP("GraphicsSettingsWidget", "8x"); +TRANSLATE_NOOP("GraphicsSettingsWidget", "16x"); +// TRANSLATION-STRING-AREA-END +#endif