diff --git a/public/_locales b/public/_locales index 4cd536fa..f7d56522 160000 --- a/public/_locales +++ b/public/_locales @@ -1 +1 @@ -Subproject commit 4cd536fa4a2efa7ee19f22268df800c3a80ea2b8 +Subproject commit f7d565226ebfd457f866311a714ad8fdace8e37e diff --git a/src/popup/PopupComponent.tsx b/src/popup/PopupComponent.tsx index 68907b8c..a9d1fb49 100644 --- a/src/popup/PopupComponent.tsx +++ b/src/popup/PopupComponent.tsx @@ -448,7 +448,8 @@ window.addEventListener("message", async (e): Promise => { function SkipProfileButton(props: {videoID: string; setShowForceChannelCheckWarning: (v: boolean) => void}): JSX.Element { const [menuOpen, setMenuOpen] = React.useState(false); - const skipProfileSet = getSkipProfileIDForChannel() !== null; + const channelSkipProfileSet = getSkipProfileIDForChannel() !== null; + const skipProfileSet = getSkipProfileID() !== null; React.useEffect(() => { setMenuOpen(false); @@ -471,12 +472,15 @@ function SkipProfileButton(props: {videoID: string; setShowForceChannelCheckWarn - + {chrome.i18n.getMessage("addChannelToSkipProfile")} - + {chrome.i18n.getMessage("editChannelsSkipProfile")} + + {chrome.i18n.getMessage("editActiveSkipProfile")} + {chrome.i18n.getMessage("closeSkipProfileMenu")}