add "Replying as {channel}" to reply input label for comments

This commit is contained in:
Sean Yesmunt 2020-03-20 16:08:41 -04:00
parent 8f5ac8263d
commit b6cd67dbd5
2 changed files with 6 additions and 1 deletions

View file

@ -99,7 +99,7 @@ export function CommentCreate(props: Props) {
disabled={channel === CHANNEL_NEW}
type="textarea"
name="content_description"
label={__('Comment')}
label={isReply ? __('Replying as %reply_channel%', { reply_channel: channel }) : __('Comment')}
onFocus={onTextareaFocus}
placeholder={__('Say something about this...')}
value={commentValue}

View file

@ -119,6 +119,11 @@ a {
-webkit-user-drag: none;
}
img {
// Hide alt text when an image fails to load
text-indent: -9999px;
}
.columns {
display: flex;
justify-content: space-between;