Skip to content

Commit e943f18

Browse files
fix: change modal message
1 parent c909db1 commit e943f18

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/enrollments/components/EnrollmentStatusModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const EnrollmentStatusModal = ({ isOpen, onClose }: EnrollmentStatusModalProps)
3232
</ModalDialog.Header>
3333
<ModalDialog.Body className="border-bottom border-top border-light-700">
3434
<div className="my-2">
35-
<p>{intl.formatMessage(messages.addLearnerInstructions)}</p>
35+
<p>{intl.formatMessage(messages.enrollmentStatusInstructions)}</p>
3636
<FormControl
3737
placeholder={intl.formatMessage(messages.enrollmentStatusPlaceholder)}
3838
value={learnerIdentifier}

src/enrollments/messages.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ const messages = defineMessages({
6464
addLearnerInstructions: {
6565
id: 'instruct.enrollments.modals.checkEnrollmentStatus.addLearnerInstructions',
6666
defaultMessage: 'Enter email addresses and/or usernames separated by new lines or commas. You will not get notification for emails that bounce, so please double-check spelling.',
67-
description: 'Instructions for enroll learners to the course',
67+
description: 'Instructions for enrolling learners to the course',
68+
},
69+
enrollmentStatusInstructions: {
70+
id: 'instruct.enrollments.modals.checkEnrollmentStatus.enrollmentStatusInstructions',
71+
defaultMessage: 'Enter email address or username. You will not get correct status for emails that bounce, so please double-check spelling.',
72+
description: 'Instructions for checking enrollment status of a learner in the course',
6873
},
6974
enrollmentStatusPlaceholder: {
7075
id: 'instruct.enrollments.modals.checkEnrollmentStatus.enrollmentStatusPlaceholder',

0 commit comments

Comments
 (0)