update invitee modal copy

This commit is contained in:
Jeremy Kauffman 2020-01-14 11:53:48 -05:00 committed by Sean Yesmunt
parent 27790e7c5a
commit abba90ccfd

View file

@ -42,14 +42,14 @@ class ModalSetReferrer extends React.PureComponent<Props, State> {
return ( return (
<Modal <Modal
isOpen isOpen
title={__('Enter Referrer')} title={__('Enter Invitee')}
contentLabel={__('Enter Referrer')} contentLabel={__('Enter Invitee')}
type="custom" type="custom"
onAborted={closeModal} onAborted={closeModal}
> >
<Form onSubmit={this.handleSubmit}> <Form onSubmit={this.handleSubmit}>
<p> <p>
{__('Tell us who referred you and get a reward!')} {__('Did someone invite you to use lbry.tv? Tell us who and you both get a reward!')}
<HelpLink href="https://lbry.com/faq/referrals" />. <HelpLink href="https://lbry.com/faq/referrals" />.
</p> </p>
<FormField <FormField
@ -59,7 +59,7 @@ class ModalSetReferrer extends React.PureComponent<Props, State> {
inputButton={ inputButton={
<Button button="primary" type="submit" disabled={!referrer || rewardIsPending} label={__('Set')} /> <Button button="primary" type="submit" disabled={!referrer || rewardIsPending} label={__('Set')} />
} }
label={__('Code')} label={__('Code or channel')}
placeholder="0123abc" placeholder="0123abc"
value={referrer} value={referrer}
onChange={e => this.setState({ referrer: e.target.value })} onChange={e => this.setState({ referrer: e.target.value })}
@ -67,7 +67,7 @@ class ModalSetReferrer extends React.PureComponent<Props, State> {
</Form> </Form>
<div className="card__actions"> <div className="card__actions">
<Button button="primary" label={__('Done')} onClick={closeModal} /> <Button button="primary" label={__('Done')} onClick={closeModal} />
<Button button="link" label={__('Cancel')} onClick={closeModal} /> <Button button="link" label={__('Close')} onClick={closeModal} />
</div> </div>
</Modal> </Modal>
); );