diff --git a/src/components/views/messages/MessageActionBar.tsx b/src/components/views/messages/MessageActionBar.tsx index cb906fc926..9ceed42038 100644 --- a/src/components/views/messages/MessageActionBar.tsx +++ b/src/components/views/messages/MessageActionBar.tsx @@ -43,6 +43,8 @@ import ReactionPicker from "../emojipicker/ReactionPicker"; import { CardContext } from '../right_panel/BaseCard'; import { showThread } from "../../../dispatcher/dispatch-actions/threads"; import { shouldDisplayReply } from '../../../utils/Reply'; +import { Key } from "../../../Keyboard"; +import { ALTERNATE_KEY_NAME } from "../../../accessibility/KeyboardShortcuts"; interface IOptionsButtonProps { mxEvent: MatrixEvent; @@ -382,9 +384,18 @@ export default class MessageActionBar extends React.PureComponent +
+ { this.props.isQuoteExpanded ? _t("Collapse quotes") : _t("Expand quotes") } +
+
+ { _t(ALTERNATE_KEY_NAME[Key.SHIFT]) + " + " + _t("Click") } +
+ ; toolbarOpts.push(); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 8a228a6acc..411169378b 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -2104,8 +2104,9 @@ "Edit": "Edit", "Reply in thread": "Reply in thread", "Reply": "Reply", - "Collapse quotes │ ⇧+click": "Collapse quotes │ ⇧+click", - "Expand quotes │ ⇧+click": "Expand quotes │ ⇧+click", + "Collapse quotes": "Collapse quotes", + "Expand quotes": "Expand quotes", + "Click": "Click", "Download %(text)s": "Download %(text)s", "Error decrypting attachment": "Error decrypting attachment", "Decrypt %(text)s": "Decrypt %(text)s",