diff options
Diffstat (limited to 'linden/indra/newview/llhoverview.cpp')
-rw-r--r-- | linden/indra/newview/llhoverview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llhoverview.cpp b/linden/indra/newview/llhoverview.cpp index 44ef594..5d59818 100644 --- a/linden/indra/newview/llhoverview.cpp +++ b/linden/indra/newview/llhoverview.cpp | |||
@@ -72,6 +72,8 @@ | |||
72 | #include "llhudmanager.h" // For testing effects | 72 | #include "llhudmanager.h" // For testing effects |
73 | #include "llhudeffect.h" | 73 | #include "llhudeffect.h" |
74 | 74 | ||
75 | #include "hippoGridManager.h" | ||
76 | |||
75 | // | 77 | // |
76 | // Constants | 78 | // Constants |
77 | // | 79 | // |
@@ -387,7 +389,7 @@ void LLHoverView::updateText() | |||
387 | 389 | ||
388 | if (object->flagTakesMoney() || (parent && parent->flagTakesMoney()) ) | 390 | if (object->flagTakesMoney() || (parent && parent->flagTakesMoney()) ) |
389 | { | 391 | { |
390 | line.append(LLTrans::getString("TooltipFlagL$") + " "); | 392 | line.append(gHippoGridManager->getConnectedGrid()->getCurrencySymbol() + " "); |
391 | suppressObjectHoverDisplay = FALSE; // Show tip | 393 | suppressObjectHoverDisplay = FALSE; // Show tip |
392 | } | 394 | } |
393 | 395 | ||
@@ -433,6 +435,7 @@ void LLHoverView::updateText() | |||
433 | else if (for_sale) | 435 | else if (for_sale) |
434 | { | 436 | { |
435 | LLStringUtil::format_map_t args; | 437 | LLStringUtil::format_map_t args; |
438 | args["[CURRENCY]"] = gHippoGridManager->getConnectedGrid()->getCurrencySymbol(); | ||
436 | args["[AMOUNT]"] = llformat("%d", nodep->mSaleInfo.getSalePrice()); | 439 | args["[AMOUNT]"] = llformat("%d", nodep->mSaleInfo.getSalePrice()); |
437 | line.append(LLTrans::getString("TooltipForSaleL$", args)); | 440 | line.append(LLTrans::getString("TooltipForSaleL$", args)); |
438 | suppressObjectHoverDisplay = FALSE; // Show tip | 441 | suppressObjectHoverDisplay = FALSE; // Show tip |
@@ -614,6 +617,7 @@ void LLHoverView::updateText() | |||
614 | if (hover_parcel && hover_parcel->getParcelFlag(PF_FOR_SALE)) | 617 | if (hover_parcel && hover_parcel->getParcelFlag(PF_FOR_SALE)) |
615 | { | 618 | { |
616 | LLStringUtil::format_map_t args; | 619 | LLStringUtil::format_map_t args; |
620 | args["[CURRENCY]"] = gHippoGridManager->getConnectedGrid()->getCurrencySymbol(); | ||
617 | args["[AMOUNT]"] = llformat("%d", hover_parcel->getSalePrice()); | 621 | args["[AMOUNT]"] = llformat("%d", hover_parcel->getSalePrice()); |
618 | line = LLTrans::getString("TooltipForSaleL$", args); | 622 | line = LLTrans::getString("TooltipForSaleL$", args); |
619 | mText.push_back(line); | 623 | mText.push_back(line); |