FIRE-17715: Make "online" suffix in calling card folder localizable

meow-7.2.2
Ansariel 2016-01-24 11:21:46 +01:00
parent 8e44cc14d7
commit c4ae23be88
3 changed files with 8 additions and 1 deletions

View File

@ -6026,7 +6026,10 @@ std::string LLCallingCardBridge::getLabelSuffix() const
LLViewerInventoryItem* item = getItem();
if( item && LLAvatarTracker::instance().isBuddyOnline(item->getCreatorUUID()) )
{
return LLItemBridge::getLabelSuffix() + " (online)";
// <FS:Ansariel> FIRE-17715: Make "online" suffix in calling card folder localizable
//return LLItemBridge::getLabelSuffix() + " (online)";
return LLItemBridge::getLabelSuffix() + " " + LLTrans::getString("CallingCardOnlineLabelSuffix");
// </FS:Ansariel>
}
else
{

View File

@ -6563,4 +6563,7 @@ Setzen Sie den Editorpfad in Anführungszeichen
<string name="InvOfferGroupNoticeName">
Ein Gruppenmitglied namens [NAME]
</string>
<string name="CallingCardOnlineLabelSuffix">
(online)
</string>
</strings>

View File

@ -2938,4 +2938,5 @@ Try enclosing path to the editor with double quotes.
<string name="Worn Items">Worn Items</string>
<string name="InvOfferGroupNoticeName">A group member named [NAME]</string>
<string name="CallingCardOnlineLabelSuffix">(online)</string>
</strings>