From a5714608711c8a0bc88b2f75b40535ffa0e8e13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 15 Sep 2021 15:30:23 +0200 Subject: [PATCH] Use a universal copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/right_panel/UserInfo.tsx | 2 +- src/i18n/strings/en_EN.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index c7ed550c1b..f1807985ae 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -429,7 +429,7 @@ const UserOptionsSection: React.FC<{ if (!isMe) { directMessageButton = ( { openDMForUser(cli, member.userId); }} className="mx_UserInfo_field"> - { findDMForUser(cli, member.userId) ? _t("Open chat") : _t('Direct message') } + { _t("Message") } ); } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 143b86eb66..9c8bb513b9 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1839,8 +1839,7 @@ "Mention": "Mention", "Invite": "Invite", "Share Link to User": "Share Link to User", - "Open chat": "Open chat", - "Direct message": "Direct message", + "Message": "Message", "Demote yourself?": "Demote yourself?", "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the space it will be impossible to regain privileges.": "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the space it will be impossible to regain privileges.", "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.": "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.",