warning text

This commit is contained in:
jessop 2020-03-05 19:17:59 -05:00
parent 942b2ee64b
commit b9a602acd9
5 changed files with 9 additions and 9 deletions

View file

@ -1005,13 +1005,11 @@
"Model": "Model", "Model": "Model",
"Binary": "Binary", "Binary": "Binary",
"Other": "Other", "Other": "Other",
"For video content, use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming.": "For video content, use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming.",
"Please check your deposit amount.": "Please check your deposit amount.", "Please check your deposit amount.": "Please check your deposit amount.",
"Your video has a bitrate over 5 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 5 mbps. We suggest transcoding to provide viewers the best experience.",
"For video content, use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.": "For video content, use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.", "For video content, use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.": "For video content, use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.",
"Unable to validate your video.": "Unable to validate your video.",
"Checking your video...": "Checking your video...", "Checking your video...": "Checking your video...",
"Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.", "Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.",
"Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.": "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.", "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.": "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.",
"Publishing Guide": "Publishing Guide" "Publishing Guide": "Publishing Guide",
} "This is equivalent to a password. Do not post or share this.": "This is equivalent to a password. Do not post or share this."
}

View file

@ -83,7 +83,7 @@ function PublishFile(props: Props) {
// @endif // @endif
if (isVid && duration && getBitrate(size, duration) > RECOMMENDED_BITRATE) { if (isVid && duration && getBitrate(size, duration) > RECOMMENDED_BITRATE) {
return ( return (
<p className="help--error"> <p className="help--warning">
{__('Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.')}{' '} {__('Your video has a bitrate over 8 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={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
</p> </p>
@ -92,7 +92,7 @@ function PublishFile(props: Props) {
if (isVid && !duration) { if (isVid && !duration) {
return ( return (
<p className="help--error"> <p className="help--warning">
{__( {__(
'Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.' 'Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.'
)}{' '} )}{' '}

View file

@ -208,8 +208,8 @@ a {
} }
.help--warning { .help--warning {
background-color: var(--color-warning); @extend .help;
color: var(--color-black); color: var(--color-text-help-warning);
} }
.help--inline { .help--inline {

View file

@ -44,6 +44,7 @@
// Text // Text
--color-text: #eeeeee; --color-text: #eeeeee;
--color-text-error: #f5748c; --color-text-error: #f5748c;
--color-text-help-warning: #f5ec74;
--color-text-empty: #bbbbbb; --color-text-empty: #bbbbbb;
--color-text-help: #bbbbbb; --color-text-help: #bbbbbb;
--color-text-subtitle: #9fafc0; --color-text-subtitle: #9fafc0;

View file

@ -24,6 +24,7 @@
--color-text-help: #999999; --color-text-help: #999999;
--color-text-subtitle: #767676; --color-text-subtitle: #767676;
--color-text-warning: #212529; --color-text-warning: #212529;
--color-text-help-warning: #989b20;
--color-text-warning--background: var(--lbry-yellow-1); --color-text-warning--background: var(--lbry-yellow-1);
--color-blockquote: var(--color-gray-3); --color-blockquote: var(--color-gray-3);