Convert hint from hardcoded string

This commit is contained in:
Ajay Ramachandran
2020-10-14 23:09:16 -04:00
parent 7c82a74e78
commit afa4cfa2c6
2 changed files with 5 additions and 1 deletions

View File

@@ -145,6 +145,10 @@
"recordTimesDescription": { "recordTimesDescription": {
"message": "Submit" "message": "Submit"
}, },
"submissionEditHint": {
"message": "Section editing will appear after you click submit",
"description": "Appears in the popup to inform them that editing has been moved to the video player."
},
"popupHint": { "popupHint": {
"message": "Hint: Press the semicolon key while focused on a video to report the start/end of a segment and quote to submit." "message": "Hint: Press the semicolon key while focused on a video to report the start/end of a segment and quote to submit."
}, },

View File

@@ -66,7 +66,7 @@
<button id="sponsorStart" class="mediumButton">__MSG_sponsorStart__</button> <button id="sponsorStart" class="mediumButton">__MSG_sponsorStart__</button>
</div> </div>
<div id="submissionSection" style="display: none"> <div id="submissionSection" style="display: none">
<b style="display: block; margin-top: 12px;">Section editing will appear after you click submit</b> <b style="display: block; margin-top: 12px;">__MSG_submissionEditHint__</b>
<div id="submitTimesContainer" style="display: none; margin-top: 12px;"> <div id="submitTimesContainer" style="display: none; margin-top: 12px;">
<button id="submitTimes" class="mediumButton">__MSG_submitTimesButton__</button> <button id="submitTimes" class="mediumButton">__MSG_submitTimesButton__</button>
</div> </div>