aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory/lltransactionflags.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llinventory/lltransactionflags.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/llinventory/lltransactionflags.cpp b/linden/indra/llinventory/lltransactionflags.cpp
index e0f87aa..aaea161 100644
--- a/linden/indra/llinventory/lltransactionflags.cpp
+++ b/linden/indra/llinventory/lltransactionflags.cpp
@@ -36,7 +36,9 @@
36#include "lluuid.h" 36#include "lluuid.h"
37#include "lltransactionflags.h" 37#include "lltransactionflags.h"
38#include "lltransactiontypes.h" 38#include "lltransactiontypes.h"
39 39
40#include "../newview/hippoGridManager.h"
41
40const U8 TRANSACTION_FLAGS_NONE = 0; 42const U8 TRANSACTION_FLAGS_NONE = 0;
41const U8 TRANSACTION_FLAG_SOURCE_GROUP = 1; 43const U8 TRANSACTION_FLAG_SOURCE_GROUP = 1;
42const U8 TRANSACTION_FLAG_DEST_GROUP = 2; 44const U8 TRANSACTION_FLAG_DEST_GROUP = 2;
@@ -114,7 +116,7 @@ std::string build_transfer_message_to_source(
114 std::ostringstream ostr; 116 std::ostringstream ostr;
115 if(dest_id.isNull()) 117 if(dest_id.isNull())
116 { 118 {
117 ostr << "You paid L$" << amount; 119 ostr << "You paid " << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() << amount;
118 switch(transaction_type) 120 switch(transaction_type)
119 { 121 {
120 case TRANS_GROUP_CREATE: 122 case TRANS_GROUP_CREATE:
@@ -132,7 +134,7 @@ std::string build_transfer_message_to_source(
132 } 134 }
133 else 135 else
134 { 136 {
135 ostr << "You paid " << dest_name << " L$" << amount; 137 ostr << "You paid " << dest_name << ' ' << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() << amount;
136 append_reason(ostr, transaction_type, description); 138 append_reason(ostr, transaction_type, description);
137 } 139 }
138 ostr << "."; 140 ostr << ".";
@@ -160,7 +162,7 @@ std::string build_transfer_message_to_destination(
160 return description; 162 return description;
161 } 163 }
162 std::ostringstream ostr; 164 std::ostringstream ostr;
163 ostr << source_name << " paid you L$" << amount; 165 ostr << source_name << " paid you " << gHippoGridManager->getConnectedGrid()->getCurrencySymbol() << amount;
164 append_reason(ostr, transaction_type, description); 166 append_reason(ostr, transaction_type, description);
165 ostr << "."; 167 ostr << ".";
166 return ostr.str(); 168 return ostr.str();