fix lbry.tv strings

This commit is contained in:
Sean Yesmunt 2020-10-05 10:38:37 -04:00
parent d4df1c8384
commit 248e7a1f9e
2 changed files with 3 additions and 2 deletions
ui/component/publishFile
web/component/fileViewerEmbeddedEnded

View file

@ -1,4 +1,5 @@
// @flow // @flow
import { SITE_NAME } from 'config';
import type { Node } from 'react'; import type { Node } from 'react';
import * as ICONS from 'constants/icons'; import * as ICONS from 'constants/icons';
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
@ -195,7 +196,7 @@ function PublishFile(props: Props) {
return ( return (
<p className="help"> <p className="help">
{__( {__(
'For video content, use MP4s in H264/AAC format and a friendly bitrate (under 5 Mbps) and resolution (720p) for more reliable streaming. Lbry.tv uploads are restricted to 1 GB.' `For video content, use MP4s in H264/AAC format and a friendly bitrate (under 5 Mbps) and resolution (720p) for more reliable streaming. ${SITE_NAME} uploads are restricted to 1 GB.`
)}{' '} )}{' '}
<Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" /> <Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" />
</p> </p>

View file

@ -43,7 +43,7 @@ function FileViewerEmbeddedEnded(props: Props) {
<div className="file-viewer__overlay-actions"> <div className="file-viewer__overlay-actions">
<Button label={__('Rewatch or Discuss')} button="primary" href={lbrytvLink} /> <Button label={__('Rewatch or Discuss')} button="primary" href={lbrytvLink} />
{!isAuthenticated && ( {!isAuthenticated && (
<Button label={__('Join lbry.tv')} button="secondary" href={`${URL}/$/signup?src=embed_signup`} /> <Button label={__(`Join ${SITE_NAME}`)} button="secondary" href={`${URL}/$/signup?src=embed_signup`} />
)} )}
</div> </div>
</div> </div>