From f39a5dcf5dedd67a6cfc49a02cfbe77a2fd8f0d4 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 1 May 2021 13:18:32 +1000 Subject: [PATCH] Settings: Fix new display aspect ratios being untranslatable --- src/core/settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index f54ca57f1..ccf8d9c36 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -775,8 +775,8 @@ const char* Settings::GetDisplayCropModeDisplayName(DisplayCropMode crop_mode) } static std::array(DisplayAspectRatio::Count)> s_display_aspect_ratio_names = { - {TRANSLATABLE("DisplayAspectRatio", "Auto (Game Native)"), "Auto (Match Window)", "Custom", "4:3", "16:9", "19:9", - "20:9", "PAR 1:1"}}; + {TRANSLATABLE("DisplayAspectRatio", "Auto (Game Native)"), TRANSLATABLE("DisplayAspectRatio", "Auto (Match Window)"), + TRANSLATABLE("DisplayAspectRatio", "Custom"), "4:3", "16:9", "19:9", "20:9", "PAR 1:1"}}; static constexpr std::array(DisplayAspectRatio::Count)> s_display_aspect_ratio_values = { {-1.0f, -1.0f, -1.0f, 4.0f / 3.0f, 16.0f / 9.0f, 19.0f / 9.0f, 20.0f / 9.0f, -1.0f}};