richie-education 2.27.0 → 2.28.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/i18n/locales/ar-SA.json +2 -2
- package/i18n/locales/es-ES.json +2 -2
- package/i18n/locales/fa-IR.json +2 -2
- package/i18n/locales/fr-CA.json +2 -2
- package/i18n/locales/fr-FR.json +13 -13
- package/i18n/locales/ko-KR.json +2 -2
- package/i18n/locales/pt-PT.json +130 -130
- package/i18n/locales/ru-RU.json +2 -2
- package/i18n/locales/vi-VN.json +2 -2
- package/js/components/AddressesManagement/index.spec.tsx +1 -1
- package/js/components/OpenEdxFullNameForm/index.tsx +3 -4
- package/js/components/PurchaseButton/index.tsx +8 -8
- package/js/components/SaleTunnel/index.full-process.spec.tsx +1 -1
- package/js/components/SignContractButton/index.spec.tsx +12 -1
- package/js/components/SignContractButton/index.tsx +10 -2
- package/js/hooks/useDateFormat/index.spec.tsx +12 -0
- package/js/hooks/useDateFormat/index.tsx +6 -3
- 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 +1 -0
- package/js/utils/UserHelper/index.spec.ts +11 -3
- package/js/utils/UserHelper/index.ts +19 -2
- package/js/utils/test/factories/joanie.ts +2 -0
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/ProductCertificateFooter/index.spec.tsx +35 -5
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/ProductCertificateFooter/index.tsx +11 -10
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRun/index.tsx +2 -2
- package/package.json +27 -27
package/i18n/locales/ar-SA.json
CHANGED
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
},
|
|
1430
1430
|
"components.SyllabusCourseRun.coursePeriod": {
|
|
1431
1431
|
"description": "Course date of an opened course run block",
|
|
1432
|
-
"message": "From {startDate} to {endDate}"
|
|
1432
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1433
1433
|
},
|
|
1434
1434
|
"components.SyllabusCourseRun.enrollment": {
|
|
1435
1435
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
},
|
|
1438
1438
|
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
1439
1439
|
"description": "Enrollment date of an opened course run block",
|
|
1440
|
-
"message": "From {startDate} to {endDate}"
|
|
1440
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1441
1441
|
},
|
|
1442
1442
|
"components.SyllabusCourseRun.languages": {
|
|
1443
1443
|
"description": "Title of the languages section of an opened course run block",
|
package/i18n/locales/es-ES.json
CHANGED
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
},
|
|
1430
1430
|
"components.SyllabusCourseRun.coursePeriod": {
|
|
1431
1431
|
"description": "Course date of an opened course run block",
|
|
1432
|
-
"message": "From {startDate} to {endDate}"
|
|
1432
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1433
1433
|
},
|
|
1434
1434
|
"components.SyllabusCourseRun.enrollment": {
|
|
1435
1435
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
},
|
|
1438
1438
|
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
1439
1439
|
"description": "Enrollment date of an opened course run block",
|
|
1440
|
-
"message": "From {startDate} to {endDate}"
|
|
1440
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1441
1441
|
},
|
|
1442
1442
|
"components.SyllabusCourseRun.languages": {
|
|
1443
1443
|
"description": "Title of the languages section of an opened course run block",
|
package/i18n/locales/fa-IR.json
CHANGED
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
},
|
|
1430
1430
|
"components.SyllabusCourseRun.coursePeriod": {
|
|
1431
1431
|
"description": "Course date of an opened course run block",
|
|
1432
|
-
"message": "From {startDate} to {endDate}"
|
|
1432
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1433
1433
|
},
|
|
1434
1434
|
"components.SyllabusCourseRun.enrollment": {
|
|
1435
1435
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
},
|
|
1438
1438
|
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
1439
1439
|
"description": "Enrollment date of an opened course run block",
|
|
1440
|
-
"message": "From {startDate} to {endDate}"
|
|
1440
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1441
1441
|
},
|
|
1442
1442
|
"components.SyllabusCourseRun.languages": {
|
|
1443
1443
|
"description": "Title of the languages section of an opened course run block",
|
package/i18n/locales/fr-CA.json
CHANGED
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
},
|
|
1430
1430
|
"components.SyllabusCourseRun.coursePeriod": {
|
|
1431
1431
|
"description": "Course date of an opened course run block",
|
|
1432
|
-
"message": "
|
|
1432
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1433
1433
|
},
|
|
1434
1434
|
"components.SyllabusCourseRun.enrollment": {
|
|
1435
1435
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
},
|
|
1438
1438
|
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
1439
1439
|
"description": "Enrollment date of an opened course run block",
|
|
1440
|
-
"message": "
|
|
1440
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1441
1441
|
},
|
|
1442
1442
|
"components.SyllabusCourseRun.languages": {
|
|
1443
1443
|
"description": "Title of the languages section of an opened course run block",
|
package/i18n/locales/fr-FR.json
CHANGED
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
},
|
|
126
126
|
"components.ContractStatus.learnerSignedOn": {
|
|
127
127
|
"description": "Label for the date of sign of a training contract by the learner",
|
|
128
|
-
"message": "Vous avez signé ce contrat de formation.
|
|
128
|
+
"message": "Vous avez signé ce contrat de formation. Signé le {date}"
|
|
129
129
|
},
|
|
130
130
|
"components.ContractStatus.organizationSignedOn": {
|
|
131
131
|
"description": "Label for the date of sign of a training contract by the organization",
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
},
|
|
254
254
|
"components.CourseRunEnrollment.enroll": {
|
|
255
255
|
"description": "CTA for users who can enroll in the course run or could enroll if they logged in.",
|
|
256
|
-
"message": "
|
|
256
|
+
"message": "Je m'inscris"
|
|
257
257
|
},
|
|
258
258
|
"components.CourseRunEnrollment.enrolled": {
|
|
259
259
|
"description": "Help text for users who see the \"Go to course\" CTA on course run enrollment",
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
},
|
|
282
282
|
"components.CourseRunEnrollment.loginToEnroll": {
|
|
283
283
|
"description": "Helper text in the enroll button for non logged in users",
|
|
284
|
-
"message": "
|
|
284
|
+
"message": "Je me connecte pour m’inscrire"
|
|
285
285
|
},
|
|
286
286
|
"components.CourseRunEnrollment.unenroll": {
|
|
287
287
|
"description": "Help text below the \"Unenroll now\" CTA when an enrollment attempt has already failed.",
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
},
|
|
350
350
|
"components.Dashboard.DashboardRoutes.courses.label": {
|
|
351
351
|
"description": "Label of the courses view used in navigation components.",
|
|
352
|
-
"message": "Mes cours"
|
|
352
|
+
"message": "Mes cours et formations"
|
|
353
353
|
},
|
|
354
354
|
"components.Dashboard.DashboardRoutes.order.label": {
|
|
355
355
|
"description": "Label of the order view used in navigation components.",
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
},
|
|
1210
1210
|
"components.SaleTunnel.loginToPurchase": {
|
|
1211
1211
|
"description": "Label displayed inside the product's CTA when user is not logged in",
|
|
1212
|
-
"message": "
|
|
1212
|
+
"message": "Je me connecte pour m’inscrire {product}"
|
|
1213
1213
|
},
|
|
1214
1214
|
"components.SaleTunnel.noCourseRunToPurchaseCertificate": {
|
|
1215
1215
|
"description": "Label displayed below the product's CTA when there is no courseRun",
|
|
@@ -1261,7 +1261,7 @@
|
|
|
1261
1261
|
},
|
|
1262
1262
|
"components.SaleTunnelSuccess.successDetailMessage": {
|
|
1263
1263
|
"description": "Text to remind that order's invoice will be send by email soon",
|
|
1264
|
-
"message": "Vous allez recevoir votre
|
|
1264
|
+
"message": "Vous allez recevoir votre preuve de paiement par mail dans quelques instants."
|
|
1265
1265
|
},
|
|
1266
1266
|
"components.SaleTunnelSuccess.successDetailSignatureMessage": {
|
|
1267
1267
|
"description": "Text to remind that order needs to be signed",
|
|
@@ -1281,7 +1281,7 @@
|
|
|
1281
1281
|
},
|
|
1282
1282
|
"components.SaleTunnelSuccessNotValidated.description": {
|
|
1283
1283
|
"description": "Text to remind that order's invoice will be send by email soon",
|
|
1284
|
-
"message": "Votre paiement a été accepté mais la validation de votre commande prend plus de temps que prévu, vous pouvez fermer cette fenêtre et revenir plus tard. Vous allez recevoir votre
|
|
1284
|
+
"message": "Votre paiement a été accepté mais la validation de votre commande prend plus de temps que prévu, vous pouvez fermer cette fenêtre et revenir plus tard. Vous allez recevoir votre preuve de paiement par mail dans quelques instants."
|
|
1285
1285
|
},
|
|
1286
1286
|
"components.SaleTunnelSuccessNotValidated.title": {
|
|
1287
1287
|
"description": "Message to confirm that order has been created",
|
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
},
|
|
1430
1430
|
"components.SyllabusCourseRun.coursePeriod": {
|
|
1431
1431
|
"description": "Course date of an opened course run block",
|
|
1432
|
-
"message": "Du {startDate} au {endDate}"
|
|
1432
|
+
"message": "Du {startDate} {endDate, select, undefined {} other {au {endDate}}}"
|
|
1433
1433
|
},
|
|
1434
1434
|
"components.SyllabusCourseRun.enrollment": {
|
|
1435
1435
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
},
|
|
1438
1438
|
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
1439
1439
|
"description": "Enrollment date of an opened course run block",
|
|
1440
|
-
"message": "Du {startDate} au {endDate}"
|
|
1440
|
+
"message": "Du {startDate} {endDate, select, undefined {} other {au {endDate}}}"
|
|
1441
1441
|
},
|
|
1442
1442
|
"components.SyllabusCourseRun.languages": {
|
|
1443
1443
|
"description": "Title of the languages section of an opened course run block",
|
|
@@ -1513,7 +1513,7 @@
|
|
|
1513
1513
|
},
|
|
1514
1514
|
"components.TeacherDashboard.TeacherDashboardRoutes.profile.courses.label": {
|
|
1515
1515
|
"description": "Label of the teacher courses liste view.",
|
|
1516
|
-
"message": "Tous mes cours"
|
|
1516
|
+
"message": "Tous mes cours et formations"
|
|
1517
1517
|
},
|
|
1518
1518
|
"components.TeacherDashboard.TeacherDashboardRoutes.root.label": {
|
|
1519
1519
|
"description": "Label of the teacher dashboard root view.",
|
|
@@ -1565,7 +1565,7 @@
|
|
|
1565
1565
|
},
|
|
1566
1566
|
"components.TeacherDashboardCoursesLoader.title.filteredCourses": {
|
|
1567
1567
|
"description": "Filtered courses title",
|
|
1568
|
-
"message": "Vos cours"
|
|
1568
|
+
"message": "Vos cours et formations"
|
|
1569
1569
|
},
|
|
1570
1570
|
"components.TeacherDashboardCoursesLoader.title.incoming": {
|
|
1571
1571
|
"description": "Incoming courses title",
|
|
@@ -2025,7 +2025,7 @@
|
|
|
2025
2025
|
},
|
|
2026
2026
|
"utils.ContractHelper.learnerSigned": {
|
|
2027
2027
|
"description": "Label for signed contract status in learner point of view",
|
|
2028
|
-
"message": "
|
|
2028
|
+
"message": "Signé"
|
|
2029
2029
|
},
|
|
2030
2030
|
"utils.ContractHelper.learnerUnsigned": {
|
|
2031
2031
|
"description": "Label for unsigned contract status in learner point of view",
|
|
@@ -2037,7 +2037,7 @@
|
|
|
2037
2037
|
},
|
|
2038
2038
|
"utils.ContractHelper.organizationSigned": {
|
|
2039
2039
|
"description": "Label for signed contract status in organization point of view",
|
|
2040
|
-
"message": "
|
|
2040
|
+
"message": "Signé"
|
|
2041
2041
|
},
|
|
2042
2042
|
"utils.ContractHelper.organizationUnsigned": {
|
|
2043
2043
|
"description": "Label for unsigned contract status in organization point of view",
|
package/i18n/locales/ko-KR.json
CHANGED
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
},
|
|
1430
1430
|
"components.SyllabusCourseRun.coursePeriod": {
|
|
1431
1431
|
"description": "Course date of an opened course run block",
|
|
1432
|
-
"message": "From {startDate} to {endDate}"
|
|
1432
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1433
1433
|
},
|
|
1434
1434
|
"components.SyllabusCourseRun.enrollment": {
|
|
1435
1435
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
},
|
|
1438
1438
|
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
1439
1439
|
"description": "Enrollment date of an opened course run block",
|
|
1440
|
-
"message": "From {startDate} to {endDate}"
|
|
1440
|
+
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1441
1441
|
},
|
|
1442
1442
|
"components.SyllabusCourseRun.languages": {
|
|
1443
1443
|
"description": "Title of the languages section of an opened course run block",
|