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:
@@ -56,7 +56,7 @@ export const EditorFooter = ({
|
||||
disabled={!isInitialized}
|
||||
>
|
||||
{isInitialized
|
||||
? <FormattedMessage {...messages.addToCourse} />
|
||||
? <FormattedMessage {...messages.saveButtonLabel} />
|
||||
: <Spinner animation="border" className="mr-3" />}
|
||||
</Button>
|
||||
</ActionRow>
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user