diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index 4f9f812d6..7c1e83ada 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -5,6 +5,7 @@ - Added an option to select alternating background color for chat messages - Fixed an issue with tab auto-completion on Kick - Fixed emote tile width in emote menu +- Fixed "hidden subscription status" message in the User Card ### 3.0.15.1000 diff --git a/locale/en_US.yaml b/locale/en_US.yaml index f8e220020..d1dc606a5 100644 --- a/locale/en_US.yaml +++ b/locale/en_US.yaml @@ -19,6 +19,7 @@ user_card: subscription_tier: Tier {tier} subscription_length: Subscribed for {length} months previously_subscription_length: Previously subscribed for {length} months + hidden_subscription_status: Status hidden native: Open Native User Card no_messages: "{user} has not chatted here" no_timeouts: "{user} hasn't been timed out before" diff --git a/src/app/chat/UserCard.vue b/src/app/chat/UserCard.vue index 436e3665e..f1e8c765a 100644 --- a/src/app/chat/UserCard.vue +++ b/src/app/chat/UserCard.vue @@ -52,10 +52,14 @@

{{ - `${t("user_card.subscription_tier", { - tier: data.targetUser.relationship.subscription.tier[0], - })} - - ${t("user_card.subscription_length", { length: data.targetUser.relationship.subscription.months })}` + data.targetUser.relationship.subscription.months + ? `${t("user_card.subscription_tier", { + tier: data.targetUser.relationship.subscription.tier[0], + })} - + ${t("user_card.subscription_length", { + length: data.targetUser.relationship.subscription.months, + })}` + : `${t("user_card.hidden_subscription_status")}` }}