diff options
author | James Cook <james@lindenlab.com> | 2010-04-07 16:18:28 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-04-07 16:18:28 -0700 |
commit | adcee4486b1ff7e3d60e3cd608172b15525242bc (patch) | |
tree | 0a691795f00bb98619017e43c7cf3ca6e1e5827a /indra/newview | |
parent | 99f5307543e03e296edf2d9d9c0b26d38d56d034 (diff) |
Added debug info to "you paid" messages for testing MoneyBalanceReply
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llassetuploadresponders.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llviewermessage.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llassetuploadresponders.cpp b/indra/newview/llassetuploadresponders.cpp index 8441796219..8e8be842ef 100644 --- a/indra/newview/llassetuploadresponders.cpp +++ b/indra/newview/llassetuploadresponders.cpp @@ -234,7 +234,7 @@ void LLNewAgentInventoryResponder::uploadComplete(const LLSD& content) LLStatusBar::sendMoneyBalanceRequest(); LLSD args; - args["AMOUNT"] = llformat("%d", expected_upload_cost); + args["AMOUNT"] = llformat("%d", expected_upload_cost) + std::string(" JAMESDEBUG 1101"); // JAMESDEBUG LLNotificationsUtil::add("UploadPayment", args); } diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 8f68c34736..9cecf1fcca 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -4671,7 +4671,7 @@ void process_money_balance_reply( LLMessageSystem* msg, void** ) // "<avatar name> paid you L$" const std::string marker = "paid you L$"; - args["MESSAGE"] = desc + item_description; // JAMESDEBUG + args["MESSAGE"] = desc + llformat(" JAMESDEBUG %d", transaction_type); // JAMESDEBUG; // extract avatar name from system message S32 marker_pos = desc.find(marker, 0); @@ -4697,7 +4697,7 @@ void process_money_balance_reply( LLMessageSystem* msg, void** ) std::string new_description = LLTrans::getString("paid_you_ldollars", str_args); - args["MESSAGE"] = new_description; + args["MESSAGE"] = new_description + llformat(" JAMESDEBUG %d", transaction_type); // JAMESDEBUG args["NAME"] = LLCacheName::cleanFullName(name); LLSD payload; payload["from_id"] = from_id; @@ -4757,7 +4757,7 @@ void process_money_balance_reply( LLMessageSystem* msg, void** ) // forming final message string by retrieving localized version from xml // and applying previously found arguments line = LLTrans::getString(line, str_args); - args["MESSAGE"] = line; + args["MESSAGE"] = line + llformat(" JAMESDEBUG %d", transaction_type); // JAMESDEBUG; } } |