Localize the new Silent Accept/Decline messages
This commit is contained in:
@@ -1605,9 +1605,10 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD&
|
||||
|
||||
case -2: // decline silently
|
||||
{
|
||||
log_message = "You silently decline " + mDesc + " from " + mFromName + ".";
|
||||
chat.mText = log_message;
|
||||
LLFloaterChat::addChatHistory(chat);
|
||||
LLStringUtil::format_map_t args;
|
||||
args["[DESC]"] = mDesc;
|
||||
args["[NAME]"] = mFromName;
|
||||
LLFloaterChat::addChatHistory(LLTrans::getString("InvOfferDeclineSilent", args));
|
||||
}
|
||||
break;
|
||||
case -1: // accept silently
|
||||
@@ -1622,9 +1623,10 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD&
|
||||
{
|
||||
opener = open_agent_offer;
|
||||
}
|
||||
log_message = "You silently accept " + mDesc + " from " + mFromName + ".";
|
||||
chat.mText = log_message;
|
||||
LLFloaterChat::addChatHistory(chat);
|
||||
LLStringUtil::format_map_t args;
|
||||
args["[DESC]"] = mDesc;
|
||||
args["[NAME]"] = mFromName;
|
||||
LLFloaterChat::addChatHistory(LLTrans::getString("InvOfferAcceptSilent", args));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
@@ -3371,6 +3371,8 @@ The
|
||||
<string name="InvOfferOwnedByUnknownUser">owned by an unknown user</string>
|
||||
<string name="InvOfferGaveYou">gave you</string>
|
||||
<string name="InvOfferDecline">You decline [DESC] from [NAME].</string>
|
||||
<string name="InvOfferDeclineSilent">You silently decline [DESC] from [NAME].</string>
|
||||
<string name="InvOfferAcceptSilent">You silently accept [DESC] from [NAME].</string>
|
||||
|
||||
<!-- group money -->
|
||||
<string name="GroupMoneyTotal">Total</string>
|
||||
|
||||
Reference in New Issue
Block a user