From dd7c56a32408a0e9ffc2569cda039ddd7c9f2392 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Fri, 1 Oct 2021 08:09:50 +0800 Subject: [PATCH] i18n - ChannelMention and other fixes --- static/app-strings.json | 11 +++++------ ui/modal/modalBlockChannel/view.jsx | 6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 4b962d857..36a82cd1a 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1756,12 +1756,8 @@ "Moderator": "Moderator", "Global Unblock Channel": "Global Unblock Channel", "Global Block Channel": "Global Block Channel", - "Moderator tools": "Moderator tools", - "Global Block": "Global Block", - "Block this channel as global admin": "Block this channel as global admin", - "Moderator Block": "Moderator Block", - "Block this channel on behalf of %creator%": "Block this channel on behalf of %creator%", - "creator": "creator", + "Block this channel on behalf of %creator%.": "Block this channel on behalf of %creator%.", + "Block this channel on behalf of the creator.": "Block this channel on behalf of the creator.", "Enter the timeout duration. Examples: %examples%": "Enter the timeout duration. Examples: %examples%", "Wow, banned for more than 100 years?": "Wow, banned for more than 100 years?", "Invalid duration.": "Invalid duration.", @@ -2180,5 +2176,8 @@ "Discuss": "Discuss", "lbry.tv has been retired. You have been magically transported to Odysee.com. %more%": "lbry.tv has been retired. You have been magically transported to Odysee.com. %more%", "Show more livestreams": "Show more livestreams", + "Creator": "Creator", + "From comments": "From comments", + "From search": "From search", "--end--": "--end--" } diff --git a/ui/modal/modalBlockChannel/view.jsx b/ui/modal/modalBlockChannel/view.jsx index c6cee77ef..934a6e1aa 100644 --- a/ui/modal/modalBlockChannel/view.jsx +++ b/ui/modal/modalBlockChannel/view.jsx @@ -153,9 +153,9 @@ export default function ModalBlockChannel(props: Props) { case TAB.MODERATOR: return (

- {__('Block this channel on behalf of %creator%', { - creator: contentChannelClaim ? contentChannelClaim.name : __('creator'), - })} + {contentChannelClaim + ? __('Block this channel on behalf of %creator%.', { creator: contentChannelClaim.name }) + : __('Block this channel on behalf of the creator.')}

); case TAB.ADMIN: