diff options
author | Callum Prentice <callum@lindenlab.com> | 2010-03-19 09:46:24 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2010-03-19 09:46:24 -0700 |
commit | 40e04fdb3b416a686c66989ee5d44c5eaf97b9fd (patch) | |
tree | 537b95c75bdb4a96a9f663895f89cb73f54c8f67 /indra/newview/llassetuploadresponders.cpp | |
parent | 70df3c1fa72ae8ecddf144452b4fe032ad48182e (diff) | |
parent | 1a28e325c4d148d2322bc9becb672abf99315a96 (diff) |
Merge with tip
Diffstat (limited to 'indra/newview/llassetuploadresponders.cpp')
-rw-r--r-- | indra/newview/llassetuploadresponders.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llassetuploadresponders.cpp b/indra/newview/llassetuploadresponders.cpp index 80cf8f1d61..8441796219 100644 --- a/indra/newview/llassetuploadresponders.cpp +++ b/indra/newview/llassetuploadresponders.cpp @@ -182,7 +182,10 @@ void LLAssetUploadResponder::uploadFailure(const LLSD& content) // deal with L$ errors if (reason == "insufficient funds") { - LLFloaterBuyCurrency::buyCurrency(LLTrans::getString("uploading_costs"), LLGlobalEconomy::Singleton::getInstance()->getPriceUpload()); + S32 price = LLGlobalEconomy::Singleton::getInstance()->getPriceUpload(); + LLStringUtil::format_map_t args; + args["AMOUNT"] = llformat("%d", price); + LLFloaterBuyCurrency::buyCurrency(LLTrans::getString("uploading_costs", args), price); } else { |