diff options
author | Ajay <[email protected]> | 2023-02-26 22:12:05 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2023-02-26 22:12:05 -0500 |
commit | 290c910a1b0ea287ea43524c6994a8005657271d (patch) | |
tree | 532fd719bf3ee6f5b73f099281531efb5bffc938 | |
parent | 1ffe42771f7edf241266766baec8811d2458708d (diff) | |
download | SponsorBlock-290c910a1b0ea287ea43524c6994a8005657271d.tar.gz SponsorBlock-290c910a1b0ea287ea43524c6994a8005657271d.zip |
rename submission button to "Open Submission Menu"
-rw-r--r-- | public/_locales/en/messages.json | 7 | ||||
-rw-r--r-- | public/popup.html | 2 | ||||
-rw-r--r-- | src/content.ts | 2 |
3 files changed, 4 insertions, 7 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 70cd2b1c..9a31e87a 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -131,8 +131,8 @@ "closeIcon": { "message": "Close Icon" }, - "SubmitTimes": { - "message": "Submit Segments" + "OpenSubmissionMenu": { + "message": "Open Submission Menu" }, "sortSegments": { "message": "Sort Segments" @@ -171,9 +171,6 @@ "clearTimesButton": { "message": "Clear Times" }, - "submitTimesButton": { - "message": "Submit Times" - }, "publicStats": { "message": "This is used on the public stats page to show off how much you've contributed. See it" }, diff --git a/public/popup.html b/public/popup.html index 743959dc..84f5f714 100644 --- a/public/popup.html +++ b/public/popup.html @@ -105,7 +105,7 @@ <sub class="sponsorStartHint grey-text">__MSG_popupHint__</sub> <div style="text-align: center; margin: 8px 0;"> <button id="sponsorStart" class="sbMediumButton" style="margin-right: 8px">__MSG_sponsorStart__</button> - <button id="submitTimes" class="sbMediumButton" style="display: none">__MSG_submitTimesButton__</button> + <button id="submitTimes" class="sbMediumButton" style="display: none">__MSG_OpenSubmissionMenu__</button> </div> <span id="submissionHint" style="display: none">__MSG_submissionEditHint__</span> </div> diff --git a/src/content.ts b/src/content.ts index 00e31873..8f8c0bfa 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1695,7 +1695,7 @@ async function createButtons(): Promise<void> { createButton("startSegment", "sponsorStart", () => startOrEndTimingNewSegment(), "PlayerStartIconSponsorBlocker.svg"); createButton("cancelSegment", "sponsorCancel", () => cancelCreatingSegment(), "PlayerCancelSegmentIconSponsorBlocker.svg"); createButton("delete", "clearTimes", () => clearSponsorTimes(), "PlayerDeleteIconSponsorBlocker.svg"); - createButton("submit", "SubmitTimes", () => submitSponsorTimes(), "PlayerUploadIconSponsorBlocker.svg"); + createButton("submit", "OpenSubmissionMenu", () => submitSponsorTimes(), "PlayerUploadIconSponsorBlocker.svg"); createButton("info", "openPopup", () => openInfoMenu(), "PlayerInfoIconSponsorBlocker.svg"); const controlsContainer = getControls(); |