-
Notifications
You must be signed in to change notification settings - Fork 196
Expand file tree
/
Copy pathmessages.js
More file actions
460 lines (454 loc) · 20.2 KB
/
messages.js
File metadata and controls
460 lines (454 loc) · 20.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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
import { defineMessages } from '@edx/frontend-platform/i18n';
const messages = defineMessages({
configurationChangeConsequence: {
id: 'authoring.discussions.configurationChangeConsequences',
defaultMessage:
'Students will lose access to any active or previous'
+ ' discussion posts for your course.',
description:
'Describes that, as a consequence of changing configuration,'
+ ' students will lose access posts on the course.',
},
configureApp: {
id: 'authoring.discussions.configure.app',
defaultMessage: 'Configure {name}',
},
configure: {
id: 'authoring.discussions.configure',
defaultMessage: 'Configure discussions',
},
ok: {
id: 'authoring.discussions.ok',
defaultMessage: 'OK',
description: 'Button allowing the user to acknowledge the provider change.',
},
cancel: {
id: 'authoring.discussions.cancel',
defaultMessage: 'Cancel',
description: 'Button allowing the user to return to discussion provider configurations.',
},
confirm: {
id: 'authoring.discussions.confirm',
defaultMessage: 'Confirm',
description: 'Button allowing the user to confirm Confirmation.',
},
confirmConfigurationChange: {
id: 'authoring.discussions.confirmConfigurationChange',
defaultMessage: 'Are you sure you want to change the discussion settings?',
description: 'Asks the user whether he/she really wants to change settings.',
},
confirmEnableDiscussionsLabel: {
id: 'authoring.discussions.confirmEnableDiscussionsLabel',
defaultMessage: 'Enable discussions on units in graded subsections?',
description: 'Asks the user whether he/she really wants to enable discussions on units in graded subsections.',
},
cancelEnableDiscussionsLabel: {
id: 'authoring.discussions.cancelEnableDiscussionsLabel',
defaultMessage: 'Disable discussions on units in graded subsections?',
description: 'Asks the user whether he/she really wants to disable discussions on units in graded subsections.',
},
confirmEnableDiscussions: {
id: 'authoring.discussions.confirmEnableDiscussions',
defaultMessage: 'Enabling this toggle will automatically enable discussion on all units in graded subsections, that are not timed exams.',
description: 'Asks the user whether he/she really wants to enable discussions on units in graded subsections.',
},
cancelEnableDiscussions: {
id: 'authoring.discussions.cancelEnableDiscussions',
defaultMessage: 'Disabling this toggle will automatically disable discussion on all units in graded subsections. Discussion topics containing at least 1 thread will be listed and accessible under “Archived” in Topics tab on the Discussions page.',
description: 'Asks the user whether he/she really wants to disable discussions on units in graded subsections.',
},
backButton: {
id: 'authoring.discussions.backButton',
defaultMessage: 'Back',
description: 'Button allowing the user to return to discussion app selection.',
},
saveButton: {
id: 'authoring.discussions.saveButton',
defaultMessage: 'Save',
description: 'Button allowing the user to submit their discussion configuration.',
},
savingButton: {
id: 'authoring.discussions.savingButton',
defaultMessage: 'Saving',
description: 'Button label when the discussion configuration is being submitted.',
},
savedButton: {
id: 'authoring.discussions.savedButton',
defaultMessage: 'Saved',
description: 'Button label when the discussion configuration has been successfully submitted.',
},
// App names
'appName-piazza': {
id: 'authoring.discussions.appConfigForm.appName-piazza',
defaultMessage: 'Piazza',
description: 'The name of the Piazza app.',
},
'appName-yellowdig': {
id: 'authoring.discussions.appConfigForm.appName-yellowdig',
defaultMessage: 'Yellowdig',
description: 'The name of the yellowdig app.',
},
'appName-inscribe': {
id: 'authoring.discussions.appConfigForm.appName-inscribe',
defaultMessage: 'InScribe',
description: 'The name of the inscribe app.',
},
'appName-discourse': {
id: 'authoring.discussions.appConfigForm.appName-discourse',
defaultMessage: 'Discourse',
description: 'The name of the discourse app.',
},
'appName-ed-discuss': {
id: 'authoring.discussions.appConfigForm.appName-ed-discuss',
defaultMessage: 'Ed Discussion',
description: 'The name of the Ed Discussion app.',
},
'appName-legacy': {
id: 'authoring.discussions.appConfigForm.appName-legacy',
defaultMessage: 'Open edX',
description: 'The name of the Legacy Open edX Discussions app.',
},
'appName-openedx': {
id: 'authoring.discussions.appConfigForm.appName-openedx',
defaultMessage: 'Open edX (new)',
description: 'The name of the new Open edX Discussions app.',
},
divisionByGroup: {
id: 'authoring.discussions.builtIn.divisionByGroup',
defaultMessage: 'Cohorts',
},
divideByCohortsLabel: {
id: 'authoring.discussions.builtIn.divideByCohorts.label',
defaultMessage: 'Divide discussions by cohorts',
description: 'Label for a switch that enables dividing discussions by cohorts. allowDivisionByUnit, divideCourseWideTopics, divideGeneralTopic, and divideQuestionsForTAs are only used if this setting is true.',
},
divideByCohortsHelp: {
id: 'authoring.discussions.builtIn.divideByCohorts.help',
defaultMessage: 'Learners will only be able to view and respond to discussions posted by members of their cohort.',
description: 'Help text for a switch that enables dividing discussions by cohorts.',
},
divideCourseTopicsByCohortsLabel: {
id: 'authoring.discussions.builtIn.divideCourseTopicsByCohorts.label',
defaultMessage: 'Divide course-wide discussion topics',
description: 'Label for a switch that enables dividing course wide topics by cohorts.',
},
divideCourseTopicsByCohortsHelp: {
id: 'authoring.discussions.builtIn.divideCourseTopicsByCohorts.help',
defaultMessage: 'Choose which of your general course-wide discussion topics you would like to divide.',
description: 'Help text asking the user to pick course-wide topics that should be divided by cohort.',
},
divideGeneralTopic: {
id: 'authoring.discussions.builtIn.divideGeneralTopic.label',
defaultMessage: 'General',
description: 'Label for a checkbox allowing a user to divide the General course wide topic by cohorts.',
},
divideQuestionsForTAsTopic: {
id: 'authoring.discussions.builtIn.divideQuestionsForTAsTopic.label',
defaultMessage: 'Questions for the TAs',
description: 'Label for a checkbox allowing a user to divide the Questions for the TAs (TA stands for "teaching assistant") course wide topic by cohorts.',
},
cohortsEnabled: {
id: 'authoring.discussions.builtIn.cohortsEnabled.label',
defaultMessage: 'To adjust these settings, enable cohorts on the ',
description: 'Label text informing the user to enable cohort',
},
instructorDashboard: {
id: 'authoring.discussions.builtIn.instructorDashboard.label',
defaultMessage: 'instructor dashboard',
description: 'Label text for instructor dashboard',
},
// In-context discussion fields
visibilityInContext: {
id: 'authoring.discussions.builtIn.visibilityInContext',
defaultMessage: 'Visibility of in-context discussions',
},
gradedUnitPagesLabel: {
id: 'authoring.discussions.builtIn.gradedUnitPages.label',
defaultMessage: 'Enable discussions on units in graded subsections',
},
gradedUnitPagesHelp: {
id: 'authoring.discussions.builtIn.gradedUnitPages.help',
defaultMessage: 'Allow learners to engage with discussion on all graded unit pages except timed exams.',
},
groupInContextSubsectionLabel: {
id: 'authoring.discussions.builtIn.groupInContextSubsection.label',
defaultMessage: 'Group in context discussion at the subsection level',
},
groupInContextSubsectionHelp: {
id: 'authoring.discussions.builtIn.groupInContextSubsection.help',
defaultMessage: 'Learners will be able to view any post in the sub-section no matter which unit page they are viewing. While this is not recommended, if your course has short learning sequences or low enrollment grouping may increase engagement.',
},
// Anonymous posting fields
anonymousPosting: {
id: 'authoring.discussions.builtIn.anonymousPosting',
defaultMessage: 'Anonymous posting',
},
allowAnonymousPostsLabel: {
id: 'authoring.discussions.builtIn.allowAnonymous.label',
defaultMessage: 'Allow anonymous discussion posts',
},
allowAnonymousPostsHelp: {
id: 'authoring.discussions.builtIn.allowAnonymous.help',
defaultMessage: 'If enabled, learners can create posts that are anonymous to all users.',
},
allowAnonymousPostsPeersLabel: {
id: 'authoring.discussions.builtIn.allowAnonymousPeers.label',
defaultMessage: 'Allow anonymous discussion posts to peers',
},
allowAnonymousPostsPeersHelp: {
id: 'authoring.discussions.builtIn.allowAnonymousPeers.help',
defaultMessage: 'Learners will be able to post anonymously to other peers but all posts will be visible to course staff.',
},
// Reported Email Notifications
reportedContentEmailNotifications: {
id: 'authoring.discussions.builtIn.reportedContentEmailNotifications',
defaultMessage: 'Notifications',
},
reportedContentEmailNotificationsLabel: {
id: 'authoring.discussions.builtIn.reportedContentEmailNotifications.label',
defaultMessage: 'Email notifications for reported content',
},
reportedContentEmailNotificationsHelp: {
id: 'authoring.discussions.builtIn.reportedContentEmailNotifications.help',
defaultMessage: 'Discussion Admins, Moderators, Community TAs and Group Community TAs (only for their own cohort) will receive an email notification when content is reported.',
},
// Discussion Topics
discussionTopics: {
id: 'authoring.discussions.discussionTopics',
defaultMessage: 'Discussion topics',
},
discussionTopicsLabel: {
id: 'authoring.discussions.discussionTopics.label',
defaultMessage: 'General discussion topics',
description: 'Label for a discussion topic section allowing a user to add new topic.',
},
discussionTopicsHelp: {
id: 'authoring.discussions.discussionTopics.help',
defaultMessage: 'Discussions can include general topics not contained to the course structure. All courses have a general topic by default.',
description: 'Help text for adding new discussion topics that in general discussion topic section.',
},
discussionTopicRequired: {
id: 'authoring.discussions.discussionTopic.required',
defaultMessage: 'Topic name is a required field',
description: 'Tells the user that the discussion topic field is required and must have a value.',
},
discussionTopicNameAlreadyExist: {
id: 'authoring.discussions.discussionTopic.alreadyExistError',
defaultMessage: 'It looks like this name is already in use',
description: 'Tells the user that the discussion topic name already in use and must have a unique name.',
},
addTopicButton: {
id: 'authoring.discussions.addTopicButton',
defaultMessage: 'Add topic',
description: 'Button label when Add a new discussion topic.',
},
deleteButton: {
id: 'authoring.discussions.deleteButton',
defaultMessage: 'Delete',
description: 'Button label when delete discussion topic from conformation card.',
},
cancelButton: {
id: 'authoring.discussions.cancelButton',
defaultMessage: 'Cancel',
description: 'Button label when cancel discussion topic deletion conformation.',
},
discussionTopicDeletionHelp: {
id: 'authoring.discussions.discussionTopicDeletion.help',
defaultMessage: 'edX recommends that you do not delete discussion topics once your course is running.',
description: 'Help text for delete a discussion topic from discussion topic section.',
},
discussionTopicDeletionLabel: {
id: 'authoring.discussions.discussionTopicDeletion.label',
defaultMessage: 'Delete this topic?',
description: 'Label for discussion topic delete popup allowing a user to delete a topic.',
},
renameGeneralTopic: {
id: 'authoring.discussions.builtIn.renameGeneralTopic.label',
defaultMessage: 'Rename general topic',
description: 'Label for default topic allowing user to rename default general topic',
},
generalTopicHelp: {
id: 'authoring.discussions.generalTopicHelp.help',
defaultMessage: 'This is the default discussion topic for your course.',
description: 'Help text for general discussion topic collapsible card.',
},
configureAdditionalTopic: {
id: 'authoring.discussions.builtIn.configureAdditionalTopic.label',
defaultMessage: 'Configure topic',
description: 'Label for Additional topic allowing user to configure additional topic name',
},
addTopicHelpText: {
id: 'authoring.discussions.addTopicHelpText',
defaultMessage: 'Choose a unique name for your topic',
description: 'Help text for input field in adding a discussion topic',
},
// Restricted dates
restrictedStartDateHelp: {
id: 'authoring.discussions.restrictedStartDate.help',
defaultMessage: 'Enter a start date, e.g. 12/10/2023',
},
restrictedEndDateHelp: {
id: 'authoring.discussions.restrictedEndDate.help',
defaultMessage: 'Enter an end date, e.g. 12/17/2023',
},
restrictedStartTimeHelp: {
id: 'authoring.discussions.restrictedStartTime.help',
defaultMessage: 'Enter a start time, e.g. 09:00 AM',
},
restrictedEndTimeHelp: {
id: 'authoring.discussions.restrictedEndTime.help',
defaultMessage: 'Enter an end time, e.g. 05:00 PM',
},
restrictedDatesStatus: {
id: 'authoring.restrictedDates.status',
defaultMessage: '{status}',
},
restrictedStartDateRequired: {
id: 'authoring.restrictedDates.startDate.required',
defaultMessage: 'Start date is a required field',
description: 'Tells the user that the restricted dates must have start date and it is required.',
},
restrictedEndDateRequired: {
id: 'authoring.restrictedDates.endDate.required',
defaultMessage: 'End date is a required field',
description: 'Tells the user that the restricted dates must have end date and it is required.',
},
restrictedStartDateInPast: {
id: 'authoring.restrictedDates.startDate.inPast',
defaultMessage: 'Start date cannot be after end date',
description: 'Tells the user that the restricted start date cannot be in past and cannot be after end date',
},
restrictedEndDateInPast: {
id: 'authoring.restrictedDates.endDate.inPast',
defaultMessage: 'End date cannot be before start date',
description: 'Tells the user that the restricted end date cannot be in past and cannot be before start date',
},
restrictedStartTimeInPast: {
id: 'authoring.restrictedDates.startTime.inPast',
defaultMessage: 'Start time cannot be after end time',
description: 'Tells the user that the restricted start time cannot be in past and cannot be after end time',
},
restrictedEndTimeInPast: {
id: 'authoring.restrictedDates.endTime.inPast',
defaultMessage: 'End time cannot be before start time',
description: 'Tells the user that the restricted end time cannot be in past and cannot be before start time',
},
restrictedStartTimeInValidFormat: {
id: 'authoring.restrictedDates.startTime.inValidFormat',
defaultMessage: 'Enter a valid start time',
description: 'Tells the user that the restricted start time format is in valid',
},
restrictedEndTimeInValidFormat: {
id: 'authoring.restrictedDates.endTime.inValidFormat',
defaultMessage: 'Enter a valid end time',
description: 'Tells the user that the restricted end time format is in valid',
},
restrictedStartDateInValidFormat: {
id: 'authoring.restrictedDates.startDate.inValidFormat',
defaultMessage: 'Enter a valid start Date',
description: 'Tells the user that the restricted start date format is in valid',
},
restrictedEndDateInValidFormat: {
id: 'authoring.restrictedDates.endDate.inValidFormat',
defaultMessage: 'Enter a valid end date',
description: 'Tells the user that the restricted end date format is in valid',
},
discussionRestrictionLabel: {
id: 'authoring.discussions.builtIn.discussionRestriction.label',
defaultMessage: 'Discussion restrictions',
},
discussionRestrictionHelp: {
id: 'authoring.discussions.discussionRestriction.help',
defaultMessage: 'If enabled, learners will not be able to post in discussions.',
},
discussionRestrictionDatesHelp: {
id: 'authoring.discussions.discussionRestrictionDates.help',
defaultMessage: 'If added, learners will not be able to post in discussions between these dates.',
},
addRestrictedDatesButton: {
id: 'authoring.discussions.addRestrictedDatesButton',
defaultMessage: 'Add restricted dates',
},
configureRestrictedDates: {
id: 'authoring.discussions.builtIn.configureRestrictedDates.label',
defaultMessage: 'Configure restricted date range',
},
activeRestrictedDatesDeletionLabel: {
id: 'authoring.discussions.activeRestrictedDatesDeletion.label',
defaultMessage: 'Delete active restricted dates?',
description: 'Label for active restricted dates delete popup allowing a user to delete a restricted date range.',
},
activeRestrictedDatesDeletionHelp: {
id: 'authoring.discussions.activeRestrictedDatesDeletion.help',
defaultMessage: 'These restricted dates are currently active. If deleted, learners will be able to post in discussions during these dates. Are you sure you want to proceed?',
description: 'Help text for delete a active restricted dates from restricted dates section.',
},
completeRestrictedDatesDeletionHelp: {
id: 'authoring.discussions.completeRestrictedDatesDeletion.help',
defaultMessage: 'Are you sure you want to delete these restricted dates?',
description: 'Help text for delete a complete restricted dates from restricted dates section.',
},
restrictedDatesDeletionLabel: {
id: 'authoring.discussions.restrictedDatesDeletion.label',
defaultMessage: 'Delete restricted dates?',
description: 'Label for restricted dates delete popup allowing a user to delete a restricted date range.',
},
restrictedDatesDeletionHelp: {
id: 'authoring.discussions.restrictedDatesDeletion.help',
defaultMessage: 'If deleted, learners will be able to post in discussions during these dates.',
description: 'Help text for delete a upcoming restricted dates from restricted dates section.',
},
discussionRestrictionOffLabelHelpText: {
id: 'authoring.discussions.discussionRestrictionOff.label',
defaultMessage: 'If enabled, learners will be able to post in discussions',
},
discussionRestrictionOnLabelHelpText: {
id: 'authoring.discussions.discussionRestrictionOn.label',
defaultMessage: 'If enabled, learners will not be able to post in discussions',
},
discussionRestrictionScheduledLabelHelpText: {
id: 'authoring.discussions.discussionRestrictionScheduled.label',
defaultMessage: 'If added, learners will not be able to post in discussions between these dates.',
},
enableRestrictedDatesConfirmationLabel: {
id: 'authoring.discussions.enableRestrictedDatesConfirmation.label',
defaultMessage: 'Enable restricted dates?',
},
enableRestrictedDatesConfirmationHelp: {
id: 'authoring.discussions.enableRestrictedDatesConfirmation.help',
defaultMessage: 'Learners will not be able to post in discussions.',
},
deleteAltText: {
id: 'authoring.topics.delete',
defaultMessage: 'Delete Topic',
},
expandAltText: {
id: 'authoring.topics.expand',
defaultMessage: 'Expand',
},
collapseAltText: {
id: 'authoring.topics.collapse',
defaultMessage: 'Collapse',
},
startDateLabel: {
id: 'authoring.restrictedDates.start.date',
defaultMessage: 'Start date',
description: 'Label for start date field',
},
startTimeLabel: {
id: 'authoring.restrictedDates.start.time',
defaultMessage: 'Start time (optional)',
description: 'label for start time field',
},
endDateLabel: {
id: 'authoring.restrictedDates.end.date',
defaultMessage: 'End date',
description: 'label for end date field',
},
endTimeLabel: {
id: 'authoring.restrictedDates.end.time',
defaultMessage: 'End time (optional)',
description: 'label for end time field',
},
});
export default messages;