copy changes

This commit is contained in:
Sean Yesmunt 2020-08-25 13:40:39 -04:00
parent b8430e34bf
commit 88fac1b30b
5 changed files with 10 additions and 13 deletions

View file

@ -508,7 +508,6 @@
"Follow New Tags": "Follow New Tags", "Follow New Tags": "Follow New Tags",
"Log In": "Log In", "Log In": "Log In",
"Go Back": "Go Back", "Go Back": "Go Back",
"Log In To LBRY": "Log In To LBRY",
"Create a new account or sign in.": "Create a new account or sign in.", "Create a new account or sign in.": "Create a new account or sign in.",
"Terms of Service": "Terms of Service", "Terms of Service": "Terms of Service",
"Learn More": "Learn More", "Learn More": "Learn More",
@ -597,7 +596,6 @@
"Sign Out": "Sign Out", "Sign Out": "Sign Out",
"Portuguese": "Portuguese", "Portuguese": "Portuguese",
"Follow more tags": "Follow more tags", "Follow more tags": "Follow more tags",
"Log In to LBRY": "Log In to LBRY",
"Check Your Email": "Check Your Email", "Check Your Email": "Check Your Email",
"Resend link": "Resend link", "Resend link": "Resend link",
"Sync your balance and preferences across devices.": "Sync your balance and preferences across devices.", "Sync your balance and preferences across devices.": "Sync your balance and preferences across devices.",
@ -766,7 +764,7 @@
"Get The App": "Get The App", "Get The App": "Get The App",
"You need more credits to purchase this.": "You need more credits to purchase this.", "You need more credits to purchase this.": "You need more credits to purchase this.",
"Open Rewards": "Open Rewards", "Open Rewards": "Open Rewards",
"Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more.": "Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more.", "Read our %referral_faq_link% to learn more about rewards.": "Read our %referral_faq_link% to learn more about rewards.",
"Recommended ratio is 1:1": "Recommended ratio is 1:1", "Recommended ratio is 1:1": "Recommended ratio is 1:1",
"Recommended ratio is 6.25:1": "Recommended ratio is 6.25:1", "Recommended ratio is 6.25:1": "Recommended ratio is 6.25:1",
"Tags Selected": "Tags Selected", "Tags Selected": "Tags Selected",
@ -775,7 +773,6 @@
"There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.": "There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.", "There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.": "There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.",
"You are not currently sharing diagnostic data so this error was not reported.": "You are not currently sharing diagnostic data so this error was not reported.", "You are not currently sharing diagnostic data so this error was not reported.": "You are not currently sharing diagnostic data so this error was not reported.",
"Find Channels to Follow": "Find Channels to Follow", "Find Channels to Follow": "Find Channels to Follow",
"Log in with lbry.tv to receive notifications about new content.": "Log in with lbry.tv to receive notifications about new content.",
"Find new channels to follow": "Find new channels to follow", "Find new channels to follow": "Find new channels to follow",
"%SITE_NAME% is more fun if you're following channels": "%SITE_NAME% is more fun if you're following channels", "%SITE_NAME% is more fun if you're following channels": "%SITE_NAME% is more fun if you're following channels",
"Saved zip archive to %outputPath%": "Saved zip archive to %outputPath%", "Saved zip archive to %outputPath%": "Saved zip archive to %outputPath%",

View file

@ -1,10 +1,10 @@
// @flow // @flow
import { URL, SITE_NAME } from 'config';
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import Button from 'component/button'; 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 { URL } from 'config';
import SelectChannel from 'component/selectChannel'; import SelectChannel from 'component/selectChannel';
import analytics from 'analytics'; import analytics from 'analytics';
import I18nMessage from 'component/i18nMessage'; import I18nMessage from 'component/i18nMessage';
@ -72,7 +72,7 @@ function InviteNew(props: Props) {
return ( return (
<div className={'columns'}> <div className={'columns'}>
<Card <Card
title={__('Invite Link')} title={__('Invites')}
subtitle={__('Share this link with friends (or enemies) and earn LBC when they join lbry.tv')} subtitle={__('Share this link with friends (or enemies) and earn LBC when they join lbry.tv')}
actions={ actions={
<React.Fragment> <React.Fragment>
@ -92,7 +92,7 @@ function InviteNew(props: Props) {
referral_faq_link: <Button button="link" label={__('FAQ')} href="https://lbry.com/faq/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. Read our %referral_faq_link% to learn more about rewards.
</I18nMessage> </I18nMessage>
</p> </p>
</React.Fragment> </React.Fragment>
@ -100,8 +100,8 @@ function InviteNew(props: Props) {
/> />
<Card <Card
title={__('Invite by Email')} title={__('Invite by email')}
subtitle={__('Invite someone you know by email and earn LBC when they join lbry.tv.')} subtitle={__('Invite someone you know by email and earn LBC when they join %SITE_NAME%.', { SITE_NAME })}
actions={ actions={
<React.Fragment> <React.Fragment>
<Form onSubmit={handleSubmit}> <Form onSubmit={handleSubmit}>
@ -126,7 +126,7 @@ function InviteNew(props: Props) {
referral_faq_link: <Button button="link" label={__('FAQ')} href="https://lbry.com/faq/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. Read our %referral_faq_link% to learn more about rewards.
</I18nMessage> </I18nMessage>
</p> </p>
</Form> </Form>

View file

@ -81,7 +81,7 @@ class UserEmailVerify extends React.PureComponent<Props> {
onClick={this.handleResendVerificationEmail} onClick={this.handleResendVerificationEmail}
disabled={resendingEmail} disabled={resendingEmail}
/> />
<UserSignOutButton label={__('Start Over')} /> <UserSignOutButton label={__('Start over')} />
</div> </div>
<p className="help--card-actions"> <p className="help--card-actions">
<I18nMessage <I18nMessage

View file

@ -33,7 +33,7 @@ class InvitePage extends React.PureComponent<Props> {
<Page> <Page>
{!authenticated ? ( {!authenticated ? (
<RewardAuthIntro <RewardAuthIntro
title={__('Log In to %SITE_NAME% to Earn Rewards From Inviting Your Friends', { SITE_NAME })} title={__('Log in to %SITE_NAME% to Earn Rewards From Inviting Your Friends', { SITE_NAME })}
/> />
) : ( ) : (
<React.Fragment> <React.Fragment>
@ -41,7 +41,6 @@ class InvitePage extends React.PureComponent<Props> {
{!isPending && isFailed && <span className="empty">{__('Failed to retrieve invite status.')}</span>} {!isPending && isFailed && <span className="empty">{__('Failed to retrieve invite status.')}</span>}
{!isPending && !isFailed && ( {!isPending && !isFailed && (
<React.Fragment> <React.Fragment>
{' '}
<InviteNew /> <InviteNew />
<InviteList /> <InviteList />
</React.Fragment> </React.Fragment>

View file

@ -1,4 +1,5 @@
// @flow // @flow
import { SITE_NAME } from 'config';
import * as PAGES from 'constants/pages'; import * as PAGES from 'constants/pages';
import React, { useState } from 'react'; import React, { useState } from 'react';
import { withRouter } from 'react-router'; import { withRouter } from 'react-router';