summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 4503228cf2..abe5fd8ce8 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -4409,23 +4409,23 @@ void process_alert_core(const std::string& message, BOOL modal)
}
else
{
- // *TODO: Translate
- args["MESSAGE"] = text;
+ std::string new_msg =LLNotifications::instance().getGlobalString(text);
+ args["MESSAGE"] = new_msg;
LLNotifications::instance().add("SystemMessage", args);
}
}
else if (modal)
{
- // *TODO: Translate
LLSD args;
- args["ERROR_MESSAGE"] = message;
+ std::string new_msg =LLNotifications::instance().getGlobalString(message);
+ args["ERROR_MESSAGE"] = new_msg;
LLNotifications::instance().add("ErrorMessage", args);
}
else
{
- // *TODO: Translate
LLSD args;
- args["MESSAGE"] = message;
+ std::string new_msg =LLNotifications::instance().getGlobalString(message);
+ args["MESSAGE"] = new_msg;
LLNotifications::instance().add("SystemMessageTip", args);
}
}