summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MsgHandler.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2015-12-15 18:13:26 +0100
committerMarkus Wick <degasus@users.noreply.github.com>2015-12-15 18:13:26 +0100
commite4b83d17bf5e79351d3ceddb2f856bb048a52afc (patch)
treeb84791bb83b29865cea8e15d02de89770209a5d6 /Source/Core/Common/MsgHandler.cpp
parent3e2ac3df43f057fdbbdfa2bd1466e5390d850a81 (diff)
parent74ea765427ad499dd16667d8939cb67d83dcdf04 (diff)
Merge pull request #3270 from JosJuice/more-translations
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, ...)