From 37f18abb263eb9ec1ecd1148c44b323960cd9ded Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 31 Aug 2020 12:28:28 -0400 Subject: [PATCH] copy --- static/app-strings.json | 2 +- ui/component/commentCreate/view.jsx | 7 +------ ui/component/commentsList/view.jsx | 8 +++++++- ui/component/common/form-components/form-field.jsx | 12 +++++++----- ui/component/userChannelFollowIntro/view.jsx | 2 +- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 5e34df9a3..8f21e7390 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -836,7 +836,7 @@ "Are you sure? Type %name% to confirm that you wish to delete the channel.": "Are you sure? Type %name% to confirm that you wish to delete the channel.", "You're about to permanently delete a channel. Content published under this channel will be orphaned and their signing channel invalid. Content sync programs using this channel will fail.": "You're about to permanently delete a channel. Content published under this channel will be orphaned and their signing channel invalid. Content sync programs using this channel will fail.", "You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.": "You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.", - "LBRY works better if you find and follow at least 5 creators you like. You can also block channels you never want to see.": "LBRY works better if you find and follow at least 5 creators you like. You can also block channels you never want to see.", + "LBRY works better if you find and follow a couple creators you like. You can also block channels you never want to see.": "LBRY works better if you find and follow a couple creators you like. You can also block channels you never want to see.", "Nice! You are currently following %followingCount% creator": "Nice! You are currently following %followingCount% creator", "Nice! You are currently following %followingCount% creators": "Nice! You are currently following %followingCount% creators", "You will receive notifications related to new content.": "You will receive notifications related to new content.", diff --git a/ui/component/commentCreate/view.jsx b/ui/component/commentCreate/view.jsx index 32294f60c..ca5705779 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -91,12 +91,7 @@ export function CommentCreate(props: Props) { if (!hasChannels) { return (
push(`/$/${PAGES.CHANNEL_NEW}`)}> - +
); } diff --git a/ui/component/commentsList/view.jsx b/ui/component/commentsList/view.jsx index b97b6206d..5720305db 100644 --- a/ui/component/commentsList/view.jsx +++ b/ui/component/commentsList/view.jsx @@ -80,7 +80,13 @@ function CommentList(props: Props) { return ( {__('Comments')}} + title={ + totalComments > 0 + ? totalComments === 1 + ? __('1 comment') + : __('%total_comments% comments', { total_comments: totalComments }) + : __('Leave a comment') + } actions={ <> diff --git a/ui/component/common/form-components/form-field.jsx b/ui/component/common/form-components/form-field.jsx index 913614cc6..a92ee35bc 100644 --- a/ui/component/common/form-components/form-field.jsx +++ b/ui/component/common/form-components/form-field.jsx @@ -209,12 +209,14 @@ export class FormField extends React.PureComponent { ); input = ( -
-
- + {(label || quickAction) && ( +
+
+ +
+ {quickAction}
- {quickAction} -
+ )}