From 00115cd7076d11d15d62a0d835740148217603e2 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 17 Dec 2019 18:32:20 -0500 Subject: [PATCH] Fixed string not using language file. --- popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/popup.js b/popup.js index d5646e2c..713863e5 100644 --- a/popup.js +++ b/popup.js @@ -390,7 +390,7 @@ function runThePopup() { SB.whitelistChannel.style.display = "none"; SB.unwhitelistChannel.style.display = "unset"; - SB.downloadedSponsorMessageTimes.innerText = "Channel Whitelisted!"; + SB.downloadedSponsorMessageTimes.innerText = chrome.i18n.getMessage("channelWhitelisted"); SB.downloadedSponsorMessageTimes.style.fontWeight = "bold"; } }); @@ -1255,7 +1255,7 @@ function runThePopup() { SB.whitelistChannel.style.display = "none"; SB.unwhitelistChannel.style.display = "unset"; - SB.downloadedSponsorMessageTimes.innerText = "Channel Whitelisted!"; + SB.downloadedSponsorMessageTimes.innerText = chrome.i18n.getMessage("channelWhitelisted"); SB.downloadedSponsorMessageTimes.style.fontWeight = "bold"; //save this