diff --git a/static/app-strings.json b/static/app-strings.json index dfe3625d7..b22f52782 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1029,11 +1029,6 @@ "Your video has a bitrate over 6 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 6 mbps. We suggest transcoding to provide viewers the best experience.", "Your video has a bitrate over 5 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 5 mbps. We suggest transcoding to provide viewers the best experience.", "Almost there": "Almost there", - "Comment Acknowledgement": "Comment Acknowledgement", - "A few things to know before making your comment:": "A few things to know before making your comment:", - "Commenting is in alpha. During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.": "Commenting is in alpha. During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.", - "Deleting or editing comments is not currently possible. Please be mindful of this when posting.": "Deleting or editing comments is not currently possible. Please be mindful of this when posting.", - "When the alpha ends, we will attempt to transition comments, but do not promise to do so.": "When the alpha ends, we will attempt to transition comments, but do not promise to do so.", "More Channels": "More Channels", "Known Tags": "Known Tags", "You aren’t blocking any channels": "You aren’t blocking any channels", @@ -1063,5 +1058,12 @@ "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions%": "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions%", "rename your existing wallet": "rename your existing wallet", "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions% in the lbry/wallets directory": "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions% in the lbry/wallets directory", - "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions% in the lbry/wallets directory.": "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions% in the lbry/wallets directory." -} + "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions% in the lbry/wallets directory.": "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions% in the lbry/wallets directory.", + "Your wallet": "Your wallet", + "Publish a file, or create a channel": "Publish a file, or create a channel", + "Your account": "Your account", + "Creator Analytics": "Creator Analytics", + "Channel profile picture": "Channel profile picture", + "(%count%)": "(%count%)", + "Reposts of %uri%": "Reposts of %uri%" +} \ No newline at end of file diff --git a/ui/component/comment/view.jsx b/ui/component/comment/view.jsx index 9544d95be..24daa48b5 100644 --- a/ui/component/comment/view.jsx +++ b/ui/component/comment/view.jsx @@ -10,7 +10,7 @@ import { Menu, MenuList, MenuButton, MenuItem } from '@reach/menu-button'; import Icon from 'component/common/icon'; import * as ICONS from 'constants/icons'; import { FormField, Form } from 'component/common/form'; -import CommentReply from '../commentReply/index'; +import CommentCreate from 'component/commentCreate'; import classnames from 'classnames'; type Props = { @@ -161,16 +161,15 @@ function Comment(props: Props) { /> - - {__('Edit')} - - - {__('Delete')} - - {parentId === null ? ( - - {__('Reply')} - + {commentIsMine ? ( + + + {__('Edit')} + + + {__('Delete')} + + ) : ( '' )} @@ -212,7 +211,21 @@ function Comment(props: Props) { )} -
{isReplying ? : ''}
+ {!parentId && ( +