Notifications locale

This commit is contained in:
Brahim Hadriche committed 2024-03-20 00:36:38 -04:00
1 parent 9061275d6f
commit feb968a72e
7 files changed
+208 -9

No files matched your search

@@ -16,9 +16,9 @@ end function
function OnActionSet()
action = m.top.action
category = m.top.segment.category
categoryTitle = m.service.SegmentShortTitle(category)
categoryTitle = Tr(ValidString(m.service.SegmentShortTitle(category)))
if action = "AutoSkip"
m.categoryLabel.text = `Skipped\n${categoryTitle}`
m.categoryLabel.text = Tr(Locale.SponsorBlock.Skipped) + `\n` + categoryTitle
else
m.categoryLabel.text = categoryTitle
end if