rename submission button to "Open Submission Menu"

This commit is contained in:
Ajay
2023-02-26 22:12:05 -05:00
parent 1ffe42771f
commit 290c910a1b
3 changed files with 4 additions and 7 deletions

View File

@@ -131,8 +131,8 @@
"closeIcon": { "closeIcon": {
"message": "Close Icon" "message": "Close Icon"
}, },
"SubmitTimes": { "OpenSubmissionMenu": {
"message": "Submit Segments" "message": "Open Submission Menu"
}, },
"sortSegments": { "sortSegments": {
"message": "Sort Segments" "message": "Sort Segments"
@@ -171,9 +171,6 @@
"clearTimesButton": { "clearTimesButton": {
"message": "Clear Times" "message": "Clear Times"
}, },
"submitTimesButton": {
"message": "Submit Times"
},
"publicStats": { "publicStats": {
"message": "This is used on the public stats page to show off how much you've contributed. See it" "message": "This is used on the public stats page to show off how much you've contributed. See it"
}, },

View File

@@ -105,7 +105,7 @@
<sub class="sponsorStartHint grey-text">__MSG_popupHint__</sub> <sub class="sponsorStartHint grey-text">__MSG_popupHint__</sub>
<div style="text-align: center; margin: 8px 0;"> <div style="text-align: center; margin: 8px 0;">
<button id="sponsorStart" class="sbMediumButton" style="margin-right: 8px">__MSG_sponsorStart__</button> <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> </div>
<span id="submissionHint" style="display: none">__MSG_submissionEditHint__</span> <span id="submissionHint" style="display: none">__MSG_submissionEditHint__</span>
</div> </div>

View File

@@ -1695,7 +1695,7 @@ async function createButtons(): Promise<void> {
createButton("startSegment", "sponsorStart", () => startOrEndTimingNewSegment(), "PlayerStartIconSponsorBlocker.svg"); createButton("startSegment", "sponsorStart", () => startOrEndTimingNewSegment(), "PlayerStartIconSponsorBlocker.svg");
createButton("cancelSegment", "sponsorCancel", () => cancelCreatingSegment(), "PlayerCancelSegmentIconSponsorBlocker.svg"); createButton("cancelSegment", "sponsorCancel", () => cancelCreatingSegment(), "PlayerCancelSegmentIconSponsorBlocker.svg");
createButton("delete", "clearTimes", () => clearSponsorTimes(), "PlayerDeleteIconSponsorBlocker.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"); createButton("info", "openPopup", () => openInfoMenu(), "PlayerInfoIconSponsorBlocker.svg");
const controlsContainer = getControls(); const controlsContainer = getControls();