richie-education 3.4.1-dev3 → 3.5.1-dev1
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/.eslintrc.json +32 -0
- package/i18n/locales/ar-SA.json +66 -6
- package/i18n/locales/es-ES.json +66 -6
- package/i18n/locales/fa-IR.json +66 -6
- package/i18n/locales/fr-CA.json +66 -6
- package/i18n/locales/fr-FR.json +65 -5
- package/i18n/locales/ko-KR.json +66 -6
- package/i18n/locales/pt-PT.json +66 -6
- package/i18n/locales/ru-RU.json +66 -6
- package/i18n/locales/vi-VN.json +66 -6
- package/js/api/joanie.ts +26 -0
- package/js/api/lms/index.spec.ts +33 -0
- package/js/api/lms/index.ts +1 -1
- package/js/api/lms/openedx-hawthorn.spec.ts +49 -0
- package/js/api/lms/openedx-hawthorn.ts +5 -2
- package/js/api/utils.ts +4 -3
- package/js/components/DownloadAgreementButton/index.tsx +51 -0
- package/js/components/DownloadBatchOrderSeatsButton/index.spec.tsx +46 -0
- package/js/components/DownloadBatchOrderSeatsButton/index.tsx +97 -0
- package/js/components/Icon/index.tsx +1 -0
- package/js/components/SaleTunnel/SaleTunnelInformation/SaleTunnelInformationGroup.tsx +1 -1
- package/js/components/SaleTunnel/SaleTunnelSuccess/index.tsx +1 -1
- package/js/components/SaleTunnel/SubscriptionButton/index.tsx +2 -1
- package/js/components/SaleTunnel/_styles.scss +4 -1
- package/js/components/SaleTunnel/index.full-process-b2b.spec.tsx +5 -5
- package/js/components/SaleTunnel/index.full-process-b2c.spec.tsx +1 -1
- package/js/hooks/useBatchOrder/index.tsx +21 -1
- package/js/hooks/useDownloadAgreement/index.spec.tsx +136 -0
- package/js/hooks/useDownloadAgreement/index.tsx +25 -0
- package/js/hooks/useDownloadBatchOrderSeats/index.spec.tsx +160 -0
- package/js/hooks/useDownloadBatchOrderSeats/index.tsx +34 -0
- package/js/pages/DashboardBatchOrderLayout/index.spec.tsx +19 -2
- package/js/pages/TeacherDashboardOrganizationQuotes/BatchOrderSeatInfoQuote.tsx +112 -0
- package/js/pages/TeacherDashboardOrganizationQuotes/_styles.scss +17 -0
- package/js/pages/TeacherDashboardOrganizationQuotes/index.full-process.spec.tsx +5 -2
- package/js/pages/TeacherDashboardOrganizationQuotes/index.spec.tsx +7 -3
- package/js/pages/TeacherDashboardOrganizationQuotes/index.tsx +39 -27
- package/js/translations/ar-SA.json +1 -1
- package/js/translations/es-ES.json +1 -1
- package/js/translations/fa-IR.json +1 -1
- package/js/translations/fr-CA.json +1 -1
- package/js/translations/fr-FR.json +1 -1
- package/js/translations/ko-KR.json +1 -1
- package/js/translations/pt-PT.json +1 -1
- package/js/translations/ru-RU.json +1 -1
- package/js/translations/vi-VN.json +1 -1
- package/js/types/Joanie.ts +21 -1
- package/js/types/api.ts +1 -0
- package/js/types/commonDataProps.ts +2 -0
- package/js/utils/download.ts +3 -1
- package/js/utils/errors/HttpError.ts +1 -0
- package/js/utils/test/factories/joanie.ts +15 -1
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/BatchOrderAgreementInfo.tsx +72 -0
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/BatchOrderSeatInfo.spec.tsx +114 -0
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/BatchOrderSeatInfo.tsx +137 -0
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/DashboardBatchOrderSubItems.tsx +22 -5
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/batchOrderSeatInfoMessages.ts +24 -0
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/index.tsx +16 -3
- package/js/widgets/Dashboard/components/DashboardItem/_styles.scss +6 -2
- package/js/widgets/Dashboard/utils/teacherDashboardPaths.tsx +2 -2
- package/js/widgets/Slider/components/SlidePanel.tsx +13 -1
- package/js/widgets/Slider/index.spec.tsx +3 -5
- package/package.json +8 -8
- package/scss/components/templates/richie/slider/_slider.scss +10 -0
- package/scss/objects/_dashboard.scss +84 -0
package/.eslintrc.json
CHANGED
|
@@ -43,6 +43,38 @@
|
|
|
43
43
|
"import/extensions": "off",
|
|
44
44
|
"import/no-cycle": ["off"],
|
|
45
45
|
"import/no-dynamic-require": "off",
|
|
46
|
+
"import/no-extraneous-dependencies": [
|
|
47
|
+
"error",
|
|
48
|
+
{
|
|
49
|
+
"devDependencies": [
|
|
50
|
+
"test/**",
|
|
51
|
+
"tests/**",
|
|
52
|
+
"spec/**",
|
|
53
|
+
"**/__tests__/**",
|
|
54
|
+
"**/__mocks__/**",
|
|
55
|
+
"test.{js,jsx,ts,tsx}",
|
|
56
|
+
"test-*.{js,jsx,ts,tsx}",
|
|
57
|
+
"**/*{.,_}{test,spec}.{js,jsx,ts,tsx}",
|
|
58
|
+
"**/jest.config.{js,ts}",
|
|
59
|
+
"**/jest.setup.{js,ts}",
|
|
60
|
+
"**/vue.config.{js,ts}",
|
|
61
|
+
"**/webpack.config.{js,ts}",
|
|
62
|
+
"**/webpack.config.*.{js,ts}",
|
|
63
|
+
"**/rollup.config.{js,ts}",
|
|
64
|
+
"**/rollup.config.*.{js,ts}",
|
|
65
|
+
"**/gulpfile.{js,ts}",
|
|
66
|
+
"**/gulpfile.*.{js,ts}",
|
|
67
|
+
"**/Gruntfile{,.js,.ts}",
|
|
68
|
+
"**/protractor.conf.{js,ts}",
|
|
69
|
+
"**/protractor.conf.*.{js,ts}",
|
|
70
|
+
"**/karma.conf.{js,ts}",
|
|
71
|
+
"**/.eslintrc.{js,ts}",
|
|
72
|
+
"**/*.stories.{js,jsx,ts,tsx}",
|
|
73
|
+
".storybook/**"
|
|
74
|
+
],
|
|
75
|
+
"optionalDependencies": false
|
|
76
|
+
}
|
|
77
|
+
],
|
|
46
78
|
"import/order": [
|
|
47
79
|
"error",
|
|
48
80
|
{
|
package/i18n/locales/ar-SA.json
CHANGED
|
@@ -27,6 +27,18 @@
|
|
|
27
27
|
"description": "Label for the field asking the company address",
|
|
28
28
|
"message": "Address"
|
|
29
29
|
},
|
|
30
|
+
"batchOrder.agreement.organizationSignedOn": {
|
|
31
|
+
"description": "Label displayed once the organization has counter-signed the agreement",
|
|
32
|
+
"message": "Signed by the organization on {date}."
|
|
33
|
+
},
|
|
34
|
+
"batchOrder.agreement.title": {
|
|
35
|
+
"description": "Step label for the agreement document in the batch order detail",
|
|
36
|
+
"message": "Agreement"
|
|
37
|
+
},
|
|
38
|
+
"batchOrder.agreement.waitingOrganization": {
|
|
39
|
+
"description": "Label displayed when the agreement is waiting for the organization counter-signature",
|
|
40
|
+
"message": "Waiting for the organization to counter-sign the agreement."
|
|
41
|
+
},
|
|
30
42
|
"batchOrder.bankTransfer": {
|
|
31
43
|
"description": "Option label for selecting bank transfer payment",
|
|
32
44
|
"message": "Bank transfer"
|
|
@@ -59,6 +71,26 @@
|
|
|
59
71
|
"description": "Label for the field asking the email address of the contact person",
|
|
60
72
|
"message": "Email"
|
|
61
73
|
},
|
|
74
|
+
"batchOrder.enrollmentManagement.enrolledParticipants": {
|
|
75
|
+
"description": "Progress label showing enrolled participants out of total seats",
|
|
76
|
+
"message": "{seats_owned}/{nb_seats} enrolled participants"
|
|
77
|
+
},
|
|
78
|
+
"batchOrder.enrollmentManagement.loadMore": {
|
|
79
|
+
"description": "Button to load more seats",
|
|
80
|
+
"message": "Load {count} more"
|
|
81
|
+
},
|
|
82
|
+
"batchOrder.enrollmentManagement.noResults": {
|
|
83
|
+
"description": "Message shown when the student search returns no results",
|
|
84
|
+
"message": "No student matches your search."
|
|
85
|
+
},
|
|
86
|
+
"batchOrder.enrollmentManagement.searchPlaceholder": {
|
|
87
|
+
"description": "Placeholder for the seat search input (student name or voucher)",
|
|
88
|
+
"message": "Student name"
|
|
89
|
+
},
|
|
90
|
+
"batchOrder.enrollmentManagement.title": {
|
|
91
|
+
"description": "Title for enrollment management section",
|
|
92
|
+
"message": "Enrollment"
|
|
93
|
+
},
|
|
62
94
|
"batchOrder.firstName": {
|
|
63
95
|
"description": "Label for the field asking the first name of the contact person",
|
|
64
96
|
"message": "First name"
|
|
@@ -131,6 +163,10 @@
|
|
|
131
163
|
"description": "Label displayed for the profession field in batch order form",
|
|
132
164
|
"message": "Profession"
|
|
133
165
|
},
|
|
166
|
+
"batchOrder.label.seats": {
|
|
167
|
+
"description": "Label displayed for the seats count field in the batch order participants sub-item",
|
|
168
|
+
"message": "Seats"
|
|
169
|
+
},
|
|
134
170
|
"batchOrder.label.siret": {
|
|
135
171
|
"description": "Label displayed for the SIRET field in batch order form",
|
|
136
172
|
"message": "SIRET"
|
|
@@ -197,11 +233,11 @@
|
|
|
197
233
|
},
|
|
198
234
|
"batchOrder.seats": {
|
|
199
235
|
"description": "Text displayed for seats value in batch order",
|
|
200
|
-
"message": "
|
|
236
|
+
"message": "{nb_seats} seats"
|
|
201
237
|
},
|
|
202
238
|
"batchOrder.seatsCount": {
|
|
203
|
-
"description": "Text displayed for seats count
|
|
204
|
-
"message": "{
|
|
239
|
+
"description": "Text displayed for seats count in batch order (owned / total)",
|
|
240
|
+
"message": "{seats_owned}/{nb_seats} seats"
|
|
205
241
|
},
|
|
206
242
|
"batchOrder.status.assigned": {
|
|
207
243
|
"description": "Status label for an assigned batch order",
|
|
@@ -1371,6 +1407,30 @@
|
|
|
1371
1407
|
"description": "Accessible label for user menu button",
|
|
1372
1408
|
"message": "الوصول إلى إعدادات ملفك الشخصي"
|
|
1373
1409
|
},
|
|
1410
|
+
"components.DownloadAgreementButton.download": {
|
|
1411
|
+
"description": "Label for the button to download a signed agreement PDF",
|
|
1412
|
+
"message": "Download agreement"
|
|
1413
|
+
},
|
|
1414
|
+
"components.DownloadAgreementButton.generating": {
|
|
1415
|
+
"description": "Accessible label displayed while agreement PDF is being downloaded.",
|
|
1416
|
+
"message": "Downloading..."
|
|
1417
|
+
},
|
|
1418
|
+
"components.DownloadBatchOrderSeatsButton.download": {
|
|
1419
|
+
"description": "Label for the button to export batch order seats as CSV",
|
|
1420
|
+
"message": "Export CSV"
|
|
1421
|
+
},
|
|
1422
|
+
"components.DownloadBatchOrderSeatsButton.filenamePrefix": {
|
|
1423
|
+
"description": "Prefix used to build the filename of the exported batch order seats CSV",
|
|
1424
|
+
"message": "Seats"
|
|
1425
|
+
},
|
|
1426
|
+
"components.DownloadBatchOrderSeatsButton.generating": {
|
|
1427
|
+
"description": "Accessible label displayed while CSV export is being generated.",
|
|
1428
|
+
"message": "Generating export..."
|
|
1429
|
+
},
|
|
1430
|
+
"components.DownloadBatchOrderSeatsButton.noSeatsOwned": {
|
|
1431
|
+
"description": "Error message displayed when trying to export seats but no seats are owned yet.",
|
|
1432
|
+
"message": "No participants have claimed their seat yet. The export will be available once at least one participant has enrolled."
|
|
1433
|
+
},
|
|
1374
1434
|
"components.DownloadCertificateButton.download": {
|
|
1375
1435
|
"description": "Label for the download button of a certificate",
|
|
1376
1436
|
"message": "Download"
|
|
@@ -2137,7 +2197,7 @@
|
|
|
2137
2197
|
},
|
|
2138
2198
|
"components.SaleTunnelSuccess.successDetailMessage": {
|
|
2139
2199
|
"description": "Text to explain when the user will be able to start its training.",
|
|
2140
|
-
"message": "You
|
|
2200
|
+
"message": "You’ll be able to start your training once the first installment has been paid, or once access opens if no payment is required."
|
|
2141
2201
|
},
|
|
2142
2202
|
"components.SaleTunnelSuccess.successMessage": {
|
|
2143
2203
|
"description": "Message to confirm that order has been created",
|
|
@@ -2457,7 +2517,7 @@
|
|
|
2457
2517
|
},
|
|
2458
2518
|
"components.TeacherDashboard.TeacherDashboardRoutes.course.product.learnerList.label": {
|
|
2459
2519
|
"description": "Label to display the product's learner list view.",
|
|
2460
|
-
"message": "
|
|
2520
|
+
"message": "Buyers"
|
|
2461
2521
|
},
|
|
2462
2522
|
"components.TeacherDashboard.TeacherDashboardRoutes.generalInformation.label": {
|
|
2463
2523
|
"description": "Label of the course general information view.",
|
|
@@ -2489,7 +2549,7 @@
|
|
|
2489
2549
|
},
|
|
2490
2550
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.product.learnerList.label": {
|
|
2491
2551
|
"description": "Label to display the organization product's learner list view.",
|
|
2492
|
-
"message": "
|
|
2552
|
+
"message": "Buyers"
|
|
2493
2553
|
},
|
|
2494
2554
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.courses.label": {
|
|
2495
2555
|
"description": "Label of the organization courses view.",
|
package/i18n/locales/es-ES.json
CHANGED
|
@@ -27,6 +27,18 @@
|
|
|
27
27
|
"description": "Label for the field asking the company address",
|
|
28
28
|
"message": "Address"
|
|
29
29
|
},
|
|
30
|
+
"batchOrder.agreement.organizationSignedOn": {
|
|
31
|
+
"description": "Label displayed once the organization has counter-signed the agreement",
|
|
32
|
+
"message": "Signed by the organization on {date}."
|
|
33
|
+
},
|
|
34
|
+
"batchOrder.agreement.title": {
|
|
35
|
+
"description": "Step label for the agreement document in the batch order detail",
|
|
36
|
+
"message": "Agreement"
|
|
37
|
+
},
|
|
38
|
+
"batchOrder.agreement.waitingOrganization": {
|
|
39
|
+
"description": "Label displayed when the agreement is waiting for the organization counter-signature",
|
|
40
|
+
"message": "Waiting for the organization to counter-sign the agreement."
|
|
41
|
+
},
|
|
30
42
|
"batchOrder.bankTransfer": {
|
|
31
43
|
"description": "Option label for selecting bank transfer payment",
|
|
32
44
|
"message": "Bank transfer"
|
|
@@ -59,6 +71,26 @@
|
|
|
59
71
|
"description": "Label for the field asking the email address of the contact person",
|
|
60
72
|
"message": "Email"
|
|
61
73
|
},
|
|
74
|
+
"batchOrder.enrollmentManagement.enrolledParticipants": {
|
|
75
|
+
"description": "Progress label showing enrolled participants out of total seats",
|
|
76
|
+
"message": "{seats_owned}/{nb_seats} enrolled participants"
|
|
77
|
+
},
|
|
78
|
+
"batchOrder.enrollmentManagement.loadMore": {
|
|
79
|
+
"description": "Button to load more seats",
|
|
80
|
+
"message": "Load {count} more"
|
|
81
|
+
},
|
|
82
|
+
"batchOrder.enrollmentManagement.noResults": {
|
|
83
|
+
"description": "Message shown when the student search returns no results",
|
|
84
|
+
"message": "No student matches your search."
|
|
85
|
+
},
|
|
86
|
+
"batchOrder.enrollmentManagement.searchPlaceholder": {
|
|
87
|
+
"description": "Placeholder for the seat search input (student name or voucher)",
|
|
88
|
+
"message": "Student name"
|
|
89
|
+
},
|
|
90
|
+
"batchOrder.enrollmentManagement.title": {
|
|
91
|
+
"description": "Title for enrollment management section",
|
|
92
|
+
"message": "Enrollment"
|
|
93
|
+
},
|
|
62
94
|
"batchOrder.firstName": {
|
|
63
95
|
"description": "Label for the field asking the first name of the contact person",
|
|
64
96
|
"message": "First name"
|
|
@@ -131,6 +163,10 @@
|
|
|
131
163
|
"description": "Label displayed for the profession field in batch order form",
|
|
132
164
|
"message": "Profession"
|
|
133
165
|
},
|
|
166
|
+
"batchOrder.label.seats": {
|
|
167
|
+
"description": "Label displayed for the seats count field in the batch order participants sub-item",
|
|
168
|
+
"message": "Seats"
|
|
169
|
+
},
|
|
134
170
|
"batchOrder.label.siret": {
|
|
135
171
|
"description": "Label displayed for the SIRET field in batch order form",
|
|
136
172
|
"message": "SIRET"
|
|
@@ -197,11 +233,11 @@
|
|
|
197
233
|
},
|
|
198
234
|
"batchOrder.seats": {
|
|
199
235
|
"description": "Text displayed for seats value in batch order",
|
|
200
|
-
"message": "
|
|
236
|
+
"message": "{nb_seats} seats"
|
|
201
237
|
},
|
|
202
238
|
"batchOrder.seatsCount": {
|
|
203
|
-
"description": "Text displayed for seats count
|
|
204
|
-
"message": "{
|
|
239
|
+
"description": "Text displayed for seats count in batch order (owned / total)",
|
|
240
|
+
"message": "{seats_owned}/{nb_seats} seats"
|
|
205
241
|
},
|
|
206
242
|
"batchOrder.status.assigned": {
|
|
207
243
|
"description": "Status label for an assigned batch order",
|
|
@@ -1371,6 +1407,30 @@
|
|
|
1371
1407
|
"description": "Accessible label for user menu button",
|
|
1372
1408
|
"message": "Acceso a la configuración de su perfil"
|
|
1373
1409
|
},
|
|
1410
|
+
"components.DownloadAgreementButton.download": {
|
|
1411
|
+
"description": "Label for the button to download a signed agreement PDF",
|
|
1412
|
+
"message": "Download agreement"
|
|
1413
|
+
},
|
|
1414
|
+
"components.DownloadAgreementButton.generating": {
|
|
1415
|
+
"description": "Accessible label displayed while agreement PDF is being downloaded.",
|
|
1416
|
+
"message": "Downloading..."
|
|
1417
|
+
},
|
|
1418
|
+
"components.DownloadBatchOrderSeatsButton.download": {
|
|
1419
|
+
"description": "Label for the button to export batch order seats as CSV",
|
|
1420
|
+
"message": "Export CSV"
|
|
1421
|
+
},
|
|
1422
|
+
"components.DownloadBatchOrderSeatsButton.filenamePrefix": {
|
|
1423
|
+
"description": "Prefix used to build the filename of the exported batch order seats CSV",
|
|
1424
|
+
"message": "Seats"
|
|
1425
|
+
},
|
|
1426
|
+
"components.DownloadBatchOrderSeatsButton.generating": {
|
|
1427
|
+
"description": "Accessible label displayed while CSV export is being generated.",
|
|
1428
|
+
"message": "Generating export..."
|
|
1429
|
+
},
|
|
1430
|
+
"components.DownloadBatchOrderSeatsButton.noSeatsOwned": {
|
|
1431
|
+
"description": "Error message displayed when trying to export seats but no seats are owned yet.",
|
|
1432
|
+
"message": "No participants have claimed their seat yet. The export will be available once at least one participant has enrolled."
|
|
1433
|
+
},
|
|
1374
1434
|
"components.DownloadCertificateButton.download": {
|
|
1375
1435
|
"description": "Label for the download button of a certificate",
|
|
1376
1436
|
"message": "Download"
|
|
@@ -2137,7 +2197,7 @@
|
|
|
2137
2197
|
},
|
|
2138
2198
|
"components.SaleTunnelSuccess.successDetailMessage": {
|
|
2139
2199
|
"description": "Text to explain when the user will be able to start its training.",
|
|
2140
|
-
"message": "You
|
|
2200
|
+
"message": "You’ll be able to start your training once the first installment has been paid, or once access opens if no payment is required."
|
|
2141
2201
|
},
|
|
2142
2202
|
"components.SaleTunnelSuccess.successMessage": {
|
|
2143
2203
|
"description": "Message to confirm that order has been created",
|
|
@@ -2457,7 +2517,7 @@
|
|
|
2457
2517
|
},
|
|
2458
2518
|
"components.TeacherDashboard.TeacherDashboardRoutes.course.product.learnerList.label": {
|
|
2459
2519
|
"description": "Label to display the product's learner list view.",
|
|
2460
|
-
"message": "
|
|
2520
|
+
"message": "Buyers"
|
|
2461
2521
|
},
|
|
2462
2522
|
"components.TeacherDashboard.TeacherDashboardRoutes.generalInformation.label": {
|
|
2463
2523
|
"description": "Label of the course general information view.",
|
|
@@ -2489,7 +2549,7 @@
|
|
|
2489
2549
|
},
|
|
2490
2550
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.product.learnerList.label": {
|
|
2491
2551
|
"description": "Label to display the organization product's learner list view.",
|
|
2492
|
-
"message": "
|
|
2552
|
+
"message": "Buyers"
|
|
2493
2553
|
},
|
|
2494
2554
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.courses.label": {
|
|
2495
2555
|
"description": "Label of the organization courses view.",
|
package/i18n/locales/fa-IR.json
CHANGED
|
@@ -27,6 +27,18 @@
|
|
|
27
27
|
"description": "Label for the field asking the company address",
|
|
28
28
|
"message": "Address"
|
|
29
29
|
},
|
|
30
|
+
"batchOrder.agreement.organizationSignedOn": {
|
|
31
|
+
"description": "Label displayed once the organization has counter-signed the agreement",
|
|
32
|
+
"message": "Signed by the organization on {date}."
|
|
33
|
+
},
|
|
34
|
+
"batchOrder.agreement.title": {
|
|
35
|
+
"description": "Step label for the agreement document in the batch order detail",
|
|
36
|
+
"message": "Agreement"
|
|
37
|
+
},
|
|
38
|
+
"batchOrder.agreement.waitingOrganization": {
|
|
39
|
+
"description": "Label displayed when the agreement is waiting for the organization counter-signature",
|
|
40
|
+
"message": "Waiting for the organization to counter-sign the agreement."
|
|
41
|
+
},
|
|
30
42
|
"batchOrder.bankTransfer": {
|
|
31
43
|
"description": "Option label for selecting bank transfer payment",
|
|
32
44
|
"message": "Bank transfer"
|
|
@@ -59,6 +71,26 @@
|
|
|
59
71
|
"description": "Label for the field asking the email address of the contact person",
|
|
60
72
|
"message": "Email"
|
|
61
73
|
},
|
|
74
|
+
"batchOrder.enrollmentManagement.enrolledParticipants": {
|
|
75
|
+
"description": "Progress label showing enrolled participants out of total seats",
|
|
76
|
+
"message": "{seats_owned}/{nb_seats} enrolled participants"
|
|
77
|
+
},
|
|
78
|
+
"batchOrder.enrollmentManagement.loadMore": {
|
|
79
|
+
"description": "Button to load more seats",
|
|
80
|
+
"message": "Load {count} more"
|
|
81
|
+
},
|
|
82
|
+
"batchOrder.enrollmentManagement.noResults": {
|
|
83
|
+
"description": "Message shown when the student search returns no results",
|
|
84
|
+
"message": "No student matches your search."
|
|
85
|
+
},
|
|
86
|
+
"batchOrder.enrollmentManagement.searchPlaceholder": {
|
|
87
|
+
"description": "Placeholder for the seat search input (student name or voucher)",
|
|
88
|
+
"message": "Student name"
|
|
89
|
+
},
|
|
90
|
+
"batchOrder.enrollmentManagement.title": {
|
|
91
|
+
"description": "Title for enrollment management section",
|
|
92
|
+
"message": "Enrollment"
|
|
93
|
+
},
|
|
62
94
|
"batchOrder.firstName": {
|
|
63
95
|
"description": "Label for the field asking the first name of the contact person",
|
|
64
96
|
"message": "First name"
|
|
@@ -131,6 +163,10 @@
|
|
|
131
163
|
"description": "Label displayed for the profession field in batch order form",
|
|
132
164
|
"message": "Profession"
|
|
133
165
|
},
|
|
166
|
+
"batchOrder.label.seats": {
|
|
167
|
+
"description": "Label displayed for the seats count field in the batch order participants sub-item",
|
|
168
|
+
"message": "Seats"
|
|
169
|
+
},
|
|
134
170
|
"batchOrder.label.siret": {
|
|
135
171
|
"description": "Label displayed for the SIRET field in batch order form",
|
|
136
172
|
"message": "SIRET"
|
|
@@ -197,11 +233,11 @@
|
|
|
197
233
|
},
|
|
198
234
|
"batchOrder.seats": {
|
|
199
235
|
"description": "Text displayed for seats value in batch order",
|
|
200
|
-
"message": "
|
|
236
|
+
"message": "{nb_seats} seats"
|
|
201
237
|
},
|
|
202
238
|
"batchOrder.seatsCount": {
|
|
203
|
-
"description": "Text displayed for seats count
|
|
204
|
-
"message": "{
|
|
239
|
+
"description": "Text displayed for seats count in batch order (owned / total)",
|
|
240
|
+
"message": "{seats_owned}/{nb_seats} seats"
|
|
205
241
|
},
|
|
206
242
|
"batchOrder.status.assigned": {
|
|
207
243
|
"description": "Status label for an assigned batch order",
|
|
@@ -1371,6 +1407,30 @@
|
|
|
1371
1407
|
"description": "Accessible label for user menu button",
|
|
1372
1408
|
"message": "Access to your profile settings"
|
|
1373
1409
|
},
|
|
1410
|
+
"components.DownloadAgreementButton.download": {
|
|
1411
|
+
"description": "Label for the button to download a signed agreement PDF",
|
|
1412
|
+
"message": "Download agreement"
|
|
1413
|
+
},
|
|
1414
|
+
"components.DownloadAgreementButton.generating": {
|
|
1415
|
+
"description": "Accessible label displayed while agreement PDF is being downloaded.",
|
|
1416
|
+
"message": "Downloading..."
|
|
1417
|
+
},
|
|
1418
|
+
"components.DownloadBatchOrderSeatsButton.download": {
|
|
1419
|
+
"description": "Label for the button to export batch order seats as CSV",
|
|
1420
|
+
"message": "Export CSV"
|
|
1421
|
+
},
|
|
1422
|
+
"components.DownloadBatchOrderSeatsButton.filenamePrefix": {
|
|
1423
|
+
"description": "Prefix used to build the filename of the exported batch order seats CSV",
|
|
1424
|
+
"message": "Seats"
|
|
1425
|
+
},
|
|
1426
|
+
"components.DownloadBatchOrderSeatsButton.generating": {
|
|
1427
|
+
"description": "Accessible label displayed while CSV export is being generated.",
|
|
1428
|
+
"message": "Generating export..."
|
|
1429
|
+
},
|
|
1430
|
+
"components.DownloadBatchOrderSeatsButton.noSeatsOwned": {
|
|
1431
|
+
"description": "Error message displayed when trying to export seats but no seats are owned yet.",
|
|
1432
|
+
"message": "No participants have claimed their seat yet. The export will be available once at least one participant has enrolled."
|
|
1433
|
+
},
|
|
1374
1434
|
"components.DownloadCertificateButton.download": {
|
|
1375
1435
|
"description": "Label for the download button of a certificate",
|
|
1376
1436
|
"message": "Download"
|
|
@@ -2137,7 +2197,7 @@
|
|
|
2137
2197
|
},
|
|
2138
2198
|
"components.SaleTunnelSuccess.successDetailMessage": {
|
|
2139
2199
|
"description": "Text to explain when the user will be able to start its training.",
|
|
2140
|
-
"message": "You
|
|
2200
|
+
"message": "You’ll be able to start your training once the first installment has been paid, or once access opens if no payment is required."
|
|
2141
2201
|
},
|
|
2142
2202
|
"components.SaleTunnelSuccess.successMessage": {
|
|
2143
2203
|
"description": "Message to confirm that order has been created",
|
|
@@ -2457,7 +2517,7 @@
|
|
|
2457
2517
|
},
|
|
2458
2518
|
"components.TeacherDashboard.TeacherDashboardRoutes.course.product.learnerList.label": {
|
|
2459
2519
|
"description": "Label to display the product's learner list view.",
|
|
2460
|
-
"message": "
|
|
2520
|
+
"message": "Buyers"
|
|
2461
2521
|
},
|
|
2462
2522
|
"components.TeacherDashboard.TeacherDashboardRoutes.generalInformation.label": {
|
|
2463
2523
|
"description": "Label of the course general information view.",
|
|
@@ -2489,7 +2549,7 @@
|
|
|
2489
2549
|
},
|
|
2490
2550
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.product.learnerList.label": {
|
|
2491
2551
|
"description": "Label to display the organization product's learner list view.",
|
|
2492
|
-
"message": "
|
|
2552
|
+
"message": "Buyers"
|
|
2493
2553
|
},
|
|
2494
2554
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.courses.label": {
|
|
2495
2555
|
"description": "Label of the organization courses view.",
|
package/i18n/locales/fr-CA.json
CHANGED
|
@@ -27,6 +27,18 @@
|
|
|
27
27
|
"description": "Label for the field asking the company address",
|
|
28
28
|
"message": "Address"
|
|
29
29
|
},
|
|
30
|
+
"batchOrder.agreement.organizationSignedOn": {
|
|
31
|
+
"description": "Label displayed once the organization has counter-signed the agreement",
|
|
32
|
+
"message": "Signed by the organization on {date}."
|
|
33
|
+
},
|
|
34
|
+
"batchOrder.agreement.title": {
|
|
35
|
+
"description": "Step label for the agreement document in the batch order detail",
|
|
36
|
+
"message": "Agreement"
|
|
37
|
+
},
|
|
38
|
+
"batchOrder.agreement.waitingOrganization": {
|
|
39
|
+
"description": "Label displayed when the agreement is waiting for the organization counter-signature",
|
|
40
|
+
"message": "Waiting for the organization to counter-sign the agreement."
|
|
41
|
+
},
|
|
30
42
|
"batchOrder.bankTransfer": {
|
|
31
43
|
"description": "Option label for selecting bank transfer payment",
|
|
32
44
|
"message": "Bank transfer"
|
|
@@ -59,6 +71,26 @@
|
|
|
59
71
|
"description": "Label for the field asking the email address of the contact person",
|
|
60
72
|
"message": "Email"
|
|
61
73
|
},
|
|
74
|
+
"batchOrder.enrollmentManagement.enrolledParticipants": {
|
|
75
|
+
"description": "Progress label showing enrolled participants out of total seats",
|
|
76
|
+
"message": "{seats_owned}/{nb_seats} enrolled participants"
|
|
77
|
+
},
|
|
78
|
+
"batchOrder.enrollmentManagement.loadMore": {
|
|
79
|
+
"description": "Button to load more seats",
|
|
80
|
+
"message": "Load {count} more"
|
|
81
|
+
},
|
|
82
|
+
"batchOrder.enrollmentManagement.noResults": {
|
|
83
|
+
"description": "Message shown when the student search returns no results",
|
|
84
|
+
"message": "No student matches your search."
|
|
85
|
+
},
|
|
86
|
+
"batchOrder.enrollmentManagement.searchPlaceholder": {
|
|
87
|
+
"description": "Placeholder for the seat search input (student name or voucher)",
|
|
88
|
+
"message": "Student name"
|
|
89
|
+
},
|
|
90
|
+
"batchOrder.enrollmentManagement.title": {
|
|
91
|
+
"description": "Title for enrollment management section",
|
|
92
|
+
"message": "Enrollment"
|
|
93
|
+
},
|
|
62
94
|
"batchOrder.firstName": {
|
|
63
95
|
"description": "Label for the field asking the first name of the contact person",
|
|
64
96
|
"message": "First name"
|
|
@@ -131,6 +163,10 @@
|
|
|
131
163
|
"description": "Label displayed for the profession field in batch order form",
|
|
132
164
|
"message": "Profession"
|
|
133
165
|
},
|
|
166
|
+
"batchOrder.label.seats": {
|
|
167
|
+
"description": "Label displayed for the seats count field in the batch order participants sub-item",
|
|
168
|
+
"message": "Seats"
|
|
169
|
+
},
|
|
134
170
|
"batchOrder.label.siret": {
|
|
135
171
|
"description": "Label displayed for the SIRET field in batch order form",
|
|
136
172
|
"message": "SIRET"
|
|
@@ -197,11 +233,11 @@
|
|
|
197
233
|
},
|
|
198
234
|
"batchOrder.seats": {
|
|
199
235
|
"description": "Text displayed for seats value in batch order",
|
|
200
|
-
"message": "
|
|
236
|
+
"message": "{nb_seats} seats"
|
|
201
237
|
},
|
|
202
238
|
"batchOrder.seatsCount": {
|
|
203
|
-
"description": "Text displayed for seats count
|
|
204
|
-
"message": "{
|
|
239
|
+
"description": "Text displayed for seats count in batch order (owned / total)",
|
|
240
|
+
"message": "{seats_owned}/{nb_seats} seats"
|
|
205
241
|
},
|
|
206
242
|
"batchOrder.status.assigned": {
|
|
207
243
|
"description": "Status label for an assigned batch order",
|
|
@@ -1371,6 +1407,30 @@
|
|
|
1371
1407
|
"description": "Accessible label for user menu button",
|
|
1372
1408
|
"message": "Accéder aux préférences de votre profil"
|
|
1373
1409
|
},
|
|
1410
|
+
"components.DownloadAgreementButton.download": {
|
|
1411
|
+
"description": "Label for the button to download a signed agreement PDF",
|
|
1412
|
+
"message": "Download agreement"
|
|
1413
|
+
},
|
|
1414
|
+
"components.DownloadAgreementButton.generating": {
|
|
1415
|
+
"description": "Accessible label displayed while agreement PDF is being downloaded.",
|
|
1416
|
+
"message": "Downloading..."
|
|
1417
|
+
},
|
|
1418
|
+
"components.DownloadBatchOrderSeatsButton.download": {
|
|
1419
|
+
"description": "Label for the button to export batch order seats as CSV",
|
|
1420
|
+
"message": "Export CSV"
|
|
1421
|
+
},
|
|
1422
|
+
"components.DownloadBatchOrderSeatsButton.filenamePrefix": {
|
|
1423
|
+
"description": "Prefix used to build the filename of the exported batch order seats CSV",
|
|
1424
|
+
"message": "Seats"
|
|
1425
|
+
},
|
|
1426
|
+
"components.DownloadBatchOrderSeatsButton.generating": {
|
|
1427
|
+
"description": "Accessible label displayed while CSV export is being generated.",
|
|
1428
|
+
"message": "Generating export..."
|
|
1429
|
+
},
|
|
1430
|
+
"components.DownloadBatchOrderSeatsButton.noSeatsOwned": {
|
|
1431
|
+
"description": "Error message displayed when trying to export seats but no seats are owned yet.",
|
|
1432
|
+
"message": "No participants have claimed their seat yet. The export will be available once at least one participant has enrolled."
|
|
1433
|
+
},
|
|
1374
1434
|
"components.DownloadCertificateButton.download": {
|
|
1375
1435
|
"description": "Label for the download button of a certificate",
|
|
1376
1436
|
"message": "Télécharger"
|
|
@@ -2137,7 +2197,7 @@
|
|
|
2137
2197
|
},
|
|
2138
2198
|
"components.SaleTunnelSuccess.successDetailMessage": {
|
|
2139
2199
|
"description": "Text to explain when the user will be able to start its training.",
|
|
2140
|
-
"message": "You
|
|
2200
|
+
"message": "You’ll be able to start your training once the first installment has been paid, or once access opens if no payment is required."
|
|
2141
2201
|
},
|
|
2142
2202
|
"components.SaleTunnelSuccess.successMessage": {
|
|
2143
2203
|
"description": "Message to confirm that order has been created",
|
|
@@ -2457,7 +2517,7 @@
|
|
|
2457
2517
|
},
|
|
2458
2518
|
"components.TeacherDashboard.TeacherDashboardRoutes.course.product.learnerList.label": {
|
|
2459
2519
|
"description": "Label to display the product's learner list view.",
|
|
2460
|
-
"message": "
|
|
2520
|
+
"message": "Buyers"
|
|
2461
2521
|
},
|
|
2462
2522
|
"components.TeacherDashboard.TeacherDashboardRoutes.generalInformation.label": {
|
|
2463
2523
|
"description": "Label of the course general information view.",
|
|
@@ -2489,7 +2549,7 @@
|
|
|
2489
2549
|
},
|
|
2490
2550
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.product.learnerList.label": {
|
|
2491
2551
|
"description": "Label to display the organization product's learner list view.",
|
|
2492
|
-
"message": "
|
|
2552
|
+
"message": "Buyers"
|
|
2493
2553
|
},
|
|
2494
2554
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.courses.label": {
|
|
2495
2555
|
"description": "Label of the organization courses view.",
|