Odysee specific changes and other misc improvements (#219)
This commit is contained in:
parent
6d8e265f50
commit
db12a4b991
22 changed files with 43 additions and 46 deletions
|
@ -446,7 +446,7 @@ function App(props: Props) {
|
|||
{IS_WEB && lbryTvApiStatus === STATUS_DOWN ? (
|
||||
<Yrbl
|
||||
className="main--empty"
|
||||
title={__('lbry.tv is currently down')}
|
||||
title={__('odysee.com is currently down')}
|
||||
subtitle={__('My wheel broke, but the good news is that someone from LBRY is working on it.')}
|
||||
/>
|
||||
) : (
|
||||
|
|
|
@ -94,7 +94,7 @@ function ChannelAbout(props: Props) {
|
|||
<div className="media__info-text media__info-text--constrained">{claim.claim_id}</div>
|
||||
</div>
|
||||
|
||||
<label>{__('Staked LBRY Credits')}</label>
|
||||
<label>{__('Staked Credits')}</label>
|
||||
<div className="media__info-text">
|
||||
<CreditAmount
|
||||
badge={false}
|
||||
|
|
|
@ -112,7 +112,7 @@ class ClaimLink extends React.Component<Props> {
|
|||
) : (
|
||||
<Button
|
||||
button="link"
|
||||
title={SIMPLE_SITE ? __("This channel isn't staking enough LBRY Credits for link previews.") : children}
|
||||
title={SIMPLE_SITE ? __("This channel isn't staking enough Credits for link previews.") : children}
|
||||
label={children}
|
||||
className="button--external-link"
|
||||
navigate={uri}
|
||||
|
|
|
@ -268,13 +268,10 @@ export function CommentCreate(props: Props) {
|
|||
}, 1500);
|
||||
|
||||
doToast({
|
||||
message: __(
|
||||
"You sent %tipAmount% LBRY Credits as a tip to %tipChannelName%, I'm sure they appreciate it!",
|
||||
{
|
||||
message: __("You sent %tipAmount% Credits as a tip to %tipChannelName%, I'm sure they appreciate it!", {
|
||||
tipAmount: tipAmount, // force show decimal places
|
||||
tipChannelName,
|
||||
}
|
||||
),
|
||||
}),
|
||||
});
|
||||
|
||||
setSuccessTip({ txid, tipAmount });
|
||||
|
|
|
@ -21,7 +21,7 @@ export default function FileRenderDownload(props: Props) {
|
|||
subtitle={
|
||||
<p>
|
||||
{__(
|
||||
'This content can be downloaded from lbry.tv, but not displayed. It will display in LBRY Desktop, an app for desktop computers.'
|
||||
'This content can be downloaded from odysee.com, but not displayed. It will display in LBRY Desktop, an app for desktop computers.'
|
||||
)}
|
||||
</p>
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class FileValues extends PureComponent<Props> {
|
|||
<td>
|
||||
<div>
|
||||
{__('Total Staked Amount')}
|
||||
<HelpLink href="https://odysee.com/@OdyseeHelp:b/Monetization-of-Content:3" />
|
||||
<HelpLink href="https://odysee.com/@OdyseeHelp:b/trending:50" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -90,7 +90,7 @@ class FileValues extends PureComponent<Props> {
|
|||
<tr>
|
||||
<td>
|
||||
{__('Community Choice?')}
|
||||
<HelpLink href="https://lbry.com/faq/naming" />
|
||||
<HelpLink href="https://odysee.com/@OdyseeHelp:b/trending:50" />
|
||||
</td>
|
||||
<td>
|
||||
<Button
|
||||
|
|
|
@ -96,12 +96,12 @@ function PrivacyAgreement(props: Props) {
|
|||
checked={share === LIMITED}
|
||||
label={
|
||||
<>
|
||||
{__('Yes, but only with LBRY, Inc.')} <span>🙂</span>
|
||||
{__('Yes, but only with Odysee, Inc.')} <span>🙂</span>
|
||||
</>
|
||||
}
|
||||
helper={__(
|
||||
`Sharing information with LBRY, Inc. allows us to report to publishers how their content is doing, as
|
||||
well as track basic usage and performance. This is the minimum required to earn rewards from LBRY, Inc.`
|
||||
`Sharing information with Odysee, Inc. allows us to report to publishers how their content is doing, as
|
||||
well as track basic usage and performance. This is the minimum required to earn rewards from Odysee, Inc.`
|
||||
)}
|
||||
onChange={(e) => setShare(LIMITED)}
|
||||
/>
|
||||
|
@ -115,7 +115,7 @@ function PrivacyAgreement(props: Props) {
|
|||
{__('No')} <span>😢</span>
|
||||
</>
|
||||
}
|
||||
helper={__(`No information will be sent directly to LBRY, Inc. or third-parties about your usage. Note that as
|
||||
helper={__(`No information will be sent directly to Odysee Inc. or third-parties about your usage. Note that as
|
||||
peer-to-peer software, your IP address and potentially other system information can be sent to other
|
||||
users, though this information is not stored permanently.`)}
|
||||
onChange={(e) => setShare(NONE)}
|
||||
|
@ -128,7 +128,7 @@ function PrivacyAgreement(props: Props) {
|
|||
signout_button: <Button button="link" label={__('Sign Out')} onClick={signOut} />,
|
||||
}}
|
||||
>
|
||||
You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.
|
||||
You are signed into odysee.com which automatically shares data with LBRY inc. %signout_button%.
|
||||
</I18nMessage>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -52,9 +52,7 @@ function PublishFormErrors(props: Props) {
|
|||
) : (
|
||||
thumbnailError && !thumbnailUploaded && <div>{__('Thumbnail is invalid.')}</div>
|
||||
)}
|
||||
{editingURI && !isStillEditing && !filePath && (
|
||||
<div>{__('Please reselect a file after changing the LBRY URL')}</div>
|
||||
)}
|
||||
{editingURI && !isStillEditing && !filePath && <div>{__('Please reselect a file after changing the URL')}</div>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -84,8 +84,8 @@ export default function SearchTopClaim(props: Props) {
|
|||
<div className="claim-preview__actions--header">
|
||||
<a
|
||||
className="media__uri"
|
||||
href="https://odysee.com/@OdyseeHelp:b/OdyseeBasics:c"
|
||||
title={__('Learn more about LBRY Credits on %DOMAIN%', { DOMAIN })}
|
||||
href="https://odysee.com/@OdyseeHelp:b/trending:50"
|
||||
title={__('Learn more about Credits on %DOMAIN%', { DOMAIN })}
|
||||
>
|
||||
<LbcSymbol prefix={__('Most supported')} />
|
||||
</a>
|
||||
|
|
|
@ -10,7 +10,7 @@ import Card from 'component/common/card';
|
|||
type Props = {
|
||||
cancelButton: Node,
|
||||
email: string,
|
||||
resendVerificationEmail: string => void,
|
||||
resendVerificationEmail: (string) => void,
|
||||
checkEmailVerified: () => void,
|
||||
user: {
|
||||
has_verified_email: boolean,
|
||||
|
@ -35,12 +35,12 @@ function UserEmail(props: Props) {
|
|||
|
||||
return (
|
||||
<Card
|
||||
title={__('lbry.tv Account')}
|
||||
title={__('odysee.com Account')}
|
||||
subtitle={
|
||||
isVerified
|
||||
? undefined
|
||||
: __(
|
||||
'Creating a lbry.tv account will allow you to earn rewards, receive content and security updates, and optionally backup your data.'
|
||||
'Creating a odysee.com account will allow you to earn rewards, receive content and security updates, and optionally backup your data.'
|
||||
)
|
||||
}
|
||||
actions={
|
||||
|
|
|
@ -151,7 +151,7 @@ class UserVerify extends React.PureComponent<Props> {
|
|||
<p>{__('You will be asked to provide proof of identity.')}</p>
|
||||
</>
|
||||
}
|
||||
actions={<Button href="https://chat.lbry.com" button="primary" label={__('Join LBRY Chat')} />}
|
||||
actions={<Button href="https://chat.lbry.com" button="primary" label={__('Join the Foundation Chat')} />}
|
||||
/>
|
||||
|
||||
<div className="section__divider">
|
||||
|
|
|
@ -89,9 +89,7 @@ class WalletSend extends React.PureComponent<Props> {
|
|||
<Card
|
||||
title={__('Send Credits')}
|
||||
subtitle={
|
||||
<I18nMessage tokens={{ lbc: <LbcSymbol /> }}>
|
||||
Send LBRY Credits to your friends or favorite creators.
|
||||
</I18nMessage>
|
||||
<I18nMessage tokens={{ lbc: <LbcSymbol /> }}>Send Credits to your friends or favorite creators.</I18nMessage>
|
||||
}
|
||||
actions={
|
||||
<Formik
|
||||
|
|
|
@ -16,7 +16,7 @@ export const LEVEL_3_STAKED_AMOUNT = 50;
|
|||
export const LEVEL_4_STAKED_AMOUNT = 250;
|
||||
export const LEVEL_5_STAKED_AMOUNT = 1000;
|
||||
export const INVALID_NAME_ERROR =
|
||||
__('LBRY names cannot contain spaces or reserved symbols') + ' ' + '(?$#@;:/\\="<>%{}|^~[]`)';
|
||||
__('names cannot contain spaces or reserved symbols') + ' ' + '(?$#@;:/\\="<>%{}|^~[]`)';
|
||||
|
||||
export const FORCE_CONTENT_TYPE_PLAYER = [
|
||||
'video/quicktime',
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
export const ALREADY_CLAIMED = 'once the invite reward has been claimed the referrer cannot be changed';
|
||||
export const REFERRER_NOT_FOUND = 'A lbry.tv account could not be found for the referrer you provided.';
|
||||
export const REFERRER_NOT_FOUND = 'A odysee account could not be found for the referrer you provided.';
|
||||
|
|
|
@ -52,7 +52,7 @@ class ModalError extends React.PureComponent<Props> {
|
|||
<Modal isOpen contentLabel={__('Error')} title={__('Error')} className="error-modal" onConfirmed={closeModal}>
|
||||
<p>
|
||||
{__(
|
||||
"We're sorry that LBRY has encountered an error. This has been reported and we will investigate the problem."
|
||||
"We're sorry that Odysee has encountered an error. Please try again or reach out to hello@odysee.com with detailed information."
|
||||
)}
|
||||
</p>
|
||||
<ul className="error-modal__error-list ul--no-style">{errorInfoList}</ul>
|
||||
|
|
|
@ -59,7 +59,7 @@ function ModalOpenExternalResource(props: Props) {
|
|||
(path && __('This file has been shared with you by other people.'))}
|
||||
</p>
|
||||
<blockquote>{uri || path}</blockquote>
|
||||
<p>{__('LBRY Inc is not responsible for its content, click continue to proceed at your own risk.')}</p>
|
||||
<p>{__('Odysee is not responsible for its content, click continue to proceed at your own risk.')}</p>
|
||||
</Modal>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ class ModalSetReferrer extends React.PureComponent<Props, State> {
|
|||
title={__('Enter inviter')}
|
||||
subtitle={
|
||||
<React.Fragment>
|
||||
{__('Did someone invite you to use lbry.tv? Tell us who and you both get a reward!')}
|
||||
{__('Did someone invite you to use Odysee? Tell us who and you both get a reward!')}
|
||||
<HelpLink href="https://odysee.com/@OdyseeHelp:b/rewards-verification:3" />
|
||||
</React.Fragment>
|
||||
}
|
||||
|
|
|
@ -83,8 +83,8 @@ function DiscoverPage(props: Props) {
|
|||
return !dynamicRouteProps ? (
|
||||
<a
|
||||
className="help"
|
||||
href="https://odysee.com/@OdyseeHelp:b/OdyseeBasics:c"
|
||||
title={__('Learn more about LBRY Credits on %DOMAIN%', { DOMAIN })}
|
||||
href="https://odysee.com/@OdyseeHelp:b/trending:50"
|
||||
title={__('Learn more about Credits on %DOMAIN%', { DOMAIN })}
|
||||
>
|
||||
<I18nMessage
|
||||
tokens={{
|
||||
|
|
|
@ -174,7 +174,12 @@ class HelpPage extends React.PureComponent<Props, State> {
|
|||
}
|
||||
actions={
|
||||
<div className="section__actions">
|
||||
<Button button="secondary" label={__('Join Our Chat')} icon={ICONS.CHAT} href="https://chat.lbry.com" />
|
||||
<Button
|
||||
button="secondary"
|
||||
label={__('Join the Foundation Chat')}
|
||||
icon={ICONS.CHAT}
|
||||
href="https://chat.lbry.com"
|
||||
/>
|
||||
<Button button="secondary" label={__('Email Us')} icon={ICONS.WEB} href={`mailto:${SITE_HELP_EMAIL}`} />
|
||||
</div>
|
||||
}
|
||||
|
@ -184,7 +189,7 @@ class HelpPage extends React.PureComponent<Props, State> {
|
|||
title={__('Report a bug or suggest something')}
|
||||
subtitle={
|
||||
<React.Fragment>
|
||||
{__('Did you find something wrong? Think LBRY could add something useful and cool?')}
|
||||
{__('Did you find something wrong? Think Odysee could add something useful and cool?')}
|
||||
</React.Fragment>
|
||||
}
|
||||
actions={
|
||||
|
|
|
@ -242,7 +242,7 @@ export default function LivestreamSetupPage(props: Props) {
|
|||
className="livestream__publish-intro"
|
||||
title={__('No livestream publishes found')}
|
||||
subtitle={__(
|
||||
'You need to upload your livestream details before you can go live. If you already created one in this channel, it should appear soon.'
|
||||
'You need to upload your livestream details before you can go live. Please note: Replays must be published manually after your stream via the Update button on the livestream.'
|
||||
)}
|
||||
actions={
|
||||
<div className="section__actions">
|
||||
|
|
|
@ -124,7 +124,7 @@ export default function YoutubeSync(props: Props) {
|
|||
{nameError ? (
|
||||
<span className="error__text">{nameError}</span>
|
||||
) : (
|
||||
__('Your %site_name% channel name', { site_name: IS_WEB ? SITE_NAME : 'LBRY' })
|
||||
__('Your %site_name% desired channel name', { site_name: IS_WEB ? SITE_NAME : 'LBRY' })
|
||||
)}
|
||||
</label>
|
||||
<div className="form-field__prefix">@</div>
|
||||
|
@ -206,9 +206,8 @@ export default function YoutubeSync(props: Props) {
|
|||
),
|
||||
}}
|
||||
>
|
||||
This will verify you are an active YouTuber. Channel names cannot be changed once chosen, please be
|
||||
extra careful. Additional instructions will be emailed to you after you verify your email on the
|
||||
next page. %learn_more%.
|
||||
This will verify you are an active YouTuber with over 300 subscribers and original content. Channel
|
||||
names cannot be changed once chosen, please be extra careful. %learn_more%.
|
||||
</I18nMessage>
|
||||
</div>
|
||||
</Form>
|
||||
|
|
|
@ -29,7 +29,7 @@ export default function NagDegradedPerformance(props: Props) {
|
|||
),
|
||||
}}
|
||||
>
|
||||
lbry.tv collects usage information for itself only (%more_information%).
|
||||
odysee collects usage information for itself only (%more_information%).
|
||||
</I18nMessage>
|
||||
}
|
||||
actionText={__('OK')}
|
||||
|
@ -49,7 +49,7 @@ export default function NagDegradedPerformance(props: Props) {
|
|||
),
|
||||
}}
|
||||
>
|
||||
lbry.tv collects usage information for itself only (%more_information%). Want control over this and more?
|
||||
odysee collects usage information for itself only (%more_information%). Want control over this and more?
|
||||
</I18nMessage>
|
||||
}
|
||||
actionText={__('Get The App')}
|
||||
|
|
Loading…
Reference in a new issue