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.
This commit is contained in:
JosJuice 2021-05-20 15:53:30 +02:00
parent 655a50e1d0
commit 25c4c64ae4

View file

@ -97,7 +97,7 @@ GCPad::GCPad(const unsigned int index) : m_index(index)
&m_always_connected_setting, &m_always_connected_setting,
// i18n: Treat a controller as always being connected regardless of what // i18n: Treat a controller as always being connected regardless of what
// devices the user actually has plugged in // devices the user actually has plugged in
{_trans("Always Connected"), "", {_trans("Always Connected"), nullptr,
_trans("If checked, the emulated controller is always connected.\n" _trans("If checked, the emulated controller is always connected.\n"
"If unchecked, the connection state of the emulated controller is linked\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).")}, "to the connection state of the real default device (if there is one).")},