diff options
| author | xvrc <xavc.dev@gmail.com> | 2021-06-12 17:42:27 -0400 |
|---|---|---|
| committer | xvrc <xavc.dev@gmail.com> | 2021-06-12 17:42:27 -0400 |
| commit | 0ad13db633994cdad92e20eee07fef79822efaf1 (patch) | |
| tree | 11e7473d4483e2f713a09ce482af9ce9189c33c2 /Source/Core/Common/MsgHandler.cpp | |
| parent | a09d9cf608fa9d2c20f6419879ad9867e1990cea (diff) | |
MsgHandler: Correct question and warning captions
Diffstat (limited to 'Source/Core/Common/MsgHandler.cpp')
| -rw-r--r-- | Source/Core/Common/MsgHandler.cpp | 8 |
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) { |
