small fixes for blocked (#7669)

This commit is contained in:
jessopb 2022-08-09 13:13:57 -04:00 committed by GitHub
parent 6b1069f02a
commit b9be8d9f3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -2316,5 +2316,7 @@
"Installing, please wait...": "Installing, please wait...", "Installing, please wait...": "Installing, please wait...",
"There was an error during installation. Please, try again.": "There was an error during installation. Please, try again.", "There was an error during installation. Please, try again.": "There was an error during installation. Please, try again.",
"Odysee Connect --[Section in Help Page]--": "Odysee Connect", "Odysee Connect --[Section in Help Page]--": "Odysee Connect",
"Your hub has blocked this content because it subscribes to the following blocking channel:": "Your hub has blocked this content because it subscribes to the following blocking channel:",
"Your hub has blocked access to this content do to a complaint received under the US Digital Millennium Copyright Act.": "Your hub has blocked access to this content do to a complaint received under the US Digital Millennium Copyright Act.",
"--end--": "--end--" "--end--": "--end--"
} }

View file

@ -150,7 +150,7 @@ function ShowPage(props: Props) {
<Card <Card
title={uri} title={uri}
subtitle={__( subtitle={__(
'In response to a complaint we received under the US Digital Millennium Copyright Act, hub have blocked access to this content from our applications.' 'Your hub has blocked access to this content do to a complaint received under the US Digital Millennium Copyright Act.'
)} )}
actions={ actions={
<div className="section__actions"> <div className="section__actions">
@ -165,10 +165,10 @@ function ShowPage(props: Props) {
title={uri} title={uri}
subtitle={ subtitle={
<> <>
{__('Your hub has blocked this content because it has subscribed to the following channel:')}{' '} {__('Your hub has blocked this content because it subscribes to the following blocking channel:')}{' '}
<Button <Button
button="link" button="link"
href={errorCensor && errorCensor.canonical_url} navigate={errorCensor && errorCensor.canonical_url}
label={errorCensor && errorCensor.name} label={errorCensor && errorCensor.name}
/> />
</> </>