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/llviewermenu.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/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index bc3b8ac9d6..1d58daba2c 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -103,6 +103,7 @@ #include "llfloatercamera.h" #include "lluilistener.h" #include "llappearancemgr.h" +#include "lltrans.h" using namespace LLVOAvatarDefines; @@ -3272,7 +3273,7 @@ void handle_buy_object(LLSaleInfo sale_info) if (price > 0 && price > gStatusBar->getBalance()) { - LLFloaterBuyCurrency::buyCurrency("This object costs", price); + LLFloaterBuyCurrency::buyCurrency(LLTrans::getString("this_object_costs"), price); return; } |