diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelgrouplandmoney.cpp | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/linden/indra/newview/llpanelgrouplandmoney.cpp b/linden/indra/newview/llpanelgrouplandmoney.cpp index f69ea9f..bded59c 100644 --- a/linden/indra/newview/llpanelgrouplandmoney.cpp +++ b/linden/indra/newview/llpanelgrouplandmoney.cpp | |||
@@ -55,6 +55,8 @@ | |||
55 | #include "llfloaterworldmap.h" | 55 | #include "llfloaterworldmap.h" |
56 | #include "llviewermessage.h" | 56 | #include "llviewermessage.h" |
57 | 57 | ||
58 | #include "hippoGridManager.h" | ||
59 | |||
58 | //////////////////////////////////////////////////////////////////////////// | 60 | //////////////////////////////////////////////////////////////////////////// |
59 | 61 | ||
60 | class LLGroupMoneyTabEventHandler | 62 | class LLGroupMoneyTabEventHandler |
@@ -528,6 +530,9 @@ void LLPanelGroupLandMoney::activate() | |||
528 | mImplementationp->mBeenActivated = true; | 530 | mImplementationp->mBeenActivated = true; |
529 | } | 531 | } |
530 | 532 | ||
533 | setLabelArg("[CURRENCY]", gHippoGridManager->getConnectedGrid()->getCurrencySymbol()); | ||
534 | childSetTextArg("group_money_heading", "[CURRENCY]", gHippoGridManager->getConnectedGrid()->getCurrencySymbol()); | ||
535 | |||
531 | //fill in the max contribution | 536 | //fill in the max contribution |
532 | 537 | ||
533 | //This calculation is unfortunately based on | 538 | //This calculation is unfortunately based on |
@@ -779,7 +784,9 @@ void LLPanelGroupLandMoney::processPlacesReply(LLMessageSystem* msg, void**) | |||
779 | LLPanelGroupLandMoney* selfp = sGroupIDs.getIfThere(group_id); | 784 | LLPanelGroupLandMoney* selfp = sGroupIDs.getIfThere(group_id); |
780 | if(!selfp) | 785 | if(!selfp) |
781 | { | 786 | { |
782 | llinfos << "Group Panel Land L$ " << group_id << " no longer in existence." | 787 | llinfos << "Group Panel Land " |
788 | << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() | ||
789 | << ' ' << group_id << " no longer in existence." | ||
783 | << llendl; | 790 | << llendl; |
784 | return; | 791 | return; |
785 | } | 792 | } |
@@ -1116,7 +1123,9 @@ void LLPanelGroupLandMoney::processGroupAccountDetailsReply(LLMessageSystem* msg | |||
1116 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); | 1123 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); |
1117 | if (gAgent.getID() != agent_id) | 1124 | if (gAgent.getID() != agent_id) |
1118 | { | 1125 | { |
1119 | llwarns << "Got group L$ history reply for another agent!" << llendl; | 1126 | llwarns << "Got group " |
1127 | << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() | ||
1128 | << " history reply for another agent!" << llendl; | ||
1120 | return; | 1129 | return; |
1121 | } | 1130 | } |
1122 | 1131 | ||
@@ -1287,7 +1296,9 @@ void LLPanelGroupLandMoney::processGroupAccountTransactionsReply(LLMessageSystem | |||
1287 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); | 1296 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); |
1288 | if (gAgent.getID() != agent_id) | 1297 | if (gAgent.getID() != agent_id) |
1289 | { | 1298 | { |
1290 | llwarns << "Got group L$ history reply for another agent!" << llendl; | 1299 | llwarns << "Got group " |
1300 | << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() | ||
1301 | << " history reply for another agent!" << llendl; | ||
1291 | return; | 1302 | return; |
1292 | } | 1303 | } |
1293 | 1304 | ||
@@ -1428,7 +1439,9 @@ void LLGroupMoneyPlanningTabEventHandler::processReply(LLMessageSystem* msg, | |||
1428 | text.append("The next stipend day is "); | 1439 | text.append("The next stipend day is "); |
1429 | text.append(next_stipend_date); | 1440 | text.append(next_stipend_date); |
1430 | text.append("\n\n"); | 1441 | text.append("\n\n"); |
1431 | text.append(llformat("%-24sL$%6d\n", "Balance", balance )); | 1442 | text.append(llformat("%-24s%s%6d\n", "Balance", |
1443 | gHippoGridManager->getConnectedGrid()->getCurrencySymbol().c_str(), | ||
1444 | balance)); | ||
1432 | text.append(1, '\n'); | 1445 | text.append(1, '\n'); |
1433 | } | 1446 | } |
1434 | 1447 | ||
@@ -1458,7 +1471,9 @@ void LLPanelGroupLandMoney::processGroupAccountSummaryReply(LLMessageSystem* msg | |||
1458 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); | 1471 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); |
1459 | if (gAgent.getID() != agent_id) | 1472 | if (gAgent.getID() != agent_id) |
1460 | { | 1473 | { |
1461 | llwarns << "Got group L$ history reply for another agent!" << llendl; | 1474 | llwarns << "Got group " |
1475 | << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() | ||
1476 | << " history reply for another agent!" << llendl; | ||
1462 | return; | 1477 | return; |
1463 | } | 1478 | } |
1464 | 1479 | ||
@@ -1470,7 +1485,9 @@ void LLPanelGroupLandMoney::processGroupAccountSummaryReply(LLMessageSystem* msg | |||
1470 | self = LLGroupMoneyTabEventHandler::sInstanceIDs.getIfThere(request_id); | 1485 | self = LLGroupMoneyTabEventHandler::sInstanceIDs.getIfThere(request_id); |
1471 | if (!self) | 1486 | if (!self) |
1472 | { | 1487 | { |
1473 | llwarns << "GroupAccountSummary recieved for non-existent group L$ planning tab." << llendl; | 1488 | llwarns << "GroupAccountSummary recieved for non-existent group " |
1489 | << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() | ||
1490 | << " planning tab." << llendl; | ||
1474 | return; | 1491 | return; |
1475 | } | 1492 | } |
1476 | 1493 | ||