From 058c41dd7e690fe65e31942c666259a3eecc5e1b Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 7 Jul 2022 17:05:27 -0400 Subject: [PATCH] Rename chapter option to show chapter --- public/_locales/en/messages.json | 3 +++ src/utils/categoryUtils.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 6cfbcf71..e4caf31d 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -746,6 +746,9 @@ "showOverlay_full": { "message": "Show Label" }, + "showOverlay_chapter": { + "message": "Show Chapters" + }, "autoSkipOnMusicVideos": { "message": "Auto skip all segments when there is a non-music segment" }, diff --git a/src/utils/categoryUtils.ts b/src/utils/categoryUtils.ts index 882c1f37..e6bc175e 100644 --- a/src/utils/categoryUtils.ts +++ b/src/utils/categoryUtils.ts @@ -41,6 +41,8 @@ export function getCategorySuffix(category: Category): string { return "_POI"; } else if (category === "exclusive_access") { return "_full"; + } else if (category === "chapter") { + return "_chapter"; } else { return ""; }