From 25c4c64ae4c01cfde89d181700e1f0fadcb573f1 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Thu, 20 May 2021 15:53:30 +0200 Subject: [PATCH] Fixes to translatable strings, take 2 Sorry, the fix I made to the empty string in a29660a was not actually sufficient, as DolphinQt will call tr on the string regardless of whether it's marked with _trans. The proper fix is to use nullptr, which DolphinQt has a special check for. --- Source/Core/Core/HW/GCPadEmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/GCPadEmu.cpp b/Source/Core/Core/HW/GCPadEmu.cpp index d1589bb85c..930aa1474a 100644 --- a/Source/Core/Core/HW/GCPadEmu.cpp +++ b/Source/Core/Core/HW/GCPadEmu.cpp @@ -97,7 +97,7 @@ GCPad::GCPad(const unsigned int index) : m_index(index) &m_always_connected_setting, // i18n: Treat a controller as always being connected regardless of what // devices the user actually has plugged in - {_trans("Always Connected"), "", + {_trans("Always Connected"), nullptr, _trans("If checked, the emulated controller is always connected.\n" "If unchecked, the connection state of the emulated controller is linked\n" "to the connection state of the real default device (if there is one).")},