diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-03-18 19:42:38 +0200 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-03-18 19:42:38 +0200 |
commit | c74f87015118a6da7036623d026fc512f46af9d5 (patch) | |
tree | 81ae353a65072ecaadf9dd7124b67da15ed7eca6 /indra/newview/llviewermessage.cpp | |
parent | 2f9223dc1472dace57095be1ba0a88e4e0e53695 (diff) |
(EXT-5982) [FRAGMENTATION] L$ kaufen window (Buy L$)
- Moved hardcoded strings in LLFloaterBuyCurrency::buyCurrency() calls to strings.xml
Reviewed by Vadim Savchuk https://codereview.productengine.com/secondlife/r/56/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index bd0012057c..210557f68f 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -272,7 +272,9 @@ void give_money(const LLUUID& uuid, LLViewerRegion* region, S32 amount, BOOL is_ } else { - LLFloaterBuyCurrency::buyCurrency(LLTrans::getString("giving"), amount); + LLStringUtil::format_map_t args; + args["AMOUNT"] = llformat("%d", amount); + LLFloaterBuyCurrency::buyCurrency(LLTrans::getString("giving", args), amount); } } |