Merge pull request #57 from edx/TNL-9804-make-small-code-stewardship-changes-to-frontend-lib-content-components

Tnl 9804 make small code stewardship changes to frontend lib content components
This commit is contained in:
bszabo
2022-04-11 18:12:19 -04:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ export const EditorFooter = ({
disabled={!isInitialized}
>
{isInitialized
? <FormattedMessage {...messages.addToCourse} />
? <FormattedMessage {...messages.saveButtonLabel} />
: <Spinner animation="border" className="mr-3" />}
</Button>
</ActionRow>

View File

@@ -7,7 +7,7 @@ export const messages = {
cancelButtonAriaLabel: {
id: 'authoring.editorfooter.cancelButton.ariaLabel',
defaultMessage: 'Discard Changes and Return to Learning Context',
description: 'Aria label for cancel button',
description: 'Screen reader label for cancel button',
},
cancelButtonLabel: {
id: 'authoring.editorfooter.cancelButton.label',
@@ -17,9 +17,9 @@ export const messages = {
saveButtonAriaLabel: {
id: 'authoring.editorfooter.savebutton.ariaLabel',
defaultMessage: 'Save Changes and Return to Learning Context',
description: 'Aria label for save button',
description: 'Screen reader label for save button',
},
addToCourse: {
saveButtonLabel: {
id: 'authoring.editorfooter.savebutton.label',
defaultMessage: 'Save',
description: 'Label for Save button',

View File

@@ -1,8 +1,8 @@
export const messages = {
loading: {
id: 'authoring.texteditor.title.loading',
description: 'Message displayed while loading content',
defaultMessage: 'Loading...',
description: 'Message displayed while loading content',
},
cancelChangesLabel: {
id: 'authoring.texteditor.header.cancelChangesLabel',