From bb8d0261be5405224b2ca4ad9fb11076774fa7f6 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 18 Oct 2019 23:35:13 +0200 Subject: [PATCH] DolphinQt: Mark ubershader setting names as translatable These were marked as translatable in DolphinWX but not DolphinQt, yet both DolphinWX and DolphinQt tried to fetch translations for them. This meant that translations worked in both DolphinWX and DolphinQt back when DolphinWX existed, but that translations stopped working in DolphinQt once DolphinWX was removed (because the removal of DolphinWX triggered the removal of the strings from the .po files). --- Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp index 44a70e8325..3f829124f8 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp @@ -110,10 +110,10 @@ void GeneralWidget::CreateWidgets() auto* shader_compilation_layout = new QGridLayout(); const std::array modes = {{ - "Synchronous", - "Synchronous (Ubershaders)", - "Asynchronous (Ubershaders)", - "Asynchronous (Skip Drawing)", + QT_TR_NOOP("Synchronous"), + QT_TR_NOOP("Synchronous (Ubershaders)"), + QT_TR_NOOP("Asynchronous (Ubershaders)"), + QT_TR_NOOP("Asynchronous (Skip Drawing)"), }}; for (size_t i = 0; i < modes.size(); i++) {