@tansy/lms 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/messages.js ADDED
@@ -0,0 +1,674 @@
1
+ /** The LMS's dashboard words, read as `t("ext.lms.<key>")`, and its collections' names. */
2
+ export const messages = {
3
+ en: {
4
+ section: "LMS",
5
+ pages: { "lms/courses": "Courses", "lms/courses/:id": "Course", "lms/learners": "Learners" },
6
+ collections: { "lms-my-courses": "My courses page", "lms-certificate": "Certificate check page" },
7
+ widgets: { "lms-overview": "Courses" },
8
+ actions: { "lms-enroll": "Enroll users" },
9
+ categories: { Lesson: "Lesson" },
10
+ settings: {
11
+ passingScore: { label: "Passing score (%)", description: "Needed to pass a quiz that doesn't set its own." },
12
+ requireQuizzes: { label: "Require quizzes", description: "A course counts as completed only once its quizzes are passed." },
13
+ certificates: { label: "Issue certificates", description: "Give each learner a certificate, with a code anyone can check, when they complete a course." },
14
+ },
15
+ common: {
16
+ course: "Course {id}",
17
+ draft: " (draft)",
18
+ published: "Published",
19
+ draftBadge: "Draft",
20
+ percent: "{value}%",
21
+ },
22
+ learners: {
23
+ cantRead: "You can't read the LMS collections. Ask an administrator for permission to list courses, lessons, enrollments and progress.",
24
+ intro: "Enrollments and progress by course. Enroll people from a course's actions in its record list, and revoke an enrollment under Enrollments.",
25
+ noCourses: "No courses yet.",
26
+ },
27
+ columns: { course: "Course", enrolled: "Enrolled", completed: "Completed", completedWeek: "Completed this week", average: "Average progress", passRate: "Quiz pass rate", status: "Status", taughtBy: "Taught by", lessons: "Lessons" },
28
+ courses: {
29
+ allDescription: "Every course. Open one to build its sections, lessons and quizzes on one page.",
30
+ ownDescription: "Your courses. Open one to build its sections, lessons and quizzes on one page.",
31
+ cantList: "You can't list courses. Ask an administrator for the Instructor or LMS manager role.",
32
+ empty: "No courses yet. Create the first one above.",
33
+ notFound: "Course not found",
34
+ notFoundBody: "It may have been deleted, or it isn't one of yours.",
35
+ back: "Back to courses",
36
+ create: "Create course",
37
+ newTitle: "New course title",
38
+ notCreated: "The course wasn't created.",
39
+ },
40
+ widget: {
41
+ cantRead: "You can't read Enrollments.",
42
+ newEnrollments: "{count, plural, one {# new enrollment this week} other {# new enrollments this week}}",
43
+ completed: "{count, plural, one {# course completed this week} other {# courses completed this week}}",
44
+ mostStarted: "Most started: {courses}",
45
+ },
46
+ builder: {
47
+ notSaved: "Not saved.",
48
+ failed: "The request failed ({status}).",
49
+ moveUp: "Move up",
50
+ moveDown: "Move down",
51
+ moveLabelUp: "Move {label} up",
52
+ moveLabelDown: "Move {label} down",
53
+ published: "Published",
54
+ draft: "Draft",
55
+ wrong: "Something went wrong. Try again.",
56
+ loading: "Loading the course…",
57
+ detailsSaved: "Course details saved.",
58
+ quizTitle: "{lesson} quiz",
59
+ quizAdded: "Quiz added at the end of the lesson. Write its questions in the quiz editor.",
60
+ lessonTitle: "Lesson title",
61
+ freePreview: "Free preview",
62
+ quiz: "Quiz:",
63
+ addQuiz: "Add quiz",
64
+ editContent: "Edit content",
65
+ sectionFor: "Section for {lesson}",
66
+ noSection: "No section",
67
+ removePreview: "Remove preview",
68
+ makePreview: "Make preview",
69
+ unpublish: "Unpublish",
70
+ publish: "Publish",
71
+ confirmDeleteLesson: "Delete the lesson \"{lesson}\"?",
72
+ lessonDeleted: "Lesson deleted.",
73
+ delete: "Delete",
74
+ backToCourses: "← Courses",
75
+ counts: "{lessons, plural, one {# lesson} other {# lessons}} in {sections, plural, one {# section} other {# sections}}",
76
+ coverAndDescription: "Cover and description",
77
+ draftAgain: "The course is a draft again.",
78
+ nowPublished: "The course is published.",
79
+ unpublishCourse: "Unpublish course",
80
+ publishCourse: "Publish course",
81
+ curriculum: "Curriculum",
82
+ sectionTitle: "Section title",
83
+ moveLessonsFirst: "Move or delete its lessons first.",
84
+ confirmDeleteSection: "Delete the section \"{section}\"?",
85
+ sectionDeleted: "Section deleted.",
86
+ deleteSection: "Delete section",
87
+ notInSection: "Not in a section",
88
+ noLessons: "No lessons yet.",
89
+ addLesson: "Add lesson",
90
+ newLesson: "New lesson title",
91
+ lessonAdded: "Lesson added as a draft.",
92
+ start: "Start with a section, such as \"Getting started\", then add lessons to it.",
93
+ addSection: "Add section",
94
+ newSection: "New section title",
95
+ sectionAdded: "Section added.",
96
+ lessonWithoutSection: "Or a lesson without a section",
97
+ details: "Details",
98
+ title: "Title",
99
+ summary: "Summary",
100
+ summaryHint: "One or two sentences for course lists.",
101
+ whoCanEnroll: "Who can enroll",
102
+ accessFree: "Anyone signed in, for free",
103
+ accessPaid: "People who buy it",
104
+ accessEnrollment: "Only people staff enroll",
105
+ price: "Price",
106
+ priceHint: "As learners pay it, such as 49.99. The currency is set under Payments → Settings.",
107
+ noPayments: "To sell courses, turn on the Payments plugin, then add a Price field to Courses under Collections.",
108
+ level: "Level",
109
+ notSet: "Not set",
110
+ beginner: "Beginner",
111
+ intermediate: "Intermediate",
112
+ advanced: "Advanced",
113
+ minutes: "Estimated minutes",
114
+ taughtBy: "Taught by",
115
+ taughtByManager: "Shown on the course page.",
116
+ taughtByOwn: "Your name, from your account. An LMS manager can change it.",
117
+ saveDetails: "Save details",
118
+ },
119
+ enroll: {
120
+ prompt: "Email addresses of the people to enroll, separated by commas or spaces:",
121
+ failed: "Nobody was enrolled. Check the addresses and try again.",
122
+ result: "{enrolled} enrolled, {already} already enrolled.",
123
+ resultUnknown: "{enrolled} enrolled, {already} already enrolled, {unknown} with no account.",
124
+ builderPanel: "Sections, lessons and their order are edited in the {link}.",
125
+ builderLink: "course builder",
126
+ },
127
+ editors: {
128
+ startWriting: "Start writing…",
129
+ video: "Video",
130
+ uploadVideo: "Upload a video",
131
+ orPaste: "Or paste a YouTube or Vimeo link:",
132
+ videoTitle: "Title, read out by screen readers",
133
+ transcript: "Transcript",
134
+ addTranscript: "Add a transcript…",
135
+ download: "Download",
136
+ downloadFile: "The file to download",
137
+ ask: "Ask a question",
138
+ accepted: "Accepted answers, one per line",
139
+ choiceCorrect: "Choice {number} is correct",
140
+ correct: "Correct answer",
141
+ choice: "Choice {number}",
142
+ removeChoice: "Remove choice {number}",
143
+ addChoice: "+ Add a choice",
144
+ explanation: "Explanation, shown after answering",
145
+ why: "Why this is the answer…",
146
+ },
147
+ },
148
+ ar: {
149
+ section: "التعلّم",
150
+ pages: { "lms/courses": "الدورات", "lms/courses/:id": "الدورة", "lms/learners": "المتعلمون" },
151
+ collections: { "lms-my-courses": "صفحة دوراتي", "lms-certificate": "صفحة التحقق من الشهادات" },
152
+ widgets: { "lms-overview": "الدورات" },
153
+ actions: { "lms-enroll": "تسجيل مستخدمين" },
154
+ categories: { Lesson: "الدرس" },
155
+ settings: {
156
+ passingScore: { label: "درجة النجاح (%)", description: "المطلوبة لاجتياز اختبار لا يحدد درجته." },
157
+ requireQuizzes: { label: "اشتراط الاختبارات", description: "لا تُحسب الدورة مكتملة إلا بعد اجتياز اختباراتها." },
158
+ certificates: { label: "إصدار الشهادات", description: "امنح كل متعلم شهادة برمز يستطيع أي أحد التحقق منه، حين يُكمل دورة." },
159
+ },
160
+ common: {
161
+ course: "الدورة {id}",
162
+ draft: " (مسودة)",
163
+ published: "منشورة",
164
+ draftBadge: "مسودة",
165
+ percent: "{value}٪",
166
+ },
167
+ learners: {
168
+ cantRead: "لا يمكنك قراءة مجموعات التعلّم. اطلب من المسؤول صلاحية عرض الدورات والدروس والتسجيلات والتقدّم.",
169
+ intro: "التسجيلات والتقدّم حسب الدورة. سجّل الأشخاص من إجراءات الدورة في قائمة سجلاتها، وألغِ تسجيلًا من «التسجيلات».",
170
+ noCourses: "لا دورات بعد.",
171
+ },
172
+ columns: { course: "الدورة", enrolled: "المسجّلون", completed: "أكملوا", completedWeek: "أكملوا هذا الأسبوع", average: "متوسط التقدّم", passRate: "نسبة اجتياز الاختبارات", status: "الحالة", taughtBy: "المدرّس", lessons: "الدروس" },
173
+ courses: {
174
+ allDescription: "كل الدورات. افتح دورة لتبني أقسامها ودروسها واختباراتها في صفحة واحدة.",
175
+ ownDescription: "دوراتك. افتح دورة لتبني أقسامها ودروسها واختباراتها في صفحة واحدة.",
176
+ cantList: "لا يمكنك عرض الدورات. اطلب من المسؤول دور المدرّس أو مدير التعلّم.",
177
+ empty: "لا دورات بعد. أنشئ أولى الدورات أعلاه.",
178
+ notFound: "الدورة غير موجودة",
179
+ notFoundBody: "ربما حُذفت، أو ليست من دوراتك.",
180
+ back: "العودة إلى الدورات",
181
+ create: "إنشاء دورة",
182
+ newTitle: "عنوان الدورة الجديدة",
183
+ notCreated: "لم تُنشأ الدورة.",
184
+ },
185
+ widget: {
186
+ cantRead: "لا يمكنك قراءة التسجيلات.",
187
+ newEnrollments: "{count, plural, zero {لا تسجيلات جديدة هذا الأسبوع} one {تسجيل جديد واحد هذا الأسبوع} two {تسجيلان جديدان هذا الأسبوع} few {# تسجيلات جديدة هذا الأسبوع} many {# تسجيلًا جديدًا هذا الأسبوع} other {# تسجيل جديد هذا الأسبوع}}",
188
+ completed: "{count, plural, zero {لم تكتمل دورات هذا الأسبوع} one {اكتملت دورة واحدة هذا الأسبوع} two {اكتملت دورتان هذا الأسبوع} few {اكتملت # دورات هذا الأسبوع} many {اكتملت # دورة هذا الأسبوع} other {اكتملت # دورة هذا الأسبوع}}",
189
+ mostStarted: "الأكثر بدءًا: {courses}",
190
+ },
191
+ builder: {
192
+ notSaved: "لم يُحفظ.",
193
+ failed: "فشل الطلب ({status}).",
194
+ moveUp: "نقل لأعلى",
195
+ moveDown: "نقل لأسفل",
196
+ moveLabelUp: "نقل {label} لأعلى",
197
+ moveLabelDown: "نقل {label} لأسفل",
198
+ published: "منشور",
199
+ draft: "مسودة",
200
+ wrong: "حدث خطأ ما. حاول مجددًا.",
201
+ loading: "جارٍ تحميل الدورة…",
202
+ detailsSaved: "حُفظت تفاصيل الدورة.",
203
+ quizTitle: "اختبار {lesson}",
204
+ quizAdded: "أُضيف اختبار في نهاية الدرس. اكتب أسئلته في محرر الاختبار.",
205
+ lessonTitle: "عنوان الدرس",
206
+ freePreview: "معاينة مجانية",
207
+ quiz: "الاختبار:",
208
+ addQuiz: "إضافة اختبار",
209
+ editContent: "تحرير المحتوى",
210
+ sectionFor: "قسم {lesson}",
211
+ noSection: "بلا قسم",
212
+ removePreview: "إزالة المعاينة",
213
+ makePreview: "جعله معاينة",
214
+ unpublish: "إلغاء النشر",
215
+ publish: "نشر",
216
+ confirmDeleteLesson: "حذف الدرس «{lesson}»؟",
217
+ lessonDeleted: "حُذف الدرس.",
218
+ delete: "حذف",
219
+ backToCourses: "→ الدورات",
220
+ counts: "{lessons, plural, zero {لا دروس} one {درس واحد} two {درسان} few {# دروس} many {# درسًا} other {# درس}} في {sections, plural, zero {لا أقسام} one {قسم واحد} two {قسمين} few {# أقسام} many {# قسمًا} other {# قسم}}",
221
+ coverAndDescription: "الغلاف والوصف",
222
+ draftAgain: "عادت الدورة مسودة.",
223
+ nowPublished: "نُشرت الدورة.",
224
+ unpublishCourse: "إلغاء نشر الدورة",
225
+ publishCourse: "نشر الدورة",
226
+ curriculum: "المنهج",
227
+ sectionTitle: "عنوان القسم",
228
+ moveLessonsFirst: "انقل دروسه أو احذفها أولًا.",
229
+ confirmDeleteSection: "حذف القسم «{section}»؟",
230
+ sectionDeleted: "حُذف القسم.",
231
+ deleteSection: "حذف القسم",
232
+ notInSection: "ليست في قسم",
233
+ noLessons: "لا دروس بعد.",
234
+ addLesson: "إضافة درس",
235
+ newLesson: "عنوان الدرس الجديد",
236
+ lessonAdded: "أُضيف الدرس مسودة.",
237
+ start: "ابدأ بقسم، مثل «البدء»، ثم أضف إليه دروسًا.",
238
+ addSection: "إضافة قسم",
239
+ newSection: "عنوان القسم الجديد",
240
+ sectionAdded: "أُضيف القسم.",
241
+ lessonWithoutSection: "أو درسًا بلا قسم",
242
+ details: "التفاصيل",
243
+ title: "العنوان",
244
+ summary: "الملخّص",
245
+ summaryHint: "جملة أو اثنتان لقوائم الدورات.",
246
+ whoCanEnroll: "من يمكنه التسجيل",
247
+ accessFree: "أي شخص مسجّل الدخول، مجانًا",
248
+ accessPaid: "من يشتريها",
249
+ accessEnrollment: "من يسجّلهم الموظفون فقط",
250
+ price: "السعر",
251
+ priceHint: "كما يدفعه المتعلمون، مثل 49.99. تُضبط العملة من المدفوعات ← الإعدادات.",
252
+ noPayments: "لبيع الدورات، فعّل إضافة المدفوعات، ثم أضف حقل سعر إلى الدورات من المجموعات.",
253
+ level: "المستوى",
254
+ notSet: "غير محدد",
255
+ beginner: "مبتدئ",
256
+ intermediate: "متوسط",
257
+ advanced: "متقدم",
258
+ minutes: "الدقائق المقدّرة",
259
+ taughtBy: "المدرّس",
260
+ taughtByManager: "يظهر في صفحة الدورة.",
261
+ taughtByOwn: "اسمك، من حسابك. يستطيع مدير التعلّم تغييره.",
262
+ saveDetails: "حفظ التفاصيل",
263
+ },
264
+ enroll: {
265
+ prompt: "عناوين البريد للأشخاص المراد تسجيلهم، مفصولة بفواصل أو مسافات:",
266
+ failed: "لم يُسجَّل أحد. تحقق من العناوين وحاول مجددًا.",
267
+ result: "سُجّل {enrolled}، و{already} مسجّلون من قبل.",
268
+ resultUnknown: "سُجّل {enrolled}، و{already} مسجّلون من قبل، و{unknown} بلا حساب.",
269
+ builderPanel: "تُحرَّر الأقسام والدروس وترتيبها في {link}.",
270
+ builderLink: "منشئ الدورة",
271
+ },
272
+ editors: {
273
+ startWriting: "ابدأ الكتابة…",
274
+ video: "فيديو",
275
+ uploadVideo: "ارفع فيديو",
276
+ orPaste: "أو الصق رابطًا من YouTube أو Vimeo:",
277
+ videoTitle: "العنوان، تقرؤه قارئات الشاشة",
278
+ transcript: "النص المكتوب",
279
+ addTranscript: "أضف نصًّا مكتوبًا…",
280
+ download: "تنزيل",
281
+ downloadFile: "الملف المراد تنزيله",
282
+ ask: "اطرح سؤالًا",
283
+ accepted: "الإجابات المقبولة، واحدة في كل سطر",
284
+ choiceCorrect: "الخيار {number} صحيح",
285
+ correct: "الإجابة الصحيحة",
286
+ choice: "الخيار {number}",
287
+ removeChoice: "إزالة الخيار {number}",
288
+ addChoice: "+ أضف خيارًا",
289
+ explanation: "الشرح، يظهر بعد الإجابة",
290
+ why: "لماذا هذه هي الإجابة…",
291
+ },
292
+ },
293
+ };
294
+ /** The collections' names in other interface languages. Added by a migration, so names an owner set stay. */
295
+ export const COLLECTION_LABELS = {
296
+ "lms-courses": { ar: "الدورات" },
297
+ "lms-sections": { ar: "الأقسام" },
298
+ "lms-lessons": { ar: "الدروس" },
299
+ "lms-quizzes": { ar: "الاختبارات" },
300
+ "lms-enrollments": { ar: "التسجيلات" },
301
+ "lms-progress": { ar: "التقدّم" },
302
+ "lms-attempts": { ar: "المحاولات" },
303
+ "lms-certificates": { ar: "الشهادات" },
304
+ "lms-my-courses": { ar: "دوراتي" },
305
+ "lms-certificate": { ar: "التحقق من شهادة" },
306
+ "lms-outline": { ar: "مخطط الدورة" },
307
+ };
308
+ /** Fields' words in other interface languages, by collection. Added by a migration, so words an owner set stay. */
309
+ export const FIELD_LABELS = {
310
+ "lms-courses": {
311
+ title: {
312
+ labels: {
313
+ ar: "العنوان"
314
+ }
315
+ },
316
+ slug: {
317
+ labels: {
318
+ ar: "الاسم اللطيف"
319
+ },
320
+ descriptions: {
321
+ ar: "يظهر في العنوان. أحرف لاتينية صغيرة وأرقام وشرطات. يُملأ من العنوان إن تُرك فارغًا."
322
+ }
323
+ },
324
+ summary: {
325
+ labels: {
326
+ ar: "الملخص"
327
+ }
328
+ },
329
+ cover: {
330
+ labels: {
331
+ ar: "صورة الغلاف"
332
+ }
333
+ },
334
+ description: {
335
+ labels: {
336
+ ar: "الوصف"
337
+ }
338
+ },
339
+ byline: {
340
+ labels: {
341
+ ar: "يقدّمها"
342
+ }
343
+ },
344
+ level: {
345
+ labels: {
346
+ ar: "المستوى"
347
+ },
348
+ options: {
349
+ beginner: {
350
+ ar: "مبتدئ"
351
+ },
352
+ intermediate: {
353
+ ar: "متوسط"
354
+ },
355
+ advanced: {
356
+ ar: "متقدم"
357
+ }
358
+ }
359
+ },
360
+ access: {
361
+ labels: {
362
+ ar: "الالتحاق"
363
+ },
364
+ options: {
365
+ free: {
366
+ ar: "مجاني: يلتحق أي شخص سجّل الدخول"
367
+ },
368
+ enrollment: {
369
+ ar: "بالتسجيل: يسجّل الطاقم المتعلمين"
370
+ },
371
+ paid: {
372
+ ar: "مدفوع: يشتريها المتعلمون (تحتاج إضافة المدفوعات وسعرًا)"
373
+ }
374
+ }
375
+ },
376
+ estimatedMinutes: {
377
+ labels: {
378
+ ar: "المدة التقديرية (دقائق)"
379
+ }
380
+ }
381
+ },
382
+ "lms-sections": {
383
+ title: {
384
+ labels: {
385
+ ar: "العنوان"
386
+ }
387
+ },
388
+ course: {
389
+ labels: {
390
+ ar: "الدورة"
391
+ }
392
+ },
393
+ position: {
394
+ labels: {
395
+ ar: "الترتيب"
396
+ },
397
+ descriptions: {
398
+ ar: "الأصغر أولًا."
399
+ }
400
+ }
401
+ },
402
+ "lms-lessons": {
403
+ title: {
404
+ labels: {
405
+ ar: "العنوان"
406
+ }
407
+ },
408
+ slug: {
409
+ labels: {
410
+ ar: "الاسم اللطيف"
411
+ },
412
+ descriptions: {
413
+ ar: "يظهر في العنوان. أحرف لاتينية صغيرة وأرقام وشرطات. يُملأ من العنوان إن تُرك فارغًا."
414
+ }
415
+ },
416
+ course: {
417
+ labels: {
418
+ ar: "الدورة"
419
+ }
420
+ },
421
+ section: {
422
+ labels: {
423
+ ar: "القسم"
424
+ }
425
+ },
426
+ position: {
427
+ labels: {
428
+ ar: "الترتيب"
429
+ },
430
+ descriptions: {
431
+ ar: "الأصغر أولًا."
432
+ }
433
+ },
434
+ preview: {
435
+ labels: {
436
+ ar: "معاينة"
437
+ },
438
+ descriptions: {
439
+ ar: "مفتوح للجميع، ملتحقين أو لا."
440
+ }
441
+ },
442
+ content: {
443
+ labels: {
444
+ ar: "المحتوى"
445
+ }
446
+ },
447
+ durationMinutes: {
448
+ labels: {
449
+ ar: "المدة (دقائق)"
450
+ }
451
+ }
452
+ },
453
+ "lms-quizzes": {
454
+ title: {
455
+ labels: {
456
+ ar: "العنوان"
457
+ }
458
+ },
459
+ lesson: {
460
+ labels: {
461
+ ar: "الدرس"
462
+ }
463
+ },
464
+ course: {
465
+ labels: {
466
+ ar: "الدورة"
467
+ },
468
+ descriptions: {
469
+ ar: "يُضبط من الدرس عند الحفظ."
470
+ }
471
+ },
472
+ questions: {
473
+ labels: {
474
+ ar: "الأسئلة"
475
+ }
476
+ },
477
+ passingScore: {
478
+ labels: {
479
+ ar: "درجة النجاح"
480
+ },
481
+ descriptions: {
482
+ ar: "النسبة المئوية اللازمة للنجاح. الفارغ يستخدم القيمة الافتراضية للموقع."
483
+ }
484
+ },
485
+ maxAttempts: {
486
+ labels: {
487
+ ar: "أقصى عدد للمحاولات"
488
+ },
489
+ descriptions: {
490
+ ar: "الفارغ يعني بلا حد."
491
+ }
492
+ }
493
+ },
494
+ "lms-enrollments": {
495
+ course: {
496
+ labels: {
497
+ ar: "الدورة"
498
+ }
499
+ },
500
+ student: {
501
+ labels: {
502
+ ar: "المتعلم (معرّف المستخدم)"
503
+ }
504
+ },
505
+ state: {
506
+ labels: {
507
+ ar: "الحالة"
508
+ },
509
+ options: {
510
+ active: {
511
+ ar: "نشط"
512
+ },
513
+ completed: {
514
+ ar: "مكتمل"
515
+ },
516
+ revoked: {
517
+ ar: "ملغى"
518
+ },
519
+ lapsed: {
520
+ ar: "متوقف: لم تعد خطته تشمله"
521
+ }
522
+ }
523
+ },
524
+ source: {
525
+ labels: {
526
+ ar: "المصدر"
527
+ },
528
+ options: {
529
+ free: {
530
+ ar: "التحاق مجاني"
531
+ },
532
+ staff: {
533
+ ar: "الطاقم"
534
+ },
535
+ purchase: {
536
+ ar: "شراء"
537
+ },
538
+ plan: {
539
+ ar: "خطة"
540
+ }
541
+ }
542
+ },
543
+ enrolledAt: {
544
+ labels: {
545
+ ar: "تاريخ الالتحاق"
546
+ }
547
+ },
548
+ completedAt: {
549
+ labels: {
550
+ ar: "تاريخ الإكمال"
551
+ }
552
+ }
553
+ },
554
+ "lms-progress": {
555
+ key: {
556
+ labels: {
557
+ ar: "المفتاح"
558
+ }
559
+ },
560
+ student: {
561
+ labels: {
562
+ ar: "المتعلم (معرّف المستخدم)"
563
+ }
564
+ },
565
+ course: {
566
+ labels: {
567
+ ar: "الدورة"
568
+ }
569
+ },
570
+ lesson: {
571
+ labels: {
572
+ ar: "الدرس"
573
+ }
574
+ },
575
+ completedAt: {
576
+ labels: {
577
+ ar: "تاريخ الإكمال"
578
+ }
579
+ }
580
+ },
581
+ "lms-attempts": {
582
+ quiz: {
583
+ labels: {
584
+ ar: "الاختبار"
585
+ }
586
+ },
587
+ student: {
588
+ labels: {
589
+ ar: "المتعلم (معرّف المستخدم)"
590
+ }
591
+ },
592
+ answers: {
593
+ labels: {
594
+ ar: "الإجابات"
595
+ }
596
+ },
597
+ score: {
598
+ labels: {
599
+ ar: "الدرجة"
600
+ }
601
+ },
602
+ passed: {
603
+ labels: {
604
+ ar: "ناجح"
605
+ }
606
+ },
607
+ submittedAt: {
608
+ labels: {
609
+ ar: "تاريخ التسليم"
610
+ }
611
+ }
612
+ },
613
+ "lms-certificates": {
614
+ code: {
615
+ labels: {
616
+ ar: "الرمز"
617
+ }
618
+ },
619
+ student: {
620
+ labels: {
621
+ ar: "المتعلم (معرّف المستخدم)"
622
+ }
623
+ },
624
+ course: {
625
+ labels: {
626
+ ar: "الدورة"
627
+ }
628
+ },
629
+ studentName: {
630
+ labels: {
631
+ ar: "اسم المتعلم"
632
+ }
633
+ },
634
+ issuedAt: {
635
+ labels: {
636
+ ar: "تاريخ الإصدار"
637
+ }
638
+ }
639
+ },
640
+ "lms-my-courses": {
641
+ title: {
642
+ labels: {
643
+ ar: "العنوان"
644
+ }
645
+ },
646
+ intro: {
647
+ labels: {
648
+ ar: "المقدمة"
649
+ }
650
+ }
651
+ },
652
+ "lms-certificate": {
653
+ title: {
654
+ labels: {
655
+ ar: "العنوان"
656
+ }
657
+ },
658
+ intro: {
659
+ labels: {
660
+ ar: "المقدمة"
661
+ }
662
+ }
663
+ }
664
+ };
665
+ /** The same for the blocks the plugin's schema makes, by block. */
666
+ export const BLOCK_FIELD_LABELS = {
667
+ lms_quiz: {
668
+ quiz: {
669
+ labels: {
670
+ ar: "الاختبار"
671
+ }
672
+ }
673
+ }
674
+ };
package/outline.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { type RecordPanelProps } from "tansy/admin";
2
+ /** Enrolls each address that has an account. Says how many, never which, as the route does. */
3
+ export declare function enrollByEmail(course: number, typed: string): Promise<string>;
4
+ /** On a course, section or lesson, a way back to the course builder, where its outline is edited. */
5
+ export declare function BuilderPanel({ collection, recordId, values }: RecordPanelProps): import("react").JSX.Element | null;