From dde5a4e2d8fa004048f2f03414b8ba2b530cf5f4 Mon Sep 17 00:00:00 2001
From: Albert Liu <45282415+ggrtk@users.noreply.github.com>
Date: Thu, 31 Dec 2020 01:07:24 -0800
Subject: [PATCH] Qt/DisplaySettingsWidget: Fix recommended value not being
translated
---
src/duckstation-qt/displaysettingswidget.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/duckstation-qt/displaysettingswidget.cpp b/src/duckstation-qt/displaysettingswidget.cpp
index 401a3207f..5bdddfb25 100644
--- a/src/duckstation-qt/displaysettingswidget.cpp
+++ b/src/duckstation-qt/displaysettingswidget.cpp
@@ -67,11 +67,13 @@ DisplaySettingsWidget::DisplaySettingsWidget(QtHostInterface* host_interface, QW
"renderers.
This option is only supported in Direct3D and Vulkan. OpenGL will always use the default "
"device."));
dialog->registerWidgetHelp(
- m_ui.displayAspectRatio, tr("Aspect Ratio"), QStringLiteral("Auto (Game Native)"),
+ m_ui.displayAspectRatio, tr("Aspect Ratio"),
+ qApp->translate("DisplayAspectRatio", Settings::GetDisplayAspectRatioName(Settings::DEFAULT_DISPLAY_ASPECT_RATIO)),
tr("Changes the aspect ratio used to display the console's output to the screen. The default is Auto (Game Native) "
"which automatically adjusts the aspect ratio to match how a game would be shown on a typical TV of the era."));
dialog->registerWidgetHelp(
- m_ui.displayCropMode, tr("Crop Mode"), tr("Only Overscan Area"),
+ m_ui.displayCropMode, tr("Crop Mode"),
+ qApp->translate("DisplayCropMode", Settings::GetDisplayCropModeDisplayName(Settings::DEFAULT_DISPLAY_CROP_MODE)),
tr("Determines how much of the area typically not visible on a consumer TV set to crop/hide.
"
"Some games display content in the overscan area, or use it for screen effects.
May "
"not display correctly with the \"All Borders\" setting. \"Only Overscan\" offers a good "