Qt/CheatManagerDialog: Fix lupdate warning

This commit is contained in:
Albert Liu 2020-12-26 23:55:12 -08:00
parent 2a1bf9925a
commit 46239e3d09
1 changed files with 3 additions and 2 deletions

View File

@ -18,8 +18,9 @@
#include <utility> #include <utility>
static constexpr std::array<const char*, 6> s_size_strings = { static constexpr std::array<const char*, 6> s_size_strings = {
{QT_TR_NOOP("Byte"), QT_TR_NOOP("Halfword"), QT_TR_NOOP("Word"), QT_TR_NOOP("Signed Byte"), {TRANSLATABLE("CheatManagerDialog", "Byte"), TRANSLATABLE("CheatManagerDialog", "Halfword"),
QT_TR_NOOP("Signed Halfword"), QT_TR_NOOP("Signed Word")}}; TRANSLATABLE("CheatManagerDialog", "Word"), TRANSLATABLE("CheatManagerDialog", "Signed Byte"),
TRANSLATABLE("CheatManagerDialog", "Signed Halfword"), TRANSLATABLE("CheatManagerDialog", "Signed Word")}};
static QString formatHexValue(u32 value) static QString formatHexValue(u32 value)
{ {