mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Use short category name in popup
This commit is contained in:
parent
865422eaaa
commit
17eead2bb6
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
|
|||
const sponsorTimeButton = document.createElement("button");
|
||||
sponsorTimeButton.className = "segmentTimeButton popupElement";
|
||||
|
||||
const prefix = chrome.i18n.getMessage("category_" + segmentTimes[i].category) + ": ";
|
||||
const prefix = utils.shortCategoryName(segmentTimes[i].category) + ": ";
|
||||
|
||||
let extraInfo = "";
|
||||
if (segmentTimes[i].hidden === SponsorHideType.Downvoted) {
|
||||
|
|
Loading…
Reference in a new issue