Hooked LLTrans into LLNotification stuffs. Also, fixed [CURRENCY] showing up in several places on the buy land window.
This commit is contained in:
@@ -85,8 +85,20 @@ public:
|
||||
return getString(xml_desc, empty);
|
||||
}
|
||||
|
||||
// get the default args
|
||||
static const LLStringUtil::format_map_t& getDefaultArgs()
|
||||
{
|
||||
return sDefaultArgs;
|
||||
}
|
||||
|
||||
static void setDefaultArg(const std::string& name, const std::string& value);
|
||||
|
||||
// insert default args into an arg list
|
||||
static void getArgs(LLStringUtil::format_map_t& args)
|
||||
{
|
||||
args.insert(sDefaultArgs.begin(), sDefaultArgs.end());
|
||||
}
|
||||
|
||||
private:
|
||||
typedef std::map<std::string, LLTransTemplate > template_map_t;
|
||||
static template_map_t sStringTemplates;
|
||||
|
||||
Reference in New Issue
Block a user