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