diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 9d06853..770384a 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -225,6 +225,7 @@ | |||
225 | #include "jcfloater_animation_list.h" | 225 | #include "jcfloater_animation_list.h" |
226 | #include "llfloaterassetbrowser.h" | 226 | #include "llfloaterassetbrowser.h" |
227 | 227 | ||
228 | #include "hippoGridManager.h" | ||
228 | #include "hippoLimits.h" | 229 | #include "hippoLimits.h" |
229 | 230 | ||
230 | using namespace LLVOAvatarDefines; | 231 | using namespace LLVOAvatarDefines; |
@@ -665,12 +666,14 @@ void init_menus() | |||
665 | LLViewerLogin::getInstance()->isInProductionGrid()); | 666 | LLViewerLogin::getInstance()->isInProductionGrid()); |
666 | 667 | ||
667 | // Assume L$10 for now, the server will tell us the real cost at login | 668 | // Assume L$10 for now, the server will tell us the real cost at login |
668 | const std::string upload_cost("10"); | 669 | std::string fee = gHippoGridManager->getConnectedGrid()->getCurrencySymbol() + "10"; |
669 | gMenuHolder->childSetLabelArg("Upload Image", "[COST]", upload_cost); | 670 | gMenuHolder->childSetLabelArg("Upload Image", "[UPLOADFEE]", fee); |
670 | gMenuHolder->childSetLabelArg("Upload Sound", "[COST]", upload_cost); | 671 | gMenuHolder->childSetLabelArg("Upload Sound", "[UPLOADFEE]", fee); |
671 | gMenuHolder->childSetLabelArg("Upload Animation", "[COST]", upload_cost); | 672 | gMenuHolder->childSetLabelArg("Upload Animation", "[UPLOADFEE]", fee); |
672 | gMenuHolder->childSetLabelArg("Bulk Upload", "[COST]", upload_cost); | 673 | gMenuHolder->childSetLabelArg("Bulk Upload", "[UPLOADFEE]", fee); |
673 | gMenuHolder->childSetLabelArg("ImportUpload", "[COST]", upload_cost); | 674 | gMenuHolder->childSetLabelArg("ImportUpload", "[UPLOADFEE]", fee); |
675 | gMenuHolder->childSetLabelArg("Buy and Sell L$...", "[CURRENCY]", | ||
676 | gHippoGridManager->getConnectedGrid()->getCurrencySymbol()); | ||
674 | 677 | ||
675 | gAFKMenu = gMenuBarView->getChild<LLMenuItemCallGL>("Set Away", TRUE); | 678 | gAFKMenu = gMenuBarView->getChild<LLMenuItemCallGL>("Set Away", TRUE); |
676 | gBusyMenu = gMenuBarView->getChild<LLMenuItemCallGL>("Set Busy", TRUE); | 679 | gBusyMenu = gMenuBarView->getChild<LLMenuItemCallGL>("Set Busy", TRUE); |