chore: [MICROBA-1780] Copy edits (#901)
A partner was not happy with messaging for a course whose students were in the "earned-not-available" state. This aims to make the messaging more clear.
This commit is contained in:
@@ -130,9 +130,9 @@ function CourseCelebration({ intl }) {
|
||||
<>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
id="courseCelebration.certificateBody.notAvailable.endDate"
|
||||
defaultMessage="This course ended on {endDate} and final grades and certificates are scheduled to be
|
||||
available after {certAvailableDate}."
|
||||
id="courseCelebration.certificateBody.notAvailable.endDate.v2"
|
||||
defaultMessage="This course ends on {endDate}. Final grades and any earned certificates are
|
||||
scheduled to be available after {certAvailableDate}."
|
||||
values={{ endDate, certAvailableDate }}
|
||||
description="This shown for leaner when they are eligible for certifcate but it't not available yet, it could because leaners just finished the course quickly!"
|
||||
/>
|
||||
|
||||
@@ -136,7 +136,7 @@ describe('Course Exit Pages', () => {
|
||||
},
|
||||
});
|
||||
await fetchAndRender(<CourseCelebration />);
|
||||
expect(screen.getByText('Your grade and certificate will be ready soon!')).toBeInTheDocument();
|
||||
expect(screen.getByText('Your grade and certificate status will be available soon.')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('Displays request certificate link', async () => {
|
||||
|
||||
@@ -13,7 +13,7 @@ const messages = defineMessages({
|
||||
},
|
||||
certificateHeaderNotAvailable: {
|
||||
id: 'courseCelebration.certificateHeader.notAvailable',
|
||||
defaultMessage: 'Your grade and certificate will be ready soon!',
|
||||
defaultMessage: 'Your grade and certificate status will be available soon.',
|
||||
description: 'Header displayed when course certificate is not yet available to be viewed',
|
||||
},
|
||||
certificateNotAvailableBodyAccessCert: {
|
||||
|
||||
Reference in New Issue
Block a user