diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index a6bd1ca0..8ae945c7 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -537,6 +537,16 @@ "category_selfpromo_description": { "message": "Similar to \"sponsor\" except for unpaid or self promotion. This includes sections about merchandise, donations, or information about who they collaborated with." }, + "category_exclusive_access": { + "message": "Exclusive Access" + }, + "category_exclusive_access_description": { + "message": "Only for labeling entire videos. Used when a video showcases a product, service or location that they've recieved free or subsidized access to." + }, + "category_exclusive_access_pill": { + "message": "This video showcases a product, service or location that they've recieved free or subsidized access to", + "description": "Short description for this category" + }, "category_interaction": { "message": "Interaction Reminder (Subscribe)" }, @@ -618,6 +628,9 @@ "showOverlay_POI": { "message": "Show In Seek Bar" }, + "showOverlay_full": { + "message": "Show Label" + }, "autoSkipOnMusicVideos": { "message": "Auto skip all segments when there is a non-music segment" }, diff --git a/src/components/CategoryPillComponent.tsx b/src/components/CategoryPillComponent.tsx index eae106fd..a00e38b2 100644 --- a/src/components/CategoryPillComponent.tsx +++ b/src/components/CategoryPillComponent.tsx @@ -33,15 +33,16 @@ class CategoryPillComponent extends React.Component this.toggleOpen(e)}> - - this.setColorState(event, true)} - value={this.state.previewColor} /> - + {this.props.category !== "exclusive_access" && + + this.setColorState(event, true)} + value={this.state.previewColor} /> + + } @@ -154,12 +156,13 @@ class CategorySkipOptionsComponent extends React.Component - {chrome.i18n.getMessage(optionName !== "disable" ? optionName + getCategoryActionType(this.props.category) + {chrome.i18n.getMessage(optionName !== "disable" ? optionName + getCategorySuffix(this.props.category) : optionName)} ); diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index eaf83a91..f0882ec3 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -199,7 +199,8 @@ class SponsorTimeEditComponent extends React.Component {/* Action Type */} - {CompileConfig.categorySupport[sponsorTime.category]?.length > 1 ? ( + {CompileConfig.categorySupport[sponsorTime.category]?.length > 1 + || CompileConfig.categorySupport[sponsorTime.category][0] !== "skip" ? (