diff --git a/flow-typed/Claims.js b/flow-typed/Claims.js index 9e14c9ae58..fb68101380 100644 --- a/flow-typed/Claims.js +++ b/flow-typed/Claims.js @@ -62,6 +62,7 @@ declare type ClaimsState = { fetchingMyPurchasedClaims: ?boolean, fetchingMyPurchasedClaimsError: ?string, costInfosById: { [claimId: string]: { cost: number, includesData?: boolean } }, + ageRestrictionAllowedByClaimId: { [claimID: string]: boolean }, }; declare type ClaimSearchResultsInfo = {| diff --git a/static/app-strings.json b/static/app-strings.json index 870496624a..73e74f025e 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1630,7 +1630,7 @@ "Syncing %total_videos% videos from your channel with %total_subs% subscriptions.": "Syncing %total_videos% videos from your channel with %total_subs% subscriptions.", "Confirm Your Age": "Confirm Your Age", "I confirm I am over 18 years old.": "I confirm I am over 18 years old.", - "This is only for regulatory compliance and the data will not be stored.": "This is only for regulatory compliance and the data will not be stored.", + "This is only for regulatory compliance and the data will be stored in your private settings if you're signed in.": "This is only for regulatory compliance and the data will be stored in your private settings if you're signed in.", "Whoa!": "Whoa!", "You've already claimed your referrer, but we've followed this channel for you.": "You've already claimed your referrer, but we've followed this channel for you.", "You've already claimed your referrer.": "You've already claimed your referrer.", @@ -2953,6 +2953,13 @@ "Receive 1 LBC for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.": "Receive 1 LBC for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.", "Receive a credit of at least 0.05 LBC for watching cool stuff at least 3 days during the week.": "Receive a credit of at least 0.05 LBC for watching cool stuff at least 3 days during the week.", "Are you a supermodel or rockstar that received a custom Credits code? Claim it here.": "Are you a supermodel or rockstar that received a custom Credits code? Claim it here.", + "The following content is intended for Mature Audiences aged 18 years and over. Viewer discretion is advised.": "The following content is intended for Mature Audiences aged 18 years and over. Viewer discretion is advised.", + "Add tags that are relevant to your content so those who're looking for it can find it more easily.": "Add tags that are relevant to your content so those who're looking for it can find it more easily.", + "Contains nudity, violence or other allowed 18+ content. See %community_guidelines%": "Contains nudity, violence or other allowed 18+ content. See %community_guidelines%", + "Profile/Cover image contains nudity, violence or other allowed 18+ content. See %community_guidelines%": "Profile/Cover image contains nudity, violence or other allowed 18+ content. See %community_guidelines%", + "Don't obscure age restricted content": "Don't obscure age restricted content", + "Don't blur thumbnails or warn about age restricted content": "Don't blur thumbnails or warn about age restricted content", + "18+": "18+", "--end--": "--end--" } diff --git a/ui/component/channelEdit/view.jsx b/ui/component/channelEdit/view.jsx index 11d9a6c74b..d863a86ef7 100644 --- a/ui/component/channelEdit/view.jsx +++ b/ui/component/channelEdit/view.jsx @@ -21,7 +21,7 @@ import analytics from 'analytics'; import LbcSymbol from 'component/common/lbc-symbol'; import SUPPORTED_LANGUAGES from 'constants/supported_languages'; import WalletSpendableBalanceHelp from 'component/walletSpendableBalanceHelp'; -import { SIMPLE_SITE, THUMBNAIL_CDN_SIZE_LIMIT_BYTES } from 'config'; +import { THUMBNAIL_CDN_SIZE_LIMIT_BYTES } from 'config'; import { sortLanguageMap } from 'util/default-languages'; import ThumbnailBrokenImage from 'component/selectThumbnail/thumbnail-broken.png'; import Gerbil from 'component/channelThumbnail/gerbil.png'; @@ -478,7 +478,6 @@ function ChannelForm(props: Props) { body={