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
103 lines (101 loc) · 4.66 KB
/
messages.ts
File metadata and controls
103 lines (101 loc) · 4.66 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
92
93
94
95
96
97
98
99
100
101
102
103
import { defineMessages } from '@edx/frontend-platform/i18n';
const messages = defineMessages({
alertFailedGeneric: {
id: 'course-authoring.course-unit.general.alert.error.description',
defaultMessage: 'Unable to {actionName} {type}. Please try again.',
},
alertUnpublishedVersion: {
id: 'course-authoring.course-unit.general.alert.unpublished-version.description',
defaultMessage: 'Note: The last published version of this unit is live. By publishing changes you will change the student experience.',
},
pasteButtonText: {
id: 'course-authoring.course-unit.paste-component.btn.text',
defaultMessage: 'Paste component',
},
alertMoveSuccessTitle: {
id: 'course-authoring.course-unit.alert.xblock.move.success.title',
defaultMessage: 'Success!',
description: 'Title for the success alert when an XBlock is moved successfully',
},
alertMoveSuccessDescription: {
id: 'course-authoring.course-unit.alert.xblock.move.success.description',
defaultMessage: '{title} has been moved',
description: 'Description for the success alert when an XBlock is moved successfully',
},
alertMoveCancelTitle: {
id: 'course-authoring.course-unit.alert.xblock.move.cancel.title',
defaultMessage: 'Move cancelled',
description: 'Title for the alert when moving an XBlock is cancelled',
},
alertMoveCancelDescription: {
id: 'course-authoring.course-unit.alert.xblock.move.cancel.description',
defaultMessage: '{title} has been moved back to its original location',
description: 'Description for the alert when moving an XBlock is cancelled and the XBlock is moved back to its original location',
},
undoMoveButton: {
id: 'course-authoring.course-unit.alert.xblock.move.undo.btn.text',
defaultMessage: 'Undo move',
description: 'Text for the button allowing users to undo a move action of an XBlock',
},
newLocationButton: {
id: 'course-authoring.course-unit.alert.xblock.new.location.btn.text',
defaultMessage: 'Take me to the new location',
description: 'Text for the button allowing users to navigate to the new location after an XBlock has been moved',
},
alertLibraryUnitReadOnlyText: {
id: 'course-authoring.course-unit.alert.read-only.text',
defaultMessage: 'Only certain edits are possible for {link}. {learnMore}',
description: 'Text of the alert when the unit is read only because is a library unit',
},
alertLibraryUnitReadOnlyLinkText: {
id: 'course-authoring.course-unit.alert.read-only.link.text',
defaultMessage: 'library content',
description: 'Text of the link in the alert when the unit is read only because is a library unit',
},
alertLibraryUnitReadOnlyLearnMoreText: {
id: 'course-authoring.course-unit.alert.read-only.learn-more.text',
defaultMessage: 'Learn More',
description: 'Text of the learn more link in the alert when the unit is read only because is a library unit',
},
statusBarDraftChangesBadge: {
id: 'course-authoring.course-unit.status-bar.publish-status.draft-changes',
defaultMessage: 'Unpublished changes',
description: 'Text for the Draft Changes Badge in the status bar.',
},
statusBarDiscussionsEnabled: {
id: 'course-authoring.course-unit.status-bar.discussions-enabled',
defaultMessage: 'Discussions Enabled',
description: 'Text for the Discussions enabled Badge in the status bar.',
},
statusBarDraftNeverPublished: {
id: 'course-authoring.course-unit.status-bar.visibility.draft',
defaultMessage: 'Draft (Never Published)',
description: 'Text for the Discussions enabled Badge in the status bar.',
},
statusBarGroupAccessOneGroup: {
id: 'course-authoring.course-unit.status-bar.access.one-group',
defaultMessage: 'Access: {groupName}',
description: 'Text in the status bar when the access for the unit is for one group',
},
statusBarGroupAccessMultipleGroup: {
id: 'course-authoring.course-unit.status-bar.access.multiple-group',
defaultMessage: 'Access: {groupsCount} Groups',
description: 'Text in the status bar when the access for the unit is for one group',
},
statusBarLiveBadge: {
id: 'course-authoring.course-unit.status-bar.visibility.chip',
defaultMessage: 'Live',
description: 'Text for the Live Badge in the status bar.',
},
statusBarStaffOnly: {
id: 'course-authoring.course-unit.status-bar.visibility.staff-only',
defaultMessage: 'Staff Only',
description: 'Text for the Staff Only Badge in the status bar.',
},
statusBarScheduledBadge: {
id: 'course-authoring.course-unit.status-bar.visibility.scheduled',
defaultMessage: 'Scheduled',
description: 'Text for the Upcoming Badge in the status bar.',
},
});
export default messages;