Skip to content

Commit 384ba56

Browse files
committed
extract numbering from i18n strings
1 parent e779080 commit 384ba56

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

apps/i18n/common/en_us.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"allowEditing": "Allow editing",
3-
"allowEditingInstructions": "1. \"Allow editing\" while students should be taking the assessment.",
3+
"allowEditingInstructions": "\"Allow editing\" while students should be taking the assessment.",
44
"and": "and",
55
"animationMode": "Animation",
66
"answersVisible": "Answers visible (read-only)",
@@ -186,7 +186,7 @@
186186
"lockFollowing": "Lock the following stages that are currently unlocked:",
187187
"lockSettings": "Lock settings",
188188
"lockStage": "Lock stage",
189-
"lockStageInstructions": "2. Once time is up, \"Lock stage\" to hide questions.",
189+
"lockStageInstructions": "Once time is up, \"Lock stage\" to hide questions.",
190190
"lockWhenDone": "Lock as soon as students are done",
191191
"makeYourOwnFlappy": "Make Your Own Flappy Game",
192192
"missingRecommendedBlocksErrorMsg": "Not quite. Try using a block you aren’t using yet.",
@@ -232,12 +232,12 @@
232232
"readonlyWorkspaceHeader": "View only: ",
233233
"recommendedBlockContextualHintTitle": "Try using a block like this to solve the puzzle.",
234234
"relockStage": "Re-lock stage",
235-
"relockStageInstructions": "4. \"Re-lock stage\" to prevent sharing of answers with other classes/schools.",
235+
"relockStageInstructions": "\"Re-lock stage\" to prevent sharing of answers with other classes/schools.",
236236
"repeat": "repeat",
237237
"reportAbuse": "Report Abuse",
238238
"resetProgram": "Reset",
239239
"restoreThisVersion": "Restore this Version",
240-
"reviewResponses": "5. Go to the assessment/survey tab for your section to review student responses.",
240+
"reviewResponses": "Go to the assessment/survey tab for your section to review student responses.",
241241
"rotateText": "Rotate your device.",
242242
"runProgram": "Run",
243243
"runTooltip": "Run the program defined by the blocks in the workspace.",
@@ -275,7 +275,7 @@
275275
"unsubmitYourProject": "Unsubmit your project",
276276
"unsubmitYourProjectConfirm": "Unsubmitting your project will reset the submitted date, really unsubmit?",
277277
"showAnswers": "Show answers",
278-
"showAnswersInstructions": "3. \"Show answers\" to put the assessment into a read-only mode.",
278+
"showAnswersInstructions": "\"Show answers\" to put the assessment into a read-only mode.",
279279
"student": "Student",
280280
"studentControl": "Individual student control",
281281
"subtitle": "a visual programming environment",

apps/src/code-studio/components/progress/StageLockDialog.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const StageLockDialog = React.createClass({
149149
<table>
150150
<tbody>
151151
<tr>
152-
<td>{commonMsg.allowEditingInstructions()}</td>
152+
<td>1. {commonMsg.allowEditingInstructions()}</td>
153153
<td>
154154
<button
155155
style={progressStyles.orangeButton}
@@ -160,7 +160,7 @@ const StageLockDialog = React.createClass({
160160
</td>
161161
</tr>
162162
<tr>
163-
<td>{commonMsg.lockStageInstructions()}</td>
163+
<td>2. {commonMsg.lockStageInstructions()}</td>
164164
<td>
165165
<button
166166
style={progressStyles.orangeButton}
@@ -171,7 +171,7 @@ const StageLockDialog = React.createClass({
171171
</td>
172172
</tr>
173173
<tr>
174-
<td>{commonMsg.showAnswersInstructions()}</td>
174+
<td>3. {commonMsg.showAnswersInstructions()}</td>
175175
<td>
176176
<button
177177
style={progressStyles.orangeButton}
@@ -182,7 +182,7 @@ const StageLockDialog = React.createClass({
182182
</td>
183183
</tr>
184184
<tr>
185-
<td>{commonMsg.relockStageInstructions()}</td>
185+
<td>4. {commonMsg.relockStageInstructions()}</td>
186186
<td>
187187
<button
188188
style={progressStyles.orangeButton}
@@ -193,7 +193,7 @@ const StageLockDialog = React.createClass({
193193
</td>
194194
</tr>
195195
<tr>
196-
<td>{commonMsg.reviewResponses()}</td>
196+
<td>5. {commonMsg.reviewResponses()}</td>
197197
<td>
198198
<button
199199
style={progressStyles.whiteButton}

0 commit comments

Comments
 (0)