From b9c1f4921c86d1301e78eb7b7361f4be3420da81 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sun, 2 May 2021 11:07:21 -0700 Subject: [PATCH 1/2] GeneralWidget: Fix Log Rendertime description grammar --- Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp index 6b0d1f7989..c5b174f5cf 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp @@ -244,7 +244,7 @@ void GeneralWidget::AddDescriptions() "NetPlay.

If unsure, leave this unchecked."); static const char TR_LOG_RENDERTIME_DESCRIPTION[] = QT_TR_NOOP( "Logs the render time of every frame to User/Logs/render_time.txt.

Use this " - "feature when to measure the performance of Dolphin.

If " + "feature to measure Dolphin's performance.

If " "unsure, leave this unchecked."); static const char TR_SHOW_NETPLAY_MESSAGES_DESCRIPTION[] = QT_TR_NOOP("Shows chat messages, buffer changes, and desync alerts " From 5a688b74a7f687e7705d919f5158b6fa605d9038 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sun, 2 May 2021 11:55:10 -0700 Subject: [PATCH 2/2] GeneralWidget: Fix Backend description grammar Unify Backend description string for Windows and other platforms. --- .../Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp index c5b174f5cf..09015179ee 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp @@ -196,21 +196,14 @@ void GeneralWidget::OnEmulationStateChanged(bool running) void GeneralWidget::AddDescriptions() { -// We need QObject::tr -#if defined(_WIN32) + // We need QObject::tr static const char TR_BACKEND_DESCRIPTION[] = QT_TR_NOOP( "Selects which graphics API to use internally.

The software renderer is extremely " - "slow and only useful for debugging, so either OpenGL, Direct3D, or Vulkan are " + "slow and only useful for debugging, so any of the other backends are " "recommended. Different games and different GPUs will behave differently on each " "backend, so for the best emulation experience it is recommended to try each and " "select the backend that is least problematic.

If unsure, " "select OpenGL."); -#else - static const char TR_BACKEND_DESCRIPTION[] = QT_TR_NOOP( - "Selects which graphics API to use internally.

The software renderer is extremely " - "slow and only useful for debugging, so any of the other backends are " - "recommended.

If unsure, select OpenGL."); -#endif static const char TR_ADAPTER_DESCRIPTION[] = QT_TR_NOOP("Selects a hardware adapter to use.

If unsure, " "select the first one.");