diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2010-03-16 18:29:56 +0200 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2010-03-16 18:29:56 +0200 |
commit | b3f305ae9464201445328f9e6c980357aba21ef7 (patch) | |
tree | 5919fcc546ee0596c63d76c0fc4a7e471e73bb5e /indra/newview/llassetuploadresponders.cpp | |
parent | ba52dc2fd1d4f7c2947fd7b8bdb2adb617d9376e (diff) |
Implemented normal task EXT-5982([HARD CODED] on L$ kaufen window (Buy L$)).
- Moved hardcoded strings in LLFloaterBuyCurrency::buyCurrency() calls to strings.xml
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/33/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llassetuploadresponders.cpp')
-rw-r--r-- | indra/newview/llassetuploadresponders.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llassetuploadresponders.cpp b/indra/newview/llassetuploadresponders.cpp index a2322e28b4..80cf8f1d61 100644 --- a/indra/newview/llassetuploadresponders.cpp +++ b/indra/newview/llassetuploadresponders.cpp @@ -55,6 +55,7 @@ #include "llviewermenufile.h" #include "llviewerwindow.h" #include "lltexlayer.h" +#include "lltrans.h" // library includes #include "lldir.h" @@ -181,7 +182,7 @@ void LLAssetUploadResponder::uploadFailure(const LLSD& content) // deal with L$ errors if (reason == "insufficient funds") { - LLFloaterBuyCurrency::buyCurrency("Uploading costs", LLGlobalEconomy::Singleton::getInstance()->getPriceUpload()); + LLFloaterBuyCurrency::buyCurrency(LLTrans::getString("uploading_costs"), LLGlobalEconomy::Singleton::getInstance()->getPriceUpload()); } else { |