From 22c8df9f2309842708ea9b567d73f73017a9feb5 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Wed, 18 Mar 2020 21:08:37 +0000
Subject: [PATCH] Update DM invite copy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
src/components/views/dialogs/InviteDialog.js | 9 +++++----
src/i18n/strings/en_EN.json | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/components/views/dialogs/InviteDialog.js b/src/components/views/dialogs/InviteDialog.js
index d27a66165e..84ce69e174 100644
--- a/src/components/views/dialogs/InviteDialog.js
+++ b/src/components/views/dialogs/InviteDialog.js
@@ -1060,10 +1060,11 @@ export default class InviteDialog extends React.PureComponent {
title = _t("Direct Messages");
helpText = _t(
- "If you can't find someone, ask them for their username, share your " +
- "username (%(userId)s) or profile link.",
- {userId},
- {a: (sub) => {sub}},
+ "Start a conversation with someone using their name, username (like ) or email address.",
+ {},
+ {userId: () => {
+ return {userId};
+ }},
);
buttonText = _t("Go");
goButtonFn = this._startDm;
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index f8c8ad0200..2f800f8d21 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1584,7 +1584,7 @@
"Recent Conversations": "Recent Conversations",
"Suggestions": "Suggestions",
"Recently Direct Messaged": "Recently Direct Messaged",
- "If you can't find someone, ask them for their username, share your username (%(userId)s) or profile link.": "If you can't find someone, ask them for their username, share your username (%(userId)s) or profile link.",
+ "Start a conversation with someone using their name, username (like ) or email address.": "Start a conversation with someone using their name, username (like ) or email address.",
"Go": "Go",
"If you can't find someone, ask them for their username (e.g. @user:server.com) or share this room.": "If you can't find someone, ask them for their username (e.g. @user:server.com) or share this room.",
"You added a new session '%(displayName)s', which is requesting encryption keys.": "You added a new session '%(displayName)s', which is requesting encryption keys.",