diff options
Diffstat (limited to 'linden/indra/newview/llpanelmsgs.cpp')
-rw-r--r-- | linden/indra/newview/llpanelmsgs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelmsgs.cpp b/linden/indra/newview/llpanelmsgs.cpp index 006f536..42af550 100644 --- a/linden/indra/newview/llpanelmsgs.cpp +++ b/linden/indra/newview/llpanelmsgs.cpp | |||
@@ -89,8 +89,14 @@ void LLPanelMsgs::buildLists() | |||
89 | if (ignore == LLNotificationForm::IGNORE_NO) | 89 | if (ignore == LLNotificationForm::IGNORE_NO) |
90 | continue; | 90 | continue; |
91 | 91 | ||
92 | std::string message = formp->getIgnoreMessage(); | ||
93 | LLStringUtil::format_map_t targs; | ||
94 | targs["[SECOND_LIFE]"] = LLNotifications::instance().getGlobalString("SECOND_LIFE"); | ||
95 | targs["[VIEWER_NAME]"] = LLNotifications::instance().getGlobalString("VIEWER_NAME"); | ||
96 | LLStringUtil::format(message, targs); | ||
97 | |||
92 | LLSD row; | 98 | LLSD row; |
93 | row["columns"][0]["value"] = formp->getIgnoreMessage(); | 99 | row["columns"][0]["value"] = message; |
94 | row["columns"][0]["font"] = "SANSSERIF_SMALL"; | 100 | row["columns"][0]["font"] = "SANSSERIF_SMALL"; |
95 | row["columns"][0]["width"] = 300; | 101 | row["columns"][0]["width"] = 300; |
96 | 102 | ||