fix: correct typos in user-facing messages (#2894)
This commit is contained in:
@@ -38,7 +38,7 @@ const messages = defineMessages({
|
||||
},
|
||||
customPagesExplanationBody: {
|
||||
id: 'course-authoring.custom-pages.customPagesExplanation.body',
|
||||
defaultMessage: `You can create and edit custom pages to probide students with additional course content. For example, you can create
|
||||
defaultMessage: `You can create and edit custom pages to provide students with additional course content. For example, you can create
|
||||
pages for the grading policy, course slide, and a course calendar.`,
|
||||
},
|
||||
studentViewExplanationHeader: {
|
||||
|
||||
@@ -129,10 +129,10 @@ const messages = defineMessages({
|
||||
or of the content that can be provided using these tools.
|
||||
\n \n
|
||||
Test these tools thoroughly before using them in your course, especially in graded
|
||||
sections. Complete documentstion might not be available for provisionally supported
|
||||
sections. Complete documentation might not be available for provisionally supported
|
||||
tools, or documentation might be available from sources other than edX.}
|
||||
Not_supported {Tools with no support are not maintained by edX, and might be deprecated
|
||||
in the future. They are not recommened for use in courses due to non-compliance with one
|
||||
in the future. They are not recommended for use in courses due to non-compliance with one
|
||||
or more of the base requirements, such as testing, accessibility, internationalization,
|
||||
and documentation.}
|
||||
other { }
|
||||
|
||||
@@ -44,7 +44,7 @@ const messages = defineMessages({
|
||||
},
|
||||
fileSizeError: {
|
||||
id: 'authoring.videoeditor.transcript.error.fileSizeError',
|
||||
defaultMessage: 'Transcript file size exeeds the maximum. Please try again.',
|
||||
defaultMessage: 'Transcript file size exceeds the maximum. Please try again.',
|
||||
description: 'Message presented to user when transcript file size is too large',
|
||||
},
|
||||
deleteTranscript: {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { defineMessages } from '@edx/frontend-platform/i18n';
|
||||
const messages = defineMessages({
|
||||
fileSizeError: {
|
||||
id: 'course-authoriong.video-uploads.file-info.transcript.error.fileSizeError',
|
||||
defaultMessage: 'Transcript file size exeeds the maximum. Please try again.',
|
||||
defaultMessage: 'Transcript file size exceeds the maximum. Please try again.',
|
||||
description: 'Message presented to user when transcript file size is too large',
|
||||
},
|
||||
deleteTranscript: {
|
||||
|
||||
@@ -178,7 +178,7 @@ describe('LibraryReferenceCard', () => {
|
||||
/>,
|
||||
);
|
||||
expect(await screen.findByText(
|
||||
`${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.`,
|
||||
`${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.`,
|
||||
)).toBeInTheDocument();
|
||||
|
||||
await user.click(await screen.findByRole('button', { name: 'Unlink section' }));
|
||||
|
||||
@@ -166,13 +166,13 @@ const TopLevelTextAndButton = ({
|
||||
if (upstreamInfo?.readyToSync) {
|
||||
return (
|
||||
<Stack direction="vertical" gap={2}>
|
||||
<FormattedMessage {...messages.topParentReaadyToSyncText} values={messageValues} />
|
||||
<FormattedMessage {...messages.topParentReadyToSyncText} values={messageValues} />
|
||||
<Button
|
||||
variant="outline-primary"
|
||||
iconBefore={Cached}
|
||||
onClick={handleSyncClick}
|
||||
>
|
||||
<FormattedMessage {...messages.topParentReaadyToSyncBtn} values={messageValues} />
|
||||
<FormattedMessage {...messages.topParentReadyToSyncBtn} values={messageValues} />
|
||||
</Button>
|
||||
</Stack>
|
||||
);
|
||||
|
||||
@@ -28,7 +28,7 @@ const messages = defineMessages({
|
||||
},
|
||||
hasTopParentBrokenLinkText: {
|
||||
id: 'course-authoring.course-outline.sidebar.library.reference.card.has-top-parent-broken-link-text',
|
||||
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.',
|
||||
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.',
|
||||
description: 'Text displayed in sidebar library reference card when a block was reused as part of a parent block which has a broken link.',
|
||||
},
|
||||
hasTopParentBrokenLinkBtn: {
|
||||
@@ -51,12 +51,12 @@ const messages = defineMessages({
|
||||
defaultMessage: '{name} has been modified in this course.',
|
||||
description: 'Text displayed in sidebar library reference card when it is modified in course.',
|
||||
},
|
||||
topParentReaadyToSyncText: {
|
||||
topParentReadyToSyncText: {
|
||||
id: 'course-authoring.course-outline.sidebar.library.reference.card.top-parent-ready-to-sync-text',
|
||||
defaultMessage: '{name} has available updates',
|
||||
description: 'Text displayed in sidebar library reference card when it is has updates available.',
|
||||
},
|
||||
topParentReaadyToSyncBtn: {
|
||||
topParentReadyToSyncBtn: {
|
||||
id: 'course-authoring.course-outline.sidebar.library.reference.card.top-parent-ready-to-sync-btn',
|
||||
defaultMessage: 'Review Updates',
|
||||
description: 'Text displayed in sidebar library reference card button when it is has updates available.',
|
||||
|
||||
@@ -15,7 +15,7 @@ const messages = defineMessages({
|
||||
},
|
||||
stepperUpdatingTitle: {
|
||||
id: 'course-authoring.import.stepper.title.updating',
|
||||
defaultMessage: 'Updating сourse',
|
||||
defaultMessage: 'Updating course',
|
||||
},
|
||||
stepperSuccessTitle: {
|
||||
id: 'course-authoring.import.stepper.title.success',
|
||||
|
||||
@@ -88,7 +88,7 @@ describe('<AddContent />', () => {
|
||||
expect(screen.queryByRole('button', { name: /collection/i })).toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: /text/i })).toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: /problem/i })).toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: /open reponse/i })).toBeInTheDocument(); // Excluded from MVP
|
||||
expect(screen.queryByRole('button', { name: /open response/i })).toBeInTheDocument(); // Excluded from MVP
|
||||
expect(screen.queryByRole('button', { name: /drag drop/i })).toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: /video/i })).toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: /copy from clipboard/i })).not.toBeInTheDocument();
|
||||
|
||||
@@ -53,7 +53,7 @@ export const messages = defineMessages({
|
||||
},
|
||||
openResponseTypeButton: {
|
||||
id: 'course-authoring.library-authoring.add-content.buttons.types.open-response',
|
||||
defaultMessage: 'Open Reponse',
|
||||
defaultMessage: 'Open Response',
|
||||
description: 'Content of button to create a Open Response component.',
|
||||
},
|
||||
dragDropTypeButton: {
|
||||
|
||||
@@ -252,7 +252,7 @@ const messages = defineMessages({
|
||||
},
|
||||
importFailedAlertBody: {
|
||||
id: 'library-authoring.import-course.import-details.import-failed.body',
|
||||
defaultMessage: '{courseName} was not imported into your Library. See details bellow',
|
||||
defaultMessage: '{courseName} was not imported into your Library. See details below',
|
||||
description: 'Body of the import failed card in the import details page.',
|
||||
},
|
||||
importFailedDetailsSectionTitle: {
|
||||
@@ -288,7 +288,7 @@ const messages = defineMessages({
|
||||
importPartialAlertBody: {
|
||||
id: 'library-authoring.import-course.import-details.import-partial.alert.title',
|
||||
defaultMessage: '{courseName} has been imported to your library in a collection called {collectionName}.'
|
||||
+ ' Some content was not added to your course. See details bellow.',
|
||||
+ ' Some content was not added to your course. See details below.',
|
||||
description: 'Body of the alert in the import details page when the migration is in partial import.',
|
||||
},
|
||||
importPartialBody: {
|
||||
|
||||
Reference in New Issue
Block a user