pull/21833/head
Michael Telatynski 2020-09-16 14:57:46 +01:00
parent 1c44f15d2d
commit aa25bad689
1 changed files with 25 additions and 26 deletions

View File

@ -1120,11 +1120,8 @@ export default class InviteDialog extends React.PureComponent {
if (CommunityPrototypeStore.instance.getSelectedCommunityId()) {
const communityName = CommunityPrototypeStore.instance.getSelectedCommunityName();
helpText = <React.Fragment>
{ helpText } {_t(
"This won't invite them to %(communityName)s. To invite someone to %(communityName)s, " +
"click <a>here</a>",
const inviteText = _t("This won't invite them to %(communityName)s. " +
"To invite someone to %(communityName)s, click <a>here</a>",
{communityName}, {
userId: () => {
return (
@ -1143,7 +1140,9 @@ export default class InviteDialog extends React.PureComponent {
>{sub}</AccessibleButton>
);
},
})}
});
helpText = <React.Fragment>
{ helpText } {inviteText}
</React.Fragment>;
}
buttonText = _t("Go");