summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MsgHandler.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-06-13 11:00:45 +0200
committerGitHub <noreply@github.com>2021-06-13 11:00:45 +0200
commit38424d0c59b480d7a3301a5f61c03e99b685dc42 (patch)
tree9bd27f1bfdc735a2949e097ababe02590e0cab15 /Source/Core/Common/MsgHandler.cpp
parent0a1f58ad779695e2d9ddbd90a5c021efe2df450e (diff)
parent0ad13db633994cdad92e20eee07fef79822efaf1 (diff)
Merge pull request #9808 from xvrc/msghandler-label-fix
MsgHandler: Correct question and warning captions
Diffstat (limited to 'Source/Core/Common/MsgHandler.cpp')
-rw-r--r--Source/Core/Common/MsgHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/MsgHandler.cpp b/Source/Core/Common/MsgHandler.cpp
index e548554d7e..f51ecbc1e6 100644
--- a/Source/Core/Common/MsgHandler.cpp
+++ b/Source/Core/Common/MsgHandler.cpp
@@ -55,10 +55,10 @@ bool s_alert_enabled = true;
const char* GetCaption(MsgType style)
{
- static const std::string info_caption = s_str_translator(_trans("Information"));
- static const std::string warn_caption = s_str_translator(_trans("Question"));
- static const std::string ques_caption = s_str_translator(_trans("Warning"));
- static const std::string crit_caption = s_str_translator(_trans("Critical"));
+ static const std::string info_caption = GetStringT("Information");
+ static const std::string ques_caption = GetStringT("Question");
+ static const std::string warn_caption = GetStringT("Warning");
+ static const std::string crit_caption = GetStringT("Critical");
switch (style)
{