diff options
Diffstat (limited to 'indra/llui/lluistring.h')
-rw-r--r-- | indra/llui/lluistring.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/lluistring.h b/indra/llui/lluistring.h index 773bc09763..c99aeb50c6 100644 --- a/indra/llui/lluistring.h +++ b/indra/llui/lluistring.h @@ -50,9 +50,9 @@ // llinfos << mMessage.getString() << llendl; // outputs "Welcome Steve to Second Life" // mMessage.setArg("[USERNAME]", "Joe"); // llinfos << mMessage.getString() << llendl; // outputs "Welcome Joe to Second Life" -// mMessage = "Recepción a la [SECONDLIFE] [USERNAME]" +// mMessage = "Recepci￳n a la [SECONDLIFE] [USERNAME]" // mMessage.setArg("[SECONDLIFE]", "Segunda Vida"); -// llinfos << mMessage.getString() << llendl; // outputs "Recepción a la Segunda Vida Joe" +// llinfos << mMessage.getString() << llendl; // outputs "Recepci￳n a la Segunda Vida Joe" // Implementation Notes: // Attempting to have operator[](const std::string& s) return mArgs[s] fails because we have @@ -71,6 +71,8 @@ public: LLUIString& operator=(const std::string& s) { assign(s); return *this; } void setArgList(const LLStringUtil::format_map_t& args); + void setArgs(const LLStringUtil::format_map_t& args) { setArgList(args); } + void setArgs(const class LLSD& sd); void setArg(const std::string& key, const std::string& replacement); const std::string& getString() const { return mResult; } |