summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MsgHandler.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-11-20 11:33:47 +0100
committerJosJuice <josjuice@gmail.com>2015-11-20 11:33:47 +0100
commit74ea765427ad499dd16667d8939cb67d83dcdf04 (patch)
treea6a1d02604e648a62779dd785b08423fd9743117 /Source/Core/Common/MsgHandler.cpp
parent584ea8b3205f703b09f7f030493150e9e526b604 (diff)
Mark more strings for translation
Diffstat (limited to 'Source/Core/Common/MsgHandler.cpp')
-rw-r--r--Source/Core/Common/MsgHandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/MsgHandler.cpp b/Source/Core/Common/MsgHandler.cpp
index 075196ced2..e73efe9020 100644
--- a/Source/Core/Common/MsgHandler.cpp
+++ b/Source/Core/Common/MsgHandler.cpp
@@ -38,6 +38,11 @@ void SetEnableAlert(bool enable)
AlertEnabled = enable;
}
+std::string GetTranslation(const char* string)
+{
+ return str_translator(string);
+}
+
// This is the first stop for gui alerts where the log is updated and the
// correct window is shown
bool MsgAlert(bool yes_no, int Style, const char* format, ...)