From 2dd3b39e7e9d984d0a25fe995ea198403b385ff4 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 22 Sep 2020 14:21:07 -0500 Subject: [PATCH] Chats: add label to send button --- app/soapbox/features/chats/components/chat_box.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/soapbox/features/chats/components/chat_box.js b/app/soapbox/features/chats/components/chat_box.js index cded7fd70..2a0b72e89 100644 --- a/app/soapbox/features/chats/components/chat_box.js +++ b/app/soapbox/features/chats/components/chat_box.js @@ -18,6 +18,7 @@ import IconButton from 'soapbox/components/icon_button'; const messages = defineMessages({ placeholder: { id: 'chat_box.input.placeholder', defaultMessage: 'Send a messageā€¦' }, + send: { id: 'chat_box.actions.send', defaultMessage: 'Send' }, }); const mapStateToProps = (state, { chatId }) => ({ @@ -164,11 +165,17 @@ class ChatBox extends ImmutablePureComponent { } renderActionButton = () => { + const { intl } = this.props; const { resetFileKey } = this.state; return this.canSubmit() ? (
- +
) : (