aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llnotify.cpp')
-rw-r--r--linden/indra/newview/llnotify.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/linden/indra/newview/llnotify.cpp b/linden/indra/newview/llnotify.cpp
index 6da3b97..f8c3b30 100644
--- a/linden/indra/newview/llnotify.cpp
+++ b/linden/indra/newview/llnotify.cpp
@@ -544,10 +544,14 @@ void LLNotifyBox::close()
544 544
545void LLNotifyBox::format(std::string& msg, const LLStringUtil::format_map_t& args) 545void LLNotifyBox::format(std::string& msg, const LLStringUtil::format_map_t& args)
546{ 546{
547 // XUI:translate!
548 LLStringUtil::format_map_t targs = args; 547 LLStringUtil::format_map_t targs = args;
549 targs["[SECOND_LIFE]"] = "Second Life"; 548
550 targs["[VIEWER]"] = IMP_VIEWER_NAME; 549 // These sort of things are actually set in llui/llnotifications.cpp
550 // so that they will affect all notifications, not just boxes.
551
552 // targs["[SECOND_LIFE]"] = LLNotifications::instance().getGlobalString("SECOND_LIFE");
553 // targs["[VIEWER_NAME]"] = LLNotifications::instance().getGlobalString("VIEWER_NAME");
554
551 LLStringUtil::format(msg, targs); 555 LLStringUtil::format(msg, targs);
552} 556}
553 557