mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-10-01 15:50:33 +00:00
warning text
This commit is contained in:
parent
942b2ee64b
commit
b9a602acd9
5 changed files with 9 additions and 9 deletions
|
@ -1005,13 +1005,11 @@
|
|||
"Model": "Model",
|
||||
"Binary": "Binary",
|
||||
"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.",
|
||||
"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.",
|
||||
"Unable to validate your video.": "Unable to validate 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 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."
|
||||
}
|
|
@ -83,7 +83,7 @@ function PublishFile(props: Props) {
|
|||
// @endif
|
||||
if (isVid && duration && getBitrate(size, duration) > RECOMMENDED_BITRATE) {
|
||||
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.')}{' '}
|
||||
<Button button="link" label={__('Publishing Guide')} href="https://lbry.com/faq/video-publishing-guide" />
|
||||
</p>
|
||||
|
@ -92,7 +92,7 @@ function PublishFile(props: Props) {
|
|||
|
||||
if (isVid && !duration) {
|
||||
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.'
|
||||
)}{' '}
|
||||
|
|
|
@ -208,8 +208,8 @@ a {
|
|||
}
|
||||
|
||||
.help--warning {
|
||||
background-color: var(--color-warning);
|
||||
color: var(--color-black);
|
||||
@extend .help;
|
||||
color: var(--color-text-help-warning);
|
||||
}
|
||||
|
||||
.help--inline {
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
// Text
|
||||
--color-text: #eeeeee;
|
||||
--color-text-error: #f5748c;
|
||||
--color-text-help-warning: #f5ec74;
|
||||
--color-text-empty: #bbbbbb;
|
||||
--color-text-help: #bbbbbb;
|
||||
--color-text-subtitle: #9fafc0;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
--color-text-help: #999999;
|
||||
--color-text-subtitle: #767676;
|
||||
--color-text-warning: #212529;
|
||||
--color-text-help-warning: #989b20;
|
||||
--color-text-warning--background: var(--lbry-yellow-1);
|
||||
--color-blockquote: var(--color-gray-3);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue