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
340 lines (338 loc) · 18.2 KB
/
messages.ts
File metadata and controls
340 lines (338 loc) · 18.2 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
import { defineMessages } from '@edx/frontend-platform/i18n';
const messages = defineMessages({
pageTitle: {
id: 'course-authoring.library-authoring.import-course.title',
defaultMessage: 'Import',
description: 'Title for the library import course',
},
pageSubtitle: {
id: 'course-authoring.library-authoring.import-course.subtitle',
defaultMessage: 'Tools',
description: 'Subtitle for the library import course',
},
emptyStateText: {
id: 'course-authoring.library-authoring.import-course.empty-state.text',
defaultMessage: 'You have not imported any courses into this library.',
description: 'Text for the empty state of the library import course',
},
emptyStateButtonText: {
id: 'course-authoring.library-authoring.import-course.empty-state.button.text',
defaultMessage: 'Import Course',
description: 'Text for the button to import a course into the library',
},
courseImportPreviousImports: {
id: 'course-authoring.library-authoring.import-course.previous-imports',
defaultMessage: 'Previous Imports',
description: 'Title for the list of previous imports',
},
courseImportTextProgress: {
id: 'course-authoring.library-authoring.import-course.course.text',
defaultMessage: '% Imported',
description: 'Text for the course import state',
},
courseImportTextFailed: {
id: 'course-authoring.library-authoring.import-course.course.text-failed',
defaultMessage: 'Import Failed',
description: 'Text for the course import failed state',
},
courseImportNavigateAlt: {
id: 'course-authoring.library-authoring.import-course.course.navigate-alt',
defaultMessage: 'Navigate to course',
description: 'Alt text for the course import navigate button',
},
helpAndSupportTitle: {
id: 'course-authoring.library-authoring.import-course.help-and-support.title',
defaultMessage: 'Help & Support',
description: 'Title of the Help & Support sidebar',
},
helpAndSupportFirstQuestionTitle: {
id: 'course-authoring.library-authoring.import-course.help-and-support.q1.title',
defaultMessage: 'Why import a course?',
description: 'Title of the first question in the Help & Support sidebar',
},
helpAndSupportFirstQuestionBody: {
id: 'course-authoring.library-authoring.import-course.help-and-support.q1.body',
defaultMessage: '<p>You can import existing courses into a library in order to reference '
+ 'course content across courses.</p>'
+ '<p>Courses with content you or others may want to reuse or reference in the future are '
+ 'excellent candidates for import.</p>',
description: 'Body of the first question in the Help & Support sidebar',
},
helpAndSupportSecondQuestionTitle: {
id: 'course-authoring.library-authoring.import-course.help-and-support.q2.title',
defaultMessage: 'What content is imported?',
description: 'Title of the second question in the Help & Support sidebar',
},
helpAndSupportSecondQuestionBody: {
id: 'course-authoring.library-authoring.import-course.help-and-support.q2.body',
defaultMessage: '<p>You can select a course to import and decide whether to import all sections, '
+ 'subsections, units, or blocks from this course.</p>'
+ '<p>Not all courses content types can be imported, but this page will convey the status of imports '
+ 'and share any import errors found while importing your course.</p>'
+ '<p>For additional details you can review the Library Import documentation.</p>',
description: 'Body of the second question in the Help & Support sidebar',
},
importCourseStepperTitle: {
id: 'course-authoring.library-authoring.import-course.stepper.title',
defaultMessage: 'Import Course to Library',
description: 'Title for the modal to import a course into a library.',
},
importCourseButton: {
id: 'course-authoring.library-authoring.import-course.button.text',
defaultMessage: 'Import Course',
description: 'Label of the button to open the modal to import a course into a library.',
},
importCourseSelectCourseStep: {
id: 'course-authoring.library-authoring.import-course.stepper.select-course.title',
defaultMessage: 'Select Course',
description: 'Title for the step to select course in the modal to import a course into a library.',
},
importCourseReviewDetailsStep: {
id: 'course-authoring.library-authoring.import-course.stepper.review-details.title',
defaultMessage: 'Review Import Details',
description: 'Title for the step to review import details in the modal to import a course into a library.',
},
importCourseCalcel: {
id: 'course-authoring.library-authoring.import-course.stepper.cancel.text',
defaultMessage: 'Cancel',
description: 'Label of the button to cancel the course import.',
},
importCourseNext: {
id: 'course-authoring.library-authoring.import-course.stepper.next.text',
defaultMessage: 'Next step',
description: 'Label of the button go to the next step in the course import modal.',
},
importCourseBack: {
id: 'course-authoring.library-authoring.import-course.stepper.back.text',
defaultMessage: 'Back',
description: 'Label of the button to go to the previous step in the course import modal.',
},
importCourseInProgressStatusTitle: {
id: 'course-authoring.library-authoring.import-course.review-details.in-progress.title',
defaultMessage: 'Import Analysis in Progress',
description: 'Titile for the info card with the in-progress status in the course import modal.',
},
importCourseInProgressStatusBody: {
id: 'course-authoring.library-authoring.import-course.review-details.in-progress.body',
defaultMessage: '{courseName} is being analyzed for review prior to import. For large courses, this may take some time.'
+ ' Please remain on this page.',
description: 'Body of the info card with the in-progress status in the course import modal.',
},
importCourseAnalysisSummary: {
id: 'course-authoring.library-authoring.import-course.review-details.analysis-symmary.title',
defaultMessage: 'Analysis Summary',
description: 'Title of the card for the analysis summary of a imported course.',
},
importCourseTotalBlocks: {
id: 'course-authoring.library-authoring.import-course.review-details.analysis-symmary.total-blocks',
defaultMessage: 'Total Blocks',
description: 'Label title for the total blocks in the analysis summary of a imported course.',
},
importCourseSections: {
id: 'course-authoring.library-authoring.import-course.review-details.analysis-symmary.sections',
defaultMessage: 'Sections',
description: 'Label title for the number of sections in the analysis summary of a imported course.',
},
importCourseSubsections: {
id: 'course-authoring.library-authoring.import-course.review-details.analysis-symmary.subsections',
defaultMessage: 'Subsections',
description: 'Label title for the number of subsections in the analysis summary of a imported course.',
},
importCourseUnits: {
id: 'course-authoring.library-authoring.import-course.review-details.analysis-symmary.units',
defaultMessage: 'Units',
description: 'Label title for the number of units in the analysis summary of a imported course.',
},
importCourseComponents: {
id: 'course-authoring.library-authoring.import-course.review-details.analysis-symmary.components',
defaultMessage: 'Components',
description: 'Label title for the number of components in the analysis summary of a imported course.',
},
importCourseDetailsTitle: {
id: 'course-authoring.library-authoring.import-course.review-details.import-details.title',
defaultMessage: 'Analysis Details',
description: 'Title of the card for the analysis details of a imported course.',
},
importCourseDetailsLoadingBody: {
id: 'course-authoring.library-authoring.import-course.review-details.import-details.loading.body',
defaultMessage: 'The selected course is being analyzed for import and review',
description: 'Body of the card in loading state for the import details of a imported course.',
},
previouslyImported: {
id: 'course-authoring.library-authoring.import-course.course-list.card.previously-imported.text',
defaultMessage: 'Previously Imported',
description: 'Chip that indicates that the course has been previously imported.',
},
importCourseAnalysisCompleteAllContentTitle: {
id: 'library-authoring.import-course.review-details.in-progress.title',
defaultMessage: 'Import Analysis Complete',
description: 'Title of the info card when course import analysis is complete and all data can be imported.',
},
importCourseAnalysisCompleteAllContentBody: {
id: 'library-authoring.import-course.review-details.analysis-complete.100.body',
defaultMessage: 'All course content will be imported into a collection in your library called {courseName}. See details below.',
description: 'Body of the info card when course import analysis is complete and all data can be imported.',
},
importCourseAnalysisCompleteSomeContentTitle: {
id: 'library-authoring.import-course.review-details.in-progress.title',
defaultMessage: 'Import Analysis Complete',
description: 'Title of the info card when course import analysis is complete and some data can be imported.',
},
importCourseAnalysisCompleteSomeContentBody: {
id: 'library-authoring.import-course.review-details.analysis-complete.100.body',
defaultMessage: '{supportedBlockPercentage}% of course content will be imported into a collection in your library called {courseName}. Some content will not be imported. For details see below.',
description: 'Body of the info card when course import analysis is complete and some data can be imported.',
},
importCourseAnalysisDetailsUnsupportedBlocksBody: {
id: 'library-authoring.import-course.review-details.analysis-details.unsupportedBlocks.body',
defaultMessage: 'Some block types cannot be imported into your library because they’re not yet supported. These blocks will be replaced with a placeholder block in the library. For more information, reference the Help & Support sidebar.',
description: 'Body of analysis details when some unsupported blocks are present',
},
importCourseComponentsUnsupportedInfo: {
id: 'library-authoring.import-course.review-details.analysis-summary.components.unsupportedInfo',
defaultMessage: '{count, plural, one {{count} block} other {{count} blocks}} unsupported',
description: 'Message to display on hovering over info icon near components number for unsupported blocks',
},
importCourseAnalysisDetails: {
id: 'library-authoring.import-course.review-details.analysis-details.title',
defaultMessage: 'Analysis Details',
description: 'Title of the card for the analysis details of a imported course.',
},
importCourseAnalysisCompleteReimportTitle: {
id: 'library-authoring.import-course.review-details.analysis-complete.reimport.title',
defaultMessage: 'Import Analysis Completed: Reimport',
description: 'Title of the info card when course import analysis is complete and it was already imported before.',
},
importCourseAnalysisCompleteReimportBody: {
id: 'library-authoring.import-course.review-details.analysis-complete.reimport.body',
defaultMessage: '{courseName} has already been imported into the Library "{libraryName}". If this course is re-imported, all Sections, Subsections, Units and Content Blocks will be reimported again.',
description: 'Body of the info card when course import analysis is complete and it was already imported before.',
},
importCourseCompleteFailedToastMessage: {
id: 'library-authoring.import-course.complete-import.failed.toast.message',
defaultMessage: '{courseName} migration failed.',
description: 'Toast message that indicates course migration failed.',
},
importDetailsTitle: {
id: 'library-authoring.import-course.import-details.title',
defaultMessage: 'Import Details',
description: 'Title of the Import Details page, in the import course',
},
importSuccessfulAlertTitle: {
id: 'library-authoring.import-course.import-details.import-successful.alert.title',
defaultMessage: 'Import Successful',
description: 'Title of the import successful alert in the import details page',
},
importSuccessfulAlertBody: {
id: 'library-authoring.import-course.import-details.import-successful.alert.body',
defaultMessage: '{courseName} has been imported to your library in a collection called {collectionName}',
description: 'Body of the import successful alert in the import details page',
},
importSuccessfulBody: {
id: 'library-authoring.import-course.import-details.import-successful.body',
defaultMessage: 'Course {courseName} has been imported successfully.'
+ ' Imported Course content can be edited and remixed in your Library, and reused in Courses',
description: 'Body of the import successful card in the import details page',
},
importSummaryTitle: {
id: 'library-authoring.import-course.import-details.import-summary.title',
defaultMessage: 'Import Summary',
description: 'Title of the import summary card in the import details page',
},
viewImportedContentButton: {
id: 'library-authoring.import-course.import-details.view-imported-content.button',
defaultMessage: 'View Imported Content',
description: 'Label of the button to view imported conten of a imported course',
},
importFailedAlertTitle: {
id: 'library-authoring.import-course.import-details.import-failed.title',
defaultMessage: 'Import Failed',
description: 'Title of the import failed card in the import details page.',
},
importFailedAlertBody: {
id: 'library-authoring.import-course.import-details.import-failed.body',
defaultMessage: '{courseName} was not imported into your Library. See details below',
description: 'Body of the import failed card in the import details page.',
},
importFailedDetailsSectionTitle: {
id: 'library-authoring.import-course.import-details.import-failed.details.title',
defaultMessage: 'Details',
description: 'Title of the details section in the import details for a failed import',
},
importFailedDetailsSectionBody: {
id: 'library-authoring.import-course.import-details.import-failed.details.body',
defaultMessage: 'Import failed for the following reasons:',
description: 'Body of the details section in the import details for a failed import',
},
importFailedRetryImportButton: {
id: 'library-authoring.import-course.import-details.import-failed.re-try-import',
defaultMessage: 'Re-try Import',
description: 'Label of the button to re-try a failed import.',
},
importInProgressTitle: {
id: 'library-authoring.import-course.import-details.import-in-progress.title',
defaultMessage: 'Import in Progress',
description: 'Title of the import details when the migration is in progress',
},
importInProgressBody: {
id: 'library-authoring.import-course.import-details.import-in-progress.body',
defaultMessage: 'Course {courseName} is being imported. This page will update when import is complete',
description: 'Body of the import details when the migration is in progress',
},
importPartialAlertTitle: {
id: 'library-authoring.import-course.import-details.import-partial.alert.title',
defaultMessage: 'Partial Import Successful',
description: 'Title of the alert in the import details page when the migration is in partial import.',
},
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 below.',
description: 'Body of the alert in the import details page when the migration is in partial import.',
},
importPartialBody: {
id: 'library-authoring.import-course.import-details.import-partial.alert.title',
defaultMessage: '<p>{percentage}% of Course {courseName} has been imported successfully.'
+ ' Imported Course content can be edited and remixed in your Library, and reused in Courses.</p>'
+ '<p>Details of the import, including reasons some content was not imported are described below</p>',
description: 'Body of the import details page when the migration is in partial import.',
},
importPartialReasonTableBlockName: {
id: 'library-authoring.import-course.import-details.reasons-table.block-name',
defaultMessage: 'Block Name',
description: 'Label for the Block Name field in the Reasons table in the import details',
},
importPartialReasonTableBlockType: {
id: 'library-authoring.import-course.import-details.reasons-table.block-type',
defaultMessage: 'Block Type',
description: 'Label for the Block Type field in the Reasons table in the import details',
},
importPartialReasonTableReason: {
id: 'library-authoring.import-course.import-details.reasons-table.reason',
defaultMessage: 'Reason For Failed import',
description: 'Label for the Reason For Failed import field in the Reasons table in the import details',
},
importBlockedTitle: {
id: 'library-authoring.import-course.review-details.import-blocked.title',
defaultMessage: 'Import Blocked',
description: 'Title for the alert in review details when the import is blocked',
},
importBlockedBody: {
id: 'library-authoring.import-course.review-details.import-blocked.body',
defaultMessage: 'This import would exceed the Content Library limit of {limitNumber} items.'
+ ' To prevent incomplete or lost content, the import has been blocked. For more information,'
+ ' view the Content Library documentation.',
description: 'Body for the alert in review details when the import is blocked',
},
importNotPossibleTooltip: {
id: 'library-authoring.import-course.review-details.import-blocked.import-course-btn.tooltip',
defaultMessage: 'Import not possible',
description: 'Label for the tooltip for the import button in review details when the import is blocked',
},
placeholderCardDescription: {
id: 'library-authoring.import-course.import-failed.placeholder.description',
defaultMessage: 'This content type is not currently supported',
description: 'Description text for placeholder card in library for blocks that failed to import',
},
});
export default messages;