summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaternamedesc.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2019-11-25 22:52:07 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2019-11-25 22:52:07 +0200
commitf1a6e776b41f15ffc0ed4cf245136143bcd1a852 (patch)
treee83f829a93c661a6f11c60267f272e6e064cef09 /indra/newview/llfloaternamedesc.cpp
parent9621dd8bbd1697b119574bcc879345f03b42969e (diff)
SL-12097, SL-12098, SL-12099 UI update for Texture, Animation and Sound upload fees
Diffstat (limited to 'indra/newview/llfloaternamedesc.cpp')
-rw-r--r--indra/newview/llfloaternamedesc.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaternamedesc.cpp b/indra/newview/llfloaternamedesc.cpp
index 89e93102dd..87a741bb7b 100644
--- a/indra/newview/llfloaternamedesc.cpp
+++ b/indra/newview/llfloaternamedesc.cpp
@@ -47,6 +47,7 @@
#include "lluictrlfactory.h"
#include "llstring.h"
#include "llpermissions.h"
+#include "lltrans.h"
// linden includes
#include "llassetstorage.h"
@@ -125,6 +126,12 @@ BOOL LLFloaterNameDesc::postBuild()
S32 expected_upload_cost = getExpectedUploadCost();
getChild<LLUICtrl>("ok_btn")->setLabelArg("[AMOUNT]", llformat("%d", expected_upload_cost));
+
+ LLTextBox* info_text = getChild<LLTextBox>("info_text");
+ if (info_text)
+ {
+ info_text->setValue(LLTrans::getString("UploadFeeInfo"));
+ }
setDefaultBtn("ok_btn");