aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterland.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterland.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterland.cpp b/linden/indra/newview/llfloaterland.cpp
index 08c04ab..cc398da 100644
--- a/linden/indra/newview/llfloaterland.cpp
+++ b/linden/indra/newview/llfloaterland.cpp
@@ -76,6 +76,8 @@
76#include "llviewercontrol.h" 76#include "llviewercontrol.h"
77#include "roles_constants.h" 77#include "roles_constants.h"
78 78
79#include "hippoGridManager.h"
80
79static std::string OWNER_ONLINE = "0"; 81static std::string OWNER_ONLINE = "0";
80static std::string OWNER_OFFLINE = "1"; 82static std::string OWNER_OFFLINE = "1";
81static std::string OWNER_GROUP = "2"; 83static std::string OWNER_GROUP = "2";
@@ -645,6 +647,7 @@ void LLPanelLandGeneral::refresh()
645 mSaleInfoForSaleNoObjects->setVisible(TRUE); 647 mSaleInfoForSaleNoObjects->setVisible(TRUE);
646 } 648 }
647 mSaleInfoNotForSale->setVisible(FALSE); 649 mSaleInfoNotForSale->setVisible(FALSE);
650 mSaleInfoForSale1->setTextArg("[CURRENCY]", gHippoGridManager->getConnectedGrid()->getCurrencySymbol());
648 651
649 F32 cost_per_sqm = 0.0f; 652 F32 cost_per_sqm = 0.0f;
650 if (area > 0) 653 if (area > 0)
@@ -887,6 +890,7 @@ void LLPanelLandGeneral::onClickBuyPass(void* data)
887 890
888 LLSD args; 891 LLSD args;
889 args["COST"] = cost; 892 args["COST"] = cost;
893 args["CURRENCY"] = gHippoGridManager->getConnectedGrid()->getCurrencySymbol();
890 args["PARCEL_NAME"] = parcel_name; 894 args["PARCEL_NAME"] = parcel_name;
891 args["TIME"] = time; 895 args["TIME"] = time;
892 896
@@ -2068,6 +2072,7 @@ void LLPanelLandOptions::refreshSearch()
2068 } 2072 }
2069 BOOL show_directory = parcel->getParcelFlag(PF_SHOW_DIRECTORY); 2073 BOOL show_directory = parcel->getParcelFlag(PF_SHOW_DIRECTORY);
2070 mCheckShowDirectory ->set(show_directory); 2074 mCheckShowDirectory ->set(show_directory);
2075 mCheckShowDirectory->setLabelArg("[DIRECTORYFEE]", gHippoGridManager->getConnectedGrid()->getDirectoryFee());
2071 2076
2072 // Set by string in case the order in UI doesn't match the order by index. 2077 // Set by string in case the order in UI doesn't match the order by index.
2073 // *TODO:Translate 2078 // *TODO:Translate
@@ -2435,6 +2440,7 @@ void LLPanelLandAccess::refresh()
2435 2440
2436 S32 pass_price = parcel->getPassPrice(); 2441 S32 pass_price = parcel->getPassPrice();
2437 childSetValue( "PriceSpin", (F32)pass_price ); 2442 childSetValue( "PriceSpin", (F32)pass_price );
2443 childSetLabelArg("PriceSpin", "[CURRENCY]", gHippoGridManager->getConnectedGrid()->getCurrencySymbol());
2438 2444
2439 F32 pass_hours = parcel->getPassHours(); 2445 F32 pass_hours = parcel->getPassHours();
2440 childSetValue( "HoursSpin", pass_hours ); 2446 childSetValue( "HoursSpin", pass_hours );