Publish => Upload
This commit is contained in:
parent
fd6be7d3af
commit
201417efcf
21 changed files with 64 additions and 84 deletions
ui/component/publishFile
|
@ -127,7 +127,7 @@ function PublishFile(props: Props) {
|
|||
return (
|
||||
<p className="help--error">
|
||||
{__(UPLOAD_SIZE_MESSAGE)}{' '}
|
||||
<Button button="link" label={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
<Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ function PublishFile(props: Props) {
|
|||
return (
|
||||
<p className="help--warning">
|
||||
{__('Your video has a bitrate over 5 Mbps. We suggest transcoding to provide viewers the best experience.')}{' '}
|
||||
<Button button="link" label={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
<Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ function PublishFile(props: Props) {
|
|||
{__(
|
||||
'Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (under 5 Mbps) and resolution (720p) for more reliable streaming.'
|
||||
)}{' '}
|
||||
<Button button="link" label={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
<Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
@ -166,7 +166,7 @@ function PublishFile(props: Props) {
|
|||
{__(
|
||||
'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.'
|
||||
)}{' '}
|
||||
<Button button="link" label={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
<Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ function PublishFile(props: Props) {
|
|||
{__(
|
||||
'For video content, use MP4s in H264/AAC format and a friendly bitrate (under 5 Mbps) and resolution (720p) for more reliable streaming.'
|
||||
)}{' '}
|
||||
<Button button="link" label={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
<Button button="link" label={__('Upload Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
@ -251,12 +251,12 @@ function PublishFile(props: Props) {
|
|||
if (publishing) {
|
||||
title = (
|
||||
<span>
|
||||
{__('Publishing')}
|
||||
{__('Uploading')}
|
||||
<Spinner type={'small'} />
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
title = isStillEditing ? __('Edit') : __('Publish');
|
||||
title = isStillEditing ? __('Edit') : __('Upload');
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -269,9 +269,7 @@ function PublishFile(props: Props) {
|
|||
{inProgress && <Button button="close" label={__('Cancel')} icon={ICONS.REMOVE} onClick={clearPublish} />}
|
||||
</React.Fragment>
|
||||
}
|
||||
subtitle={
|
||||
isStillEditing ? __('You are currently editing a claim.') : __('Publish something totally wacky and wild.')
|
||||
}
|
||||
subtitle={isStillEditing && __('You are currently editing your upload.')}
|
||||
actions={
|
||||
<React.Fragment>
|
||||
<FileSelector disabled={disabled} currentPath={currentFile} onFileChosen={handleFileChange} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue