From ef5dbb468d98d895ed052d2e8a9a13537a5c52e6 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Wed, 6 Mar 2024 18:33:36 -0500 Subject: [PATCH] Move people floater specific strings to people floater --- indra/newview/llpanelpeople.cpp | 4 ++-- indra/newview/skins/default/xui/en/panel_people.xml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp index aa713387b01..945a4a400c2 100644 --- a/indra/newview/llpanelpeople.cpp +++ b/indra/newview/llpanelpeople.cpp @@ -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); } diff --git a/indra/newview/skins/default/xui/en/panel_people.xml b/indra/newview/skins/default/xui/en/panel_people.xml index 9bdd459c1d5..4a12546d5ce 100644 --- a/indra/newview/skins/default/xui/en/panel_people.xml +++ b/indra/newview/skins/default/xui/en/panel_people.xml @@ -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" -- GitLab