mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Remove duplicate i18n strings
This commit is contained in:
parent
0dd7a41d85
commit
b189dea299
2 changed files with 4 additions and 10 deletions
|
@ -19,12 +19,6 @@
|
||||||
"channelWhitelisted": {
|
"channelWhitelisted": {
|
||||||
"message": "Channel Whitelisted!"
|
"message": "Channel Whitelisted!"
|
||||||
},
|
},
|
||||||
"Sponsor": {
|
|
||||||
"message": "segment"
|
|
||||||
},
|
|
||||||
"Sponsors": {
|
|
||||||
"message": "segments"
|
|
||||||
},
|
|
||||||
"Segment": {
|
"Segment": {
|
||||||
"message": "segment"
|
"message": "segment"
|
||||||
},
|
},
|
||||||
|
|
|
@ -156,9 +156,9 @@ async function runThePopup(messageListener?: MessageListener) {
|
||||||
//get the amount of times this user has contributed and display it to thank them
|
//get the amount of times this user has contributed and display it to thank them
|
||||||
if (Config.config.sponsorTimesContributed != undefined) {
|
if (Config.config.sponsorTimesContributed != undefined) {
|
||||||
if (Config.config.sponsorTimesContributed !== 1) {
|
if (Config.config.sponsorTimesContributed !== 1) {
|
||||||
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Sponsors");
|
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Segments");
|
||||||
} else {
|
} else {
|
||||||
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Sponsor");
|
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Segment");
|
||||||
}
|
}
|
||||||
PageElements.sponsorTimesContributionsDisplay.innerText = Config.config.sponsorTimesContributed;
|
PageElements.sponsorTimesContributionsDisplay.innerText = Config.config.sponsorTimesContributed;
|
||||||
PageElements.sponsorTimesContributionsContainer.style.display = "unset";
|
PageElements.sponsorTimesContributionsContainer.style.display = "unset";
|
||||||
|
@ -206,9 +206,9 @@ async function runThePopup(messageListener?: MessageListener) {
|
||||||
//get the amount of times this user has skipped a sponsor
|
//get the amount of times this user has skipped a sponsor
|
||||||
if (Config.config.skipCount != undefined) {
|
if (Config.config.skipCount != undefined) {
|
||||||
if (Config.config.skipCount != 1) {
|
if (Config.config.skipCount != 1) {
|
||||||
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Sponsors");
|
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Segments");
|
||||||
} else {
|
} else {
|
||||||
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Sponsor");
|
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Segment");
|
||||||
}
|
}
|
||||||
|
|
||||||
PageElements.sponsorTimesSkipsDoneDisplay.innerText = Config.config.skipCount;
|
PageElements.sponsorTimesSkipsDoneDisplay.innerText = Config.config.skipCount;
|
||||||
|
|
Loading…
Reference in a new issue