From b63dcd87110d969ebae8260f640cece796c4361a Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 7 Nov 2009 01:15:03 -0600 Subject: Fixed some branding issues with alerts.xml and notify.xml. --- linden/indra/llui/llalertdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linden/indra/llui/llalertdialog.cpp') diff --git a/linden/indra/llui/llalertdialog.cpp b/linden/indra/llui/llalertdialog.cpp index 80e54b6..9ce66f0 100644 --- a/linden/indra/llui/llalertdialog.cpp +++ b/linden/indra/llui/llalertdialog.cpp @@ -46,6 +46,7 @@ #include "llxmlnode.h" #include "lllineeditor.h" #include "lluictrlfactory.h" +#include "llversionviewer.h" const S32 MAX_ALLOWED_MSG_WIDTH = 400; @@ -259,6 +260,7 @@ void LLAlertDialog::format(std::string& msg, const LLStringUtil::format_map_t& a // XUI:translate! LLStringUtil::format_map_t targs = args; targs["[SECOND_LIFE]"] = "Second Life"; + targs["[VIEWER]"] = IMP_VIEWER_NAME; targs["[_URL]"] = mURL; LLStringUtil::format(msg, targs); } -- cgit v1.1