tidy
parent
1c44f15d2d
commit
aa25bad689
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue