Skip to content
Snippets Groups Projects
Commit ef5dbb46 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Move people floater specific strings to people floater

parent 61c1ea6b
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -788,7 +788,7 @@ void LLPanelPeople::updateAccordionTabTitles()
mOnlineFriendList->setDirty(true, !mOnlineFriendList->filterHasMatches());
LLStringUtil::format_map_t args_online;
args_online["[COUNT]"] = llformat("%d", mOnlineFriendList->size());
std::string online_title = LLTrans::getString("online_friends_count", args_online);
std::string online_title = getString("online_friends_count", args_online);
mAccordionOnlineTab->setTitle(online_title);
}
......@@ -798,7 +798,7 @@ void LLPanelPeople::updateAccordionTabTitles()
mAllFriendList->setDirty(true, !mAllFriendList->filterHasMatches());
LLStringUtil::format_map_t args_all;
args_all["[COUNT]"] = llformat("%d", mAllFriendList->size());
std::string all_title = LLTrans::getString("all_friends_count", args_all);
std::string all_title = getString("all_friends_count", args_all);
mAccordionAllTab->setTitle(all_title);
}
......
......@@ -58,6 +58,8 @@ Learn about [https://community.secondlife.com/knowledgebase/joining-and-particip
<string
name="GroupCountWithInfo"
value="You belong to [COUNT] groups, and can join [REMAINING] more. [secondlife:/// Raise your limit]"/>
<string name="online_friends_count">Online ([COUNT])</string>
<string name="all_friends_count">All ([COUNT])</string>
<tab_container
bottom="-10"
follows="all"
......@@ -187,7 +189,7 @@ Learn about [https://community.secondlife.com/knowledgebase/joining-and-particip
<layout_stack
clip="false"
follows="all"
height="410"
height="394"
layout="topleft"
left="0"
mouse_opaque="false"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment