Block mature content: Updates based on feedback.

This commit is contained in:
infiinte-persistence 2020-07-23 23:28:54 +08:00 committed by Sean Yesmunt
parent 4c57cdd99f
commit 58adba306a
2 changed files with 9 additions and 6 deletions

View file

@ -1260,8 +1260,9 @@
"Links": "Links",
"LBRY URL": "LBRY URL",
"Download Link": "Download Link",
"Mature content blocked": "Mature content blocked",
"Change %settings%": "Change %settings%",
"Mature content blocked.": "Mature content blocked.",
"Change this in your %content_settings%.": "Change this in your %content_settings%.",
"content settings": "content settings",
"There was an error with LBRY first publishing.": "There was an error with LBRY first publishing.",
"Automagically upload to your youtube channel.": "Automagically upload to your youtube channel.",
"Your file was published to LBRY, but the YouTube upload failed.": "Your file was published to LBRY, but the YouTube upload failed.",

View file

@ -47,17 +47,19 @@ function FileTitle(props: Props) {
actions={
isNsfwBlocked ? (
<div className="main--empty">
<h2 className="card__title card__title">
<h2>
<Icon className="icon--hidden" icon={ICONS.EYE_OFF} />
{__('Mature content blocked')}
{__('Mature content blocked.')}
</h2>
<div>
<I18nMessage
tokens={{
settings: <Button button="link" label={__('Content Settings')} navigate={`/$/${PAGES.SETTINGS}`} />,
content_settings: (
<Button button="link" label={__('content settings')} navigate={`/$/${PAGES.SETTINGS}`} />
),
}}
>
Change %settings%
Change this in your %content_settings%.
</I18nMessage>
</div>
</div>