Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 510f08e

Browse files
committed
Update failed invites copy
1 parent d836ca1 commit 510f08e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/views/dialogs/InviteDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
673673
console.error(err);
674674
this.setState({
675675
busy: false,
676-
errorText: _t("We couldn't create your DM. Please check the users you want to invite and try again."),
676+
errorText: _t("We couldn't create your DM."),
677677
});
678678
});
679679
};

src/i18n/strings/en_EN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,7 @@
21842184
"Click the button below to confirm your identity.": "Click the button below to confirm your identity.",
21852185
"Invite by email": "Invite by email",
21862186
"Failed to invite the following users to chat: %(csvUsers)s": "Failed to invite the following users to chat: %(csvUsers)s",
2187-
"We couldn't create your DM. Please check the users you want to invite and try again.": "We couldn't create your DM. Please check the users you want to invite and try again.",
2187+
"We couldn't create your DM.": "We couldn't create your DM.",
21882188
"Something went wrong trying to invite the users.": "Something went wrong trying to invite the users.",
21892189
"We couldn't invite those users. Please check the users you want to invite and try again.": "We couldn't invite those users. Please check the users you want to invite and try again.",
21902190
"A call can only be transferred to a single user.": "A call can only be transferred to a single user.",

src/utils/MultiInviter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default class MultiInviter {
221221

222222
const AskInviteAnywayDialog = sdk.getComponent("dialogs.AskInviteAnywayDialog");
223223
console.log("Showing failed to invite dialog...");
224-
Modal.createTrackedDialog('Failed to invite the following users to the room', '', AskInviteAnywayDialog, {
224+
Modal.createTrackedDialog('Failed to invite', '', AskInviteAnywayDialog, {
225225
unknownProfileUsers: unknownProfileUsers.map(u => {return {userId: u, errorText: this.errors[u].errorText};}),
226226
onInviteAnyways: () => inviteUnknowns(),
227227
onGiveUp: () => {

0 commit comments

Comments
 (0)