Grid currency, partial

This commit is contained in:
Siana Gearz
2011-02-11 19:56:30 +01:00
parent 1919c00f2d
commit d97f87b05f
82 changed files with 1164 additions and 1130 deletions

View File

@@ -55,6 +55,8 @@
#include "lloverlaybar.h" // for gOverlayBar
#include "lluictrlfactory.h"
#include "hippogridmanager.h"
// [RLVa:KB] - Version: 1.23.4
#include "rlvhandler.h"
// [/RLVa:KB]
@@ -579,7 +581,10 @@ void LLNotifyBox::format(std::string& msg, const LLStringUtil::format_map_t& arg
{
// XUI:translate!
LLStringUtil::format_map_t targs = args;
targs["[SECOND_LIFE]"] = "Second Life";
targs["[SECOND_LIFE]"] = gHippoGridManager->getConnectedGrid()->getGridName();
targs["[GRID_NAME]"] = gHippoGridManager->getConnectedGrid()->getGridName();
targs["[GRID_SITE]"] = gHippoGridManager->getConnectedGrid()->getWebSite();
targs["[CURRENCY]"] = gHippoGridManager->getConnectedGrid()->getCurrencySymbol();
targs["[VIEWER_NAME]"] = "Singularity Viewer";
LLStringUtil::format(msg, targs);
}