Skip to content

Commit 29334e4

Browse files
refactor(client): move punctuation mark to translation string (freeCodeCamp#55798)
1 parent aec2fd2 commit 29334e4

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

client/i18n/locales/english/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
"rsa-forum": "<strong>Before making a new post</strong> please <0>check if your question has already been answered on the forum</0>.",
409409
"reset": "Reset this lesson?",
410410
"reset-warn": "Are you sure you wish to reset this lesson? The editors and tests will be reset.",
411-
"reset-warn-2": "This cannot be undone",
411+
"reset-warn-2": "This cannot be undone.",
412412
"scrimba-tip": "Tip: If the mini-browser is covering the code, click and drag to move it. Also, feel free to stop and edit the code in the video at any time.",
413413
"chal-preview": "Challenge Preview",
414414
"donation-record-not-found": "Your donation record has not been found.",

client/src/templates/Challenges/components/reset-modal.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,11 @@ function ResetModal({ reset, close, isOpen }: ResetModalProps): JSX.Element {
4545
<Modal.Header showCloseButton={true} closeButtonClassNames='close'>
4646
{t('learn.reset')}
4747
</Modal.Header>
48-
<Modal.Body>
49-
<div className='text-center'>
50-
<p>{t('learn.reset-warn')}</p>
51-
<p>
52-
<em>{t('learn.reset-warn-2')}</em>.
53-
</p>
54-
</div>
48+
<Modal.Body alignment='center'>
49+
<p>{t('learn.reset-warn')}</p>
50+
<p>
51+
<em>{t('learn.reset-warn-2')}</em>
52+
</p>
5553
</Modal.Body>
5654
<Modal.Footer>
5755
<Button

0 commit comments

Comments
 (0)