add missing i18n message to invites
This commit is contained in:
parent
c6d8e4c098
commit
1bff9845ae
2 changed files with 13 additions and 12 deletions
|
@ -45,9 +45,7 @@
|
||||||
"Download": "Download",
|
"Download": "Download",
|
||||||
"Content": "Content",
|
"Content": "Content",
|
||||||
"What are you publishing?": "What are you publishing?",
|
"What are you publishing?": "What are you publishing?",
|
||||||
"Read our": "Read our",
|
|
||||||
"FAQ": "FAQ",
|
"FAQ": "FAQ",
|
||||||
"to learn more.": "to learn more.",
|
|
||||||
"Title": "Title",
|
"Title": "Title",
|
||||||
"Titular Title": "Titular Title",
|
"Titular Title": "Titular Title",
|
||||||
"Description": "Description",
|
"Description": "Description",
|
||||||
|
@ -113,10 +111,6 @@
|
||||||
"Invite a Friend": "Invite a Friend",
|
"Invite a Friend": "Invite a Friend",
|
||||||
"When your friends start using LBRY, the network gets stronger!": "When your friends start using LBRY, the network gets stronger!",
|
"When your friends start using LBRY, the network gets stronger!": "When your friends start using LBRY, the network gets stronger!",
|
||||||
"Or share this link with your friends": "Or share this link with your friends",
|
"Or share this link with your friends": "Or share this link with your friends",
|
||||||
"Earn": "Earn",
|
|
||||||
"rewards": "rewards",
|
|
||||||
"for inviting your friends.": "for inviting your friends.",
|
|
||||||
"to learn more about referrals": "to learn more about referrals",
|
|
||||||
"Power To The People": "Power To The People",
|
"Power To The People": "Power To The People",
|
||||||
"LBRY is powered by the users. More users, more power… and with great power comes great responsibility.": "LBRY is powered by the users. More users, more power… and with great power comes great responsibility.",
|
"LBRY is powered by the users. More users, more power… and with great power comes great responsibility.": "LBRY is powered by the users. More users, more power… and with great power comes great responsibility.",
|
||||||
"Checking your invite status": "Checking your invite status",
|
"Checking your invite status": "Checking your invite status",
|
||||||
|
@ -947,5 +941,6 @@
|
||||||
"Sign In to lbry.tv to Earn Rewards": "Sign In to lbry.tv to Earn Rewards",
|
"Sign In to lbry.tv to Earn Rewards": "Sign In to lbry.tv to Earn Rewards",
|
||||||
"Unlock Rewards": "Unlock Rewards",
|
"Unlock Rewards": "Unlock Rewards",
|
||||||
"A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.": "A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.",
|
"A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.": "A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.",
|
||||||
"Deposit cannot be higher than your balance": "Deposit cannot be higher than your balance"
|
"Deposit cannot be higher than your balance": "Deposit cannot be higher than your balance",
|
||||||
}
|
"Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about referrals.": "Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about referrals."
|
||||||
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@ import Button from 'component/button';
|
||||||
import { Form, FormField } from 'component/common/form';
|
import { Form, FormField } from 'component/common/form';
|
||||||
import CopyableText from 'component/copyableText';
|
import CopyableText from 'component/copyableText';
|
||||||
import Card from 'component/common/card';
|
import Card from 'component/common/card';
|
||||||
|
import I18nMessage from 'component/i18nMessage';
|
||||||
|
|
||||||
type FormState = {
|
type FormState = {
|
||||||
email: string,
|
email: string,
|
||||||
|
@ -66,10 +67,15 @@ class InviteNew extends React.PureComponent<Props, FormState> {
|
||||||
<CopyableText label={__('Or share this link with your friends')} copyable={referralLink} />
|
<CopyableText label={__('Or share this link with your friends')} copyable={referralLink} />
|
||||||
|
|
||||||
<p className="help">
|
<p className="help">
|
||||||
{__('Earn')} <Button button="link" navigate="/$/rewards" label={__('rewards')} />{' '}
|
<I18nMessage
|
||||||
{__('for inviting your friends.')} {__('Read our')}{' '}
|
tokens={{
|
||||||
<Button button="link" label={__('FAQ')} href="https://lbry.com/faq/referrals" />{' '}
|
rewards_link: <Button button="link" navigate="/$/rewards" label={__('rewards')} />,
|
||||||
{__('to learn more about referrals')}.
|
referral_faq_link: <Button button="link" label={__('FAQ')} href="https://lbry.com/faq/referrals" />,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about
|
||||||
|
referrals.
|
||||||
|
</I18nMessage>
|
||||||
</p>
|
</p>
|
||||||
</Form>
|
</Form>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|
Loading…
Add table
Reference in a new issue