forked from openedx/frontend-app-authoring
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessages.ts
More file actions
91 lines (89 loc) · 4.01 KB
/
messages.ts
File metadata and controls
91 lines (89 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import { defineMessages } from '@edx/frontend-platform/i18n';
const messages = defineMessages({
editNameButtonAlt: {
id: 'course-authoring.library-authoring.sidebar.info.edit-name.alt',
defaultMessage: 'Edit library name',
description: 'Alt text for edit library name icon button',
},
organizationSectionTitle: {
id: 'course-authoring.library-authoring.sidebar.info.organization.title',
defaultMessage: 'Organization',
description: 'Title for Organization section in Library info sidebar.',
},
settingsSectionTitle: {
id: 'course-authoring.library-authoring.sidebar.info.settings.title',
defaultMessage: 'Settings',
description: 'Title for Settings section in Library info sidebar.',
},
libraryTeamButtonTitle: {
id: 'course-authoring.library-authoring.sidebar.info.library-team.button.title',
defaultMessage: 'Manage Access',
description: 'Title to use for the button that allows viewing/editing the Library Team user access.',
},
libraryHistorySectionTitle: {
id: 'course-authoring.library-authoring.sidebar.info.history.title',
defaultMessage: 'Library History',
description: 'Title for Library History section in Library info sidebar.',
},
lastModifiedLabel: {
id: 'course-authoring.library-authoring.sidebar.info.history.last-modified',
defaultMessage: 'Last Modified',
description: 'Last Modified label used in Library History section.',
},
createdLabel: {
id: 'course-authoring.library-authoring.sidebar.info.history.created',
defaultMessage: 'Created',
description: 'Created label used in Library History section.',
},
publishSuccessMsg: {
id: 'course-authoring.library-authoring.publish.success',
defaultMessage: 'Library published successfully',
description: 'Message when the library is published successfully.',
},
publishErrorMsg: {
id: 'course-authoring.library-authoring.publish.error',
defaultMessage: 'There was an error publishing the library.',
description: 'Message when there is an error when publishing the library.',
},
revertSuccessMsg: {
id: 'course-authoring.library-authoring.revert.success',
defaultMessage: 'Library changes reverted successfully',
description: 'Message when the library changes are reverted successfully.',
},
revertErrorMsg: {
id: 'course-authoring.library-authoring.revert.error',
defaultMessage: 'There was an error reverting changes in the library.',
description: 'Message when there is an error when reverting changes in the library.',
},
updateLibrarySuccessMsg: {
id: 'course-authoring.library-authoring.library.update.success',
defaultMessage: 'Library updated successfully',
description: 'Message when the library is updated successfully',
},
updateLibraryErrorMsg: {
id: 'course-authoring.library-authoring.library.update.error',
defaultMessage: 'There was an error updating the library',
description: 'Message when there is an error when updating the library',
},
discardChangesTitle: {
id: 'course-authoring.library-authoring.library.discardChangesTitle',
defaultMessage: 'Discard changes',
description: 'Title text for confirmation modal shown before discard library changes',
},
discardChangesDescription: {
id: 'course-authoring.library-authoring.library.discardChangesDescription',
defaultMessage: 'Are you sure you want to discard all unpublished changes in this library? This will include changes made by other users',
description: 'Description text for confirmation modal shown before discard library changes',
},
discardChangesDefaultBtnLabel: {
id: 'course-authoring.library-authoring.library.discardChangesDefaultBtnLabel',
defaultMessage: 'Discard',
description: 'Button text for confirmation modal shown before discard library changes',
},
publishLibraryButtonLabel: {
id: 'course-authoring.library-authoring.library.publishLibraryButtonLabel',
defaultMessage: 'Publish All',
description: 'Button text for publish library button',
},
});
export default messages;