From 290c910a1b0ea287ea43524c6994a8005657271d Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 26 Feb 2023 22:12:05 -0500 Subject: [PATCH] rename submission button to "Open Submission Menu" --- public/_locales/en/messages.json | 7 ++----- public/popup.html | 2 +- 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 @@ __MSG_popupHint__
- +
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 { 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();