summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofile.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-27 20:20:56 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-27 20:20:56 +0300
commitd35ef7e5d8f3968479543819501bd201e6321355 (patch)
treeedc4b0966b95174a7f95c0a0eb136a39ef6c9ed5 /indra/newview/llpanelprofile.cpp
parent7d3750c15bde9527e182513124cfd72818c1a282 (diff)
SL-19924 Update profile type names
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rw-r--r--indra/newview/llpanelprofile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp
index 34e1fd09d8..8ac1efe8e7 100644
--- a/indra/newview/llpanelprofile.cpp
+++ b/indra/newview/llpanelprofile.cpp
@@ -1295,14 +1295,14 @@ void LLPanelProfileSecondLife::fillAccountStatus(const LLAvatarData* avatar_data
childSetVisible("badge_layout", TRUE);
childSetVisible("partner_spacer_layout", FALSE);
}
- else if (customer_lower == "premium_lifetime")
+ else if (customer_lower == "secondlifetime_premium")
{
- getChild<LLUICtrl>("badge_icon")->setValue("Profile_Premium_Lifetime");
+ getChild<LLUICtrl>("badge_icon")->setValue("Profile_Badge_Premium_Lifetime");
getChild<LLUICtrl>("badge_text")->setValue(getString("BadgePremiumLifetime"));
childSetVisible("badge_layout", TRUE);
childSetVisible("partner_spacer_layout", FALSE);
}
- else if (customer_lower == "pplus_lifetime" || customer_lower == "premium_plus_lifetime")
+ else if (customer_lower == "secondlifetime_premium_plus")
{
getChild<LLUICtrl>("badge_icon")->setValue("Profile_Badge_Pplus_Lifetime");
getChild<LLUICtrl>("badge_text")->setValue(getString("BadgePremiumPlusLifetime"));