From 628fb13f2add834d290542ee987b1a6e08066ae7 Mon Sep 17 00:00:00 2001 From: miko <34790748+keikari@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:43:44 +0200 Subject: [PATCH] "Mute" -> "Hide" (#3177) Co-authored-by: miko --- static/app-strings.json | 9 +++++++++ ui/component/channelMuteButton/view.jsx | 2 +- ui/component/claimMenuList/view.jsx | 19 ++++++++++--------- ui/component/commentMenuList/view.jsx | 4 ++-- ui/component/settingContent/view.jsx | 2 +- .../tabs/creatorSettingsTab/view.jsx | 2 +- .../internal/channelPage/view.jsx | 4 ++-- ui/page/listBlocked/view.jsx | 8 ++++---- ui/page/settingsCreator/view.jsx | 2 +- 9 files changed, 31 insertions(+), 21 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index ef6f849f84..d348557f5b 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -439,6 +439,13 @@ "Missing 'claimId' parameter.": "Missing 'claimId' parameter.", "View Tag": "View Tag", "Hide": "Hide", + "Unhide": "Unhide", + "Hide Channel": "Hide Channel", + "Unhide Channel": "Unhide Channel", + "Blocked and hidden channels": "Blocked and hidden channels", + "Moderators can block channels on your behalf. Blocked channels will appear in your \"Blocked and Hidden\" list.": "Moderators can block channels on your behalf. Blocked channels will appear in your \"Blocked and Hidden\" list.", + "Hidden channels will be invisible to you in the app. They will not know they are hidden and can still interact with you and your content.": "Hidden channels will be invisible to you in the app. They will not know they are hidden and can still interact with you and your content.", + "You do not have any hidden channels": "You do not have any hidden channels", "Close": "Close", "You have blocked this channel content.": "You have blocked this channel content.", "Network and data settings": "Network and data settings", @@ -1707,8 +1714,10 @@ "Muted channels will be invisible to you in the app. They will not know they are muted and can still interact with you and your content.": "Muted channels will be invisible to you in the app. They will not know they are muted and can still interact with you and your content.", "List of channels that you have blocked as a moderator, along with the list of delegators.": "List of channels that you have blocked as a moderator, along with the list of delegators.", "This is the global block list.": "This is the global block list.", + "This channel is hidden": "This channel is hidden", "This channel is blocked": "This channel is blocked", "This channel is muted": "This channel is muted", + "Are you sure you want to view this content? Viewing will not unhide @%channel%": "Are you sure you want to view this content? Viewing will not unhide @%channel%", "Are you sure you want to view this content? Viewing will not unblock @%channel%": "Are you sure you want to view this content? Viewing will not unblock @%channel%", "Are you sure you want to view this content? Viewing will not unmute @%channel%": "Are you sure you want to view this content? Viewing will not unmute @%channel%", "View Content": "View Content", diff --git a/ui/component/channelMuteButton/view.jsx b/ui/component/channelMuteButton/view.jsx index b996bf05b3..dd38c64175 100644 --- a/ui/component/channelMuteButton/view.jsx +++ b/ui/component/channelMuteButton/view.jsx @@ -21,7 +21,7 @@ function ChannelMuteButton(props: Props) { } } - return