mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Added string to the language file
This commit is contained in:
@@ -810,5 +810,8 @@
|
|||||||
},
|
},
|
||||||
"LearnMore": {
|
"LearnMore": {
|
||||||
"message": "Learn More"
|
"message": "Learn More"
|
||||||
|
},
|
||||||
|
"SponsorTimeEditScrollNewFeature": {
|
||||||
|
"message": "Use your mousewheel while hovering over the edit box to quickly adjust the time. Combinations of the ctrl or shift key can be used to fine tune the changes."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
|
|||||||
if (!Config.config.scrollToEditTimeUpdate && document.getElementById("sponsorRectangleTooltip" + "sponsorTimesContainer" + this.idSuffix) === null) {
|
if (!Config.config.scrollToEditTimeUpdate && document.getElementById("sponsorRectangleTooltip" + "sponsorTimesContainer" + this.idSuffix) === null) {
|
||||||
const element = document.getElementById("sponsorTimesContainer" + this.idSuffix);
|
const element = document.getElementById("sponsorTimesContainer" + this.idSuffix);
|
||||||
new RectangleTooltip({
|
new RectangleTooltip({
|
||||||
text: "Use your mousewheel while hovering over the edit box to quickly adjust the time. Combinations of the ctrl or shift key can be used to fine tune the changes.",
|
text: chrome.i18n.getMessage("SponsorTimeEditScrollNewFeature"),
|
||||||
referenceNode: element.parentElement,
|
referenceNode: element.parentElement,
|
||||||
prependElement: element,
|
prependElement: element,
|
||||||
timeout: 15,
|
timeout: 15,
|
||||||
|
|||||||
Reference in New Issue
Block a user