Skip to content

Commit b256036

Browse files
fix: correct typos in user-facing messages (#2894)
1 parent ee6006e commit b256036

11 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/custom-pages/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const messages = defineMessages({
3838
},
3939
customPagesExplanationBody: {
4040
id: 'course-authoring.custom-pages.customPagesExplanation.body',
41-
defaultMessage: `You can create and edit custom pages to probide students with additional course content. For example, you can create
41+
defaultMessage: `You can create and edit custom pages to provide students with additional course content. For example, you can create
4242
pages for the grading policy, course slide, and a course calendar.`,
4343
},
4444
studentViewExplanationHeader: {

src/editors/containers/ProblemEditor/components/SelectTypeModal/content/messages.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ const messages = defineMessages({
129129
or of the content that can be provided using these tools.
130130
\n \n
131131
Test these tools thoroughly before using them in your course, especially in graded
132-
sections. Complete documentstion might not be available for provisionally supported
132+
sections. Complete documentation might not be available for provisionally supported
133133
tools, or documentation might be available from sources other than edX.}
134134
Not_supported {Tools with no support are not maintained by edX, and might be deprecated
135-
in the future. They are not recommened for use in courses due to non-compliance with one
135+
in the future. They are not recommended for use in courses due to non-compliance with one
136136
or more of the base requirements, such as testing, accessibility, internationalization,
137137
and documentation.}
138138
other { }

src/editors/containers/VideoEditor/components/VideoSettingsModal/components/TranscriptWidget/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const messages = defineMessages({
4444
},
4545
fileSizeError: {
4646
id: 'authoring.videoeditor.transcript.error.fileSizeError',
47-
defaultMessage: 'Transcript file size exeeds the maximum. Please try again.',
47+
defaultMessage: 'Transcript file size exceeds the maximum. Please try again.',
4848
description: 'Message presented to user when transcript file size is too large',
4949
},
5050
deleteTranscript: {

src/files-and-videos/videos-page/info-sidebar/transcript-item/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineMessages } from '@edx/frontend-platform/i18n';
33
const messages = defineMessages({
44
fileSizeError: {
55
id: 'course-authoriong.video-uploads.file-info.transcript.error.fileSizeError',
6-
defaultMessage: 'Transcript file size exeeds the maximum. Please try again.',
6+
defaultMessage: 'Transcript file size exceeds the maximum. Please try again.',
77
description: 'Message presented to user when transcript file size is too large',
88
},
99
deleteTranscript: {

src/generic/library-reference-card/LibraryReferenceCard.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ describe('LibraryReferenceCard', () => {
178178
/>,
179179
);
180180
expect(await screen.findByText(
181-
`${itemData.displayName} was reused as part of a section which has a broken link. To recieve library updates to this component, unlink the broken link.`,
181+
`${itemData.displayName} was reused as part of a section which has a broken link. To receive library updates to this component, unlink the broken link.`,
182182
)).toBeInTheDocument();
183183

184184
await user.click(await screen.findByRole('button', { name: 'Unlink section' }));

src/generic/library-reference-card/LibraryReferenceCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ const TopLevelTextAndButton = ({
166166
if (upstreamInfo?.readyToSync) {
167167
return (
168168
<Stack direction="vertical" gap={2}>
169-
<FormattedMessage {...messages.topParentReaadyToSyncText} values={messageValues} />
169+
<FormattedMessage {...messages.topParentReadyToSyncText} values={messageValues} />
170170
<Button
171171
variant="outline-primary"
172172
iconBefore={Cached}
173173
onClick={handleSyncClick}
174174
>
175-
<FormattedMessage {...messages.topParentReaadyToSyncBtn} values={messageValues} />
175+
<FormattedMessage {...messages.topParentReadyToSyncBtn} values={messageValues} />
176176
</Button>
177177
</Stack>
178178
);

src/generic/library-reference-card/messages.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const messages = defineMessages({
2828
},
2929
hasTopParentBrokenLinkText: {
3030
id: 'course-authoring.course-outline.sidebar.library.reference.card.has-top-parent-broken-link-text',
31-
defaultMessage: '{name} was reused as part of a {parentType} which has a broken link. To recieve library updates to this component, unlink the broken link.',
31+
defaultMessage: '{name} was reused as part of a {parentType} which has a broken link. To receive library updates to this component, unlink the broken link.',
3232
description: 'Text displayed in sidebar library reference card when a block was reused as part of a parent block which has a broken link.',
3333
},
3434
hasTopParentBrokenLinkBtn: {
@@ -51,12 +51,12 @@ const messages = defineMessages({
5151
defaultMessage: '{name} has been modified in this course.',
5252
description: 'Text displayed in sidebar library reference card when it is modified in course.',
5353
},
54-
topParentReaadyToSyncText: {
54+
topParentReadyToSyncText: {
5555
id: 'course-authoring.course-outline.sidebar.library.reference.card.top-parent-ready-to-sync-text',
5656
defaultMessage: '{name} has available updates',
5757
description: 'Text displayed in sidebar library reference card when it is has updates available.',
5858
},
59-
topParentReaadyToSyncBtn: {
59+
topParentReadyToSyncBtn: {
6060
id: 'course-authoring.course-outline.sidebar.library.reference.card.top-parent-ready-to-sync-btn',
6161
defaultMessage: 'Review Updates',
6262
description: 'Text displayed in sidebar library reference card button when it is has updates available.',

src/import-page/import-stepper/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const messages = defineMessages({
1515
},
1616
stepperUpdatingTitle: {
1717
id: 'course-authoring.import.stepper.title.updating',
18-
defaultMessage: 'Updating сourse',
18+
defaultMessage: 'Updating course',
1919
},
2020
stepperSuccessTitle: {
2121
id: 'course-authoring.import.stepper.title.success',

src/library-authoring/add-content/AddContent.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('<AddContent />', () => {
8888
expect(screen.queryByRole('button', { name: /collection/i })).toBeInTheDocument();
8989
expect(screen.queryByRole('button', { name: /text/i })).toBeInTheDocument();
9090
expect(screen.queryByRole('button', { name: /problem/i })).toBeInTheDocument();
91-
expect(screen.queryByRole('button', { name: /open reponse/i })).toBeInTheDocument(); // Excluded from MVP
91+
expect(screen.queryByRole('button', { name: /open response/i })).toBeInTheDocument(); // Excluded from MVP
9292
expect(screen.queryByRole('button', { name: /drag drop/i })).toBeInTheDocument();
9393
expect(screen.queryByRole('button', { name: /video/i })).toBeInTheDocument();
9494
expect(screen.queryByRole('button', { name: /copy from clipboard/i })).not.toBeInTheDocument();

src/library-authoring/add-content/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const messages = defineMessages({
5353
},
5454
openResponseTypeButton: {
5555
id: 'course-authoring.library-authoring.add-content.buttons.types.open-response',
56-
defaultMessage: 'Open Reponse',
56+
defaultMessage: 'Open Response',
5757
description: 'Content of button to create a Open Response component.',
5858
},
5959
dragDropTypeButton: {

0 commit comments

Comments
 (0)