richie-education 2.33.1-dev8 → 2.34.0
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 +48 -8
- package/i18n/locales/es-ES.json +48 -8
- package/i18n/locales/fa-IR.json +48 -8
- package/i18n/locales/fr-CA.json +48 -8
- package/i18n/locales/fr-FR.json +48 -8
- package/i18n/locales/ko-KR.json +48 -8
- package/i18n/locales/pt-PT.json +55 -15
- package/i18n/locales/ru-RU.json +48 -8
- package/i18n/locales/vi-VN.json +48 -8
- package/js/api/joanie.ts +5 -0
- package/js/api/lms/dummy.ts +12 -10
- package/js/components/PaymentScheduleGrid/_styles.scss +6 -5
- package/js/components/PaymentScheduleGrid/index.tsx +16 -0
- package/js/components/SearchInput/index.spec.tsx +6 -5
- package/js/components/SearchInput/index.tsx +9 -1
- package/js/hooks/useCreditCards/index.spec.tsx +83 -0
- package/js/hooks/useCreditCards/index.ts +53 -1
- package/js/hooks/useCreditCardsManagement.tsx +1 -10
- package/js/hooks/useLearnerCoursesSearch/index.tsx +2 -2
- package/js/pages/DashboardCourses/index.spec.tsx +51 -7
- package/js/pages/DashboardCreditCardsManagement/DashboardCreditCardBox.tsx +3 -5
- package/js/pages/DashboardCreditCardsManagement/_styles.scss +11 -3
- package/js/pages/DashboardCreditCardsManagement/index.spec.tsx +46 -25
- package/js/pages/DashboardCreditCardsManagement/index.tsx +21 -37
- 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 +13 -1
- package/js/utils/OrderHelper/index.ts +9 -0
- package/js/utils/errors/HttpError.ts +1 -0
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/ProductCertificateFooter/index.spec.tsx +7 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrderContract.useUnionResource.cache.spec.tsx +14 -2
- package/js/widgets/Dashboard/components/DashboardItem/Order/Installment/index.tsx +3 -2
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderPaymentDetailsModal/index.tsx +12 -5
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateLearnerMessage/index.tsx +5 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateMessage/index.tsx +10 -8
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateTeacherMessage/index.tsx +5 -0
- package/js/widgets/Dashboard/index.spec.tsx +7 -1
- package/package.json +1 -1
package/i18n/locales/ar-SA.json
CHANGED
|
@@ -507,10 +507,6 @@
|
|
|
507
507
|
"description": "Empty placeholder of the dashboard credit cards management block",
|
|
508
508
|
"message": "You haven't created any credit cards yet."
|
|
509
509
|
},
|
|
510
|
-
"components.DashboardCreditCardsManagement.errorCannotPromoteMain": {
|
|
511
|
-
"description": "Error shown if a user tries to promote a main credit card",
|
|
512
|
-
"message": "Cannot promote main credit card."
|
|
513
|
-
},
|
|
514
510
|
"components.DashboardCreditCardsManagement.header": {
|
|
515
511
|
"description": "Title of the dashboard credit cards management block",
|
|
516
512
|
"message": "Credit cards"
|
|
@@ -627,6 +623,10 @@
|
|
|
627
623
|
"description": "Status shown on the dashboard order item when order is pending for payment",
|
|
628
624
|
"message": "On going"
|
|
629
625
|
},
|
|
626
|
+
"components.DashboardItem.Order.OrderStateLearnerMessage.statusRefunded": {
|
|
627
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
628
|
+
"message": "Refunded"
|
|
629
|
+
},
|
|
630
630
|
"components.DashboardItem.Order.OrderStateLearnerMessage.statusWaitingCounterSignature": {
|
|
631
631
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
632
632
|
"message": "On going"
|
|
@@ -675,6 +675,10 @@
|
|
|
675
675
|
"description": "Status shown on the dashboard order item when order is validated with no certificate",
|
|
676
676
|
"message": "On going"
|
|
677
677
|
},
|
|
678
|
+
"components.DashboardItem.Order.OrderStateTeacherMessage.statusRefunded": {
|
|
679
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
680
|
+
"message": "Refunded"
|
|
681
|
+
},
|
|
678
682
|
"components.DashboardItem.Order.OrderStateTeacherMessage.statusWaitingCounterSignature": {
|
|
679
683
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
680
684
|
"message": "To be signed"
|
|
@@ -1187,6 +1191,14 @@
|
|
|
1187
1191
|
"description": "Label for screen reader when a credit card is being tokenized.",
|
|
1188
1192
|
"message": "Payment method definition in progress."
|
|
1189
1193
|
},
|
|
1194
|
+
"components.PaymentScheduleGrid.state.canceled": {
|
|
1195
|
+
"description": "Label displayed for canceled payment state",
|
|
1196
|
+
"message": "Canceled"
|
|
1197
|
+
},
|
|
1198
|
+
"components.PaymentScheduleGrid.state.error": {
|
|
1199
|
+
"description": "Label displayed for error payment state. For learner we assume to display `pending`.",
|
|
1200
|
+
"message": "Pending"
|
|
1201
|
+
},
|
|
1190
1202
|
"components.PaymentScheduleGrid.state.paid": {
|
|
1191
1203
|
"description": "Label displayed for paid payment state",
|
|
1192
1204
|
"message": "Paid"
|
|
@@ -1195,6 +1207,10 @@
|
|
|
1195
1207
|
"description": "Label displayed for pending payment state",
|
|
1196
1208
|
"message": "Pending"
|
|
1197
1209
|
},
|
|
1210
|
+
"components.PaymentScheduleGrid.state.refunded": {
|
|
1211
|
+
"description": "Label displayed for refunded payment state",
|
|
1212
|
+
"message": "Refunded"
|
|
1213
|
+
},
|
|
1198
1214
|
"components.PaymentScheduleGrid.state.refused": {
|
|
1199
1215
|
"description": "Label displayed for refused payment state",
|
|
1200
1216
|
"message": "Refused"
|
|
@@ -1527,6 +1543,10 @@
|
|
|
1527
1543
|
"description": "Accessibility text for the search button inside the Search input.",
|
|
1528
1544
|
"message": "البحث"
|
|
1529
1545
|
},
|
|
1546
|
+
"components.SearchInput.label": {
|
|
1547
|
+
"description": "Accessibility text for the search input label.",
|
|
1548
|
+
"message": "Search"
|
|
1549
|
+
},
|
|
1530
1550
|
"components.SearchSuggestField.searchFieldPlaceholder": {
|
|
1531
1551
|
"description": "Placeholder text displayed in the search field when it is empty.",
|
|
1532
1552
|
"message": "البحث عن الدورات، المنظمات، الفئات"
|
|
@@ -1611,6 +1631,10 @@
|
|
|
1611
1631
|
"description": "Course date of an opened course run block",
|
|
1612
1632
|
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1613
1633
|
},
|
|
1634
|
+
"components.SyllabusCourseRun.enrollNow": {
|
|
1635
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1636
|
+
"message": "Enroll now"
|
|
1637
|
+
},
|
|
1614
1638
|
"components.SyllabusCourseRun.enrollment": {
|
|
1615
1639
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
1616
1640
|
"message": "Enrollment"
|
|
@@ -1623,10 +1647,18 @@
|
|
|
1623
1647
|
"description": "Title of the languages section of an opened course run block",
|
|
1624
1648
|
"message": "Languages"
|
|
1625
1649
|
},
|
|
1650
|
+
"components.SyllabusCourseRun.studyNow": {
|
|
1651
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1652
|
+
"message": "Study now"
|
|
1653
|
+
},
|
|
1626
1654
|
"components.SyllabusCourseRunCompacted.course": {
|
|
1627
1655
|
"description": "Title of the course dates section of an opened course run block",
|
|
1628
1656
|
"message": "Course"
|
|
1629
1657
|
},
|
|
1658
|
+
"components.SyllabusCourseRunCompacted.enrollNow": {
|
|
1659
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1660
|
+
"message": "Enroll now"
|
|
1661
|
+
},
|
|
1630
1662
|
"components.SyllabusCourseRunCompacted.languages": {
|
|
1631
1663
|
"description": "Title of the languages section of an opened course run block",
|
|
1632
1664
|
"message": "Languages"
|
|
@@ -1639,6 +1671,10 @@
|
|
|
1639
1671
|
"description": "Self paced course run block with no end date",
|
|
1640
1672
|
"message": "Available"
|
|
1641
1673
|
},
|
|
1674
|
+
"components.SyllabusCourseRunCompacted.studyNow": {
|
|
1675
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1676
|
+
"message": "Study now"
|
|
1677
|
+
},
|
|
1642
1678
|
"components.SyllabusCourseRunsList.multipleOpenedCourseRuns": {
|
|
1643
1679
|
"description": "Message displayed when there are multiple opened course runs on a syllabus",
|
|
1644
1680
|
"message": "{count} course runs are currently open for this course"
|
|
@@ -1955,6 +1991,10 @@
|
|
|
1955
1991
|
"description": "Error message shown to the user when course fetch request fails.",
|
|
1956
1992
|
"message": "An error occurred while fetching course. Please retry later."
|
|
1957
1993
|
},
|
|
1994
|
+
"hooks.useCreditCards.errorCannotDelete": {
|
|
1995
|
+
"description": "Error message shown to the user when trying to delete a credit card that is used to pay at least order.",
|
|
1996
|
+
"message": "Cannot delete the credit card •••• •••• •••• {last_numbers} because it is used to pay at least one of your order."
|
|
1997
|
+
},
|
|
1958
1998
|
"hooks.useCreditCards.errorDelete": {
|
|
1959
1999
|
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
1960
2000
|
"message": "An error occurred while deleting the credit card. Please retry later."
|
|
@@ -1963,6 +2003,10 @@
|
|
|
1963
2003
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
1964
2004
|
"message": "Cannot find the credit card"
|
|
1965
2005
|
},
|
|
2006
|
+
"hooks.useCreditCards.errorPromote": {
|
|
2007
|
+
"description": "Error message shown to the user when promoting a credit card fails.",
|
|
2008
|
+
"message": "Cannot set the credit card as default"
|
|
2009
|
+
},
|
|
1966
2010
|
"hooks.useCreditCards.errorSelect": {
|
|
1967
2011
|
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
1968
2012
|
"message": "An error occurred while fetching credit cards. Please retry later."
|
|
@@ -1979,10 +2023,6 @@
|
|
|
1979
2023
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
1980
2024
|
"message": "Are you sure you want to delete the credit card? ⚠️ You cannot undo this change after."
|
|
1981
2025
|
},
|
|
1982
|
-
"hooks.useCreditCardsManagement.errorCannotRemoveMain": {
|
|
1983
|
-
"description": "Error shown if a user tries to delete a main credit card",
|
|
1984
|
-
"message": "Cannot remove main credit card."
|
|
1985
|
-
},
|
|
1986
2026
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
1987
2027
|
"description": "Label of the \"is_main\" input",
|
|
1988
2028
|
"message": "Use this address as default"
|
package/i18n/locales/es-ES.json
CHANGED
|
@@ -507,10 +507,6 @@
|
|
|
507
507
|
"description": "Empty placeholder of the dashboard credit cards management block",
|
|
508
508
|
"message": "You haven't created any credit cards yet."
|
|
509
509
|
},
|
|
510
|
-
"components.DashboardCreditCardsManagement.errorCannotPromoteMain": {
|
|
511
|
-
"description": "Error shown if a user tries to promote a main credit card",
|
|
512
|
-
"message": "Cannot promote main credit card."
|
|
513
|
-
},
|
|
514
510
|
"components.DashboardCreditCardsManagement.header": {
|
|
515
511
|
"description": "Title of the dashboard credit cards management block",
|
|
516
512
|
"message": "Credit cards"
|
|
@@ -627,6 +623,10 @@
|
|
|
627
623
|
"description": "Status shown on the dashboard order item when order is pending for payment",
|
|
628
624
|
"message": "On going"
|
|
629
625
|
},
|
|
626
|
+
"components.DashboardItem.Order.OrderStateLearnerMessage.statusRefunded": {
|
|
627
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
628
|
+
"message": "Refunded"
|
|
629
|
+
},
|
|
630
630
|
"components.DashboardItem.Order.OrderStateLearnerMessage.statusWaitingCounterSignature": {
|
|
631
631
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
632
632
|
"message": "On going"
|
|
@@ -675,6 +675,10 @@
|
|
|
675
675
|
"description": "Status shown on the dashboard order item when order is validated with no certificate",
|
|
676
676
|
"message": "On going"
|
|
677
677
|
},
|
|
678
|
+
"components.DashboardItem.Order.OrderStateTeacherMessage.statusRefunded": {
|
|
679
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
680
|
+
"message": "Refunded"
|
|
681
|
+
},
|
|
678
682
|
"components.DashboardItem.Order.OrderStateTeacherMessage.statusWaitingCounterSignature": {
|
|
679
683
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
680
684
|
"message": "To be signed"
|
|
@@ -1187,6 +1191,14 @@
|
|
|
1187
1191
|
"description": "Label for screen reader when a credit card is being tokenized.",
|
|
1188
1192
|
"message": "Payment method definition in progress."
|
|
1189
1193
|
},
|
|
1194
|
+
"components.PaymentScheduleGrid.state.canceled": {
|
|
1195
|
+
"description": "Label displayed for canceled payment state",
|
|
1196
|
+
"message": "Canceled"
|
|
1197
|
+
},
|
|
1198
|
+
"components.PaymentScheduleGrid.state.error": {
|
|
1199
|
+
"description": "Label displayed for error payment state. For learner we assume to display `pending`.",
|
|
1200
|
+
"message": "Pending"
|
|
1201
|
+
},
|
|
1190
1202
|
"components.PaymentScheduleGrid.state.paid": {
|
|
1191
1203
|
"description": "Label displayed for paid payment state",
|
|
1192
1204
|
"message": "Paid"
|
|
@@ -1195,6 +1207,10 @@
|
|
|
1195
1207
|
"description": "Label displayed for pending payment state",
|
|
1196
1208
|
"message": "Pending"
|
|
1197
1209
|
},
|
|
1210
|
+
"components.PaymentScheduleGrid.state.refunded": {
|
|
1211
|
+
"description": "Label displayed for refunded payment state",
|
|
1212
|
+
"message": "Refunded"
|
|
1213
|
+
},
|
|
1198
1214
|
"components.PaymentScheduleGrid.state.refused": {
|
|
1199
1215
|
"description": "Label displayed for refused payment state",
|
|
1200
1216
|
"message": "Refused"
|
|
@@ -1527,6 +1543,10 @@
|
|
|
1527
1543
|
"description": "Accessibility text for the search button inside the Search input.",
|
|
1528
1544
|
"message": "Buscar"
|
|
1529
1545
|
},
|
|
1546
|
+
"components.SearchInput.label": {
|
|
1547
|
+
"description": "Accessibility text for the search input label.",
|
|
1548
|
+
"message": "Search"
|
|
1549
|
+
},
|
|
1530
1550
|
"components.SearchSuggestField.searchFieldPlaceholder": {
|
|
1531
1551
|
"description": "Placeholder text displayed in the search field when it is empty.",
|
|
1532
1552
|
"message": "Buscar cursos, organizaciones, categorías"
|
|
@@ -1611,6 +1631,10 @@
|
|
|
1611
1631
|
"description": "Course date of an opened course run block",
|
|
1612
1632
|
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1613
1633
|
},
|
|
1634
|
+
"components.SyllabusCourseRun.enrollNow": {
|
|
1635
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1636
|
+
"message": "Enroll now"
|
|
1637
|
+
},
|
|
1614
1638
|
"components.SyllabusCourseRun.enrollment": {
|
|
1615
1639
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
1616
1640
|
"message": "Enrollment"
|
|
@@ -1623,10 +1647,18 @@
|
|
|
1623
1647
|
"description": "Title of the languages section of an opened course run block",
|
|
1624
1648
|
"message": "Languages"
|
|
1625
1649
|
},
|
|
1650
|
+
"components.SyllabusCourseRun.studyNow": {
|
|
1651
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1652
|
+
"message": "Study now"
|
|
1653
|
+
},
|
|
1626
1654
|
"components.SyllabusCourseRunCompacted.course": {
|
|
1627
1655
|
"description": "Title of the course dates section of an opened course run block",
|
|
1628
1656
|
"message": "Course"
|
|
1629
1657
|
},
|
|
1658
|
+
"components.SyllabusCourseRunCompacted.enrollNow": {
|
|
1659
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1660
|
+
"message": "Enroll now"
|
|
1661
|
+
},
|
|
1630
1662
|
"components.SyllabusCourseRunCompacted.languages": {
|
|
1631
1663
|
"description": "Title of the languages section of an opened course run block",
|
|
1632
1664
|
"message": "Languages"
|
|
@@ -1639,6 +1671,10 @@
|
|
|
1639
1671
|
"description": "Self paced course run block with no end date",
|
|
1640
1672
|
"message": "Available"
|
|
1641
1673
|
},
|
|
1674
|
+
"components.SyllabusCourseRunCompacted.studyNow": {
|
|
1675
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1676
|
+
"message": "Study now"
|
|
1677
|
+
},
|
|
1642
1678
|
"components.SyllabusCourseRunsList.multipleOpenedCourseRuns": {
|
|
1643
1679
|
"description": "Message displayed when there are multiple opened course runs on a syllabus",
|
|
1644
1680
|
"message": "{count} course runs are currently open for this course"
|
|
@@ -1955,6 +1991,10 @@
|
|
|
1955
1991
|
"description": "Error message shown to the user when course fetch request fails.",
|
|
1956
1992
|
"message": "An error occurred while fetching course. Please retry later."
|
|
1957
1993
|
},
|
|
1994
|
+
"hooks.useCreditCards.errorCannotDelete": {
|
|
1995
|
+
"description": "Error message shown to the user when trying to delete a credit card that is used to pay at least order.",
|
|
1996
|
+
"message": "Cannot delete the credit card •••• •••• •••• {last_numbers} because it is used to pay at least one of your order."
|
|
1997
|
+
},
|
|
1958
1998
|
"hooks.useCreditCards.errorDelete": {
|
|
1959
1999
|
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
1960
2000
|
"message": "An error occurred while deleting the credit card. Please retry later."
|
|
@@ -1963,6 +2003,10 @@
|
|
|
1963
2003
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
1964
2004
|
"message": "Cannot find the credit card"
|
|
1965
2005
|
},
|
|
2006
|
+
"hooks.useCreditCards.errorPromote": {
|
|
2007
|
+
"description": "Error message shown to the user when promoting a credit card fails.",
|
|
2008
|
+
"message": "Cannot set the credit card as default"
|
|
2009
|
+
},
|
|
1966
2010
|
"hooks.useCreditCards.errorSelect": {
|
|
1967
2011
|
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
1968
2012
|
"message": "An error occurred while fetching credit cards. Please retry later."
|
|
@@ -1979,10 +2023,6 @@
|
|
|
1979
2023
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
1980
2024
|
"message": "Are you sure you want to delete the credit card? ⚠️ You cannot undo this change after."
|
|
1981
2025
|
},
|
|
1982
|
-
"hooks.useCreditCardsManagement.errorCannotRemoveMain": {
|
|
1983
|
-
"description": "Error shown if a user tries to delete a main credit card",
|
|
1984
|
-
"message": "Cannot remove main credit card."
|
|
1985
|
-
},
|
|
1986
2026
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
1987
2027
|
"description": "Label of the \"is_main\" input",
|
|
1988
2028
|
"message": "Use this address as default"
|
package/i18n/locales/fa-IR.json
CHANGED
|
@@ -507,10 +507,6 @@
|
|
|
507
507
|
"description": "Empty placeholder of the dashboard credit cards management block",
|
|
508
508
|
"message": "You haven't created any credit cards yet."
|
|
509
509
|
},
|
|
510
|
-
"components.DashboardCreditCardsManagement.errorCannotPromoteMain": {
|
|
511
|
-
"description": "Error shown if a user tries to promote a main credit card",
|
|
512
|
-
"message": "Cannot promote main credit card."
|
|
513
|
-
},
|
|
514
510
|
"components.DashboardCreditCardsManagement.header": {
|
|
515
511
|
"description": "Title of the dashboard credit cards management block",
|
|
516
512
|
"message": "Credit cards"
|
|
@@ -627,6 +623,10 @@
|
|
|
627
623
|
"description": "Status shown on the dashboard order item when order is pending for payment",
|
|
628
624
|
"message": "On going"
|
|
629
625
|
},
|
|
626
|
+
"components.DashboardItem.Order.OrderStateLearnerMessage.statusRefunded": {
|
|
627
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
628
|
+
"message": "Refunded"
|
|
629
|
+
},
|
|
630
630
|
"components.DashboardItem.Order.OrderStateLearnerMessage.statusWaitingCounterSignature": {
|
|
631
631
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
632
632
|
"message": "On going"
|
|
@@ -675,6 +675,10 @@
|
|
|
675
675
|
"description": "Status shown on the dashboard order item when order is validated with no certificate",
|
|
676
676
|
"message": "On going"
|
|
677
677
|
},
|
|
678
|
+
"components.DashboardItem.Order.OrderStateTeacherMessage.statusRefunded": {
|
|
679
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
680
|
+
"message": "Refunded"
|
|
681
|
+
},
|
|
678
682
|
"components.DashboardItem.Order.OrderStateTeacherMessage.statusWaitingCounterSignature": {
|
|
679
683
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
680
684
|
"message": "To be signed"
|
|
@@ -1187,6 +1191,14 @@
|
|
|
1187
1191
|
"description": "Label for screen reader when a credit card is being tokenized.",
|
|
1188
1192
|
"message": "Payment method definition in progress."
|
|
1189
1193
|
},
|
|
1194
|
+
"components.PaymentScheduleGrid.state.canceled": {
|
|
1195
|
+
"description": "Label displayed for canceled payment state",
|
|
1196
|
+
"message": "Canceled"
|
|
1197
|
+
},
|
|
1198
|
+
"components.PaymentScheduleGrid.state.error": {
|
|
1199
|
+
"description": "Label displayed for error payment state. For learner we assume to display `pending`.",
|
|
1200
|
+
"message": "Pending"
|
|
1201
|
+
},
|
|
1190
1202
|
"components.PaymentScheduleGrid.state.paid": {
|
|
1191
1203
|
"description": "Label displayed for paid payment state",
|
|
1192
1204
|
"message": "Paid"
|
|
@@ -1195,6 +1207,10 @@
|
|
|
1195
1207
|
"description": "Label displayed for pending payment state",
|
|
1196
1208
|
"message": "Pending"
|
|
1197
1209
|
},
|
|
1210
|
+
"components.PaymentScheduleGrid.state.refunded": {
|
|
1211
|
+
"description": "Label displayed for refunded payment state",
|
|
1212
|
+
"message": "Refunded"
|
|
1213
|
+
},
|
|
1198
1214
|
"components.PaymentScheduleGrid.state.refused": {
|
|
1199
1215
|
"description": "Label displayed for refused payment state",
|
|
1200
1216
|
"message": "Refused"
|
|
@@ -1527,6 +1543,10 @@
|
|
|
1527
1543
|
"description": "Accessibility text for the search button inside the Search input.",
|
|
1528
1544
|
"message": "Search"
|
|
1529
1545
|
},
|
|
1546
|
+
"components.SearchInput.label": {
|
|
1547
|
+
"description": "Accessibility text for the search input label.",
|
|
1548
|
+
"message": "Search"
|
|
1549
|
+
},
|
|
1530
1550
|
"components.SearchSuggestField.searchFieldPlaceholder": {
|
|
1531
1551
|
"description": "Placeholder text displayed in the search field when it is empty.",
|
|
1532
1552
|
"message": "Search for courses, organizations, categories"
|
|
@@ -1611,6 +1631,10 @@
|
|
|
1611
1631
|
"description": "Course date of an opened course run block",
|
|
1612
1632
|
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1613
1633
|
},
|
|
1634
|
+
"components.SyllabusCourseRun.enrollNow": {
|
|
1635
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1636
|
+
"message": "Enroll now"
|
|
1637
|
+
},
|
|
1614
1638
|
"components.SyllabusCourseRun.enrollment": {
|
|
1615
1639
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
1616
1640
|
"message": "Enrollment"
|
|
@@ -1623,10 +1647,18 @@
|
|
|
1623
1647
|
"description": "Title of the languages section of an opened course run block",
|
|
1624
1648
|
"message": "Languages"
|
|
1625
1649
|
},
|
|
1650
|
+
"components.SyllabusCourseRun.studyNow": {
|
|
1651
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1652
|
+
"message": "Study now"
|
|
1653
|
+
},
|
|
1626
1654
|
"components.SyllabusCourseRunCompacted.course": {
|
|
1627
1655
|
"description": "Title of the course dates section of an opened course run block",
|
|
1628
1656
|
"message": "Course"
|
|
1629
1657
|
},
|
|
1658
|
+
"components.SyllabusCourseRunCompacted.enrollNow": {
|
|
1659
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1660
|
+
"message": "Enroll now"
|
|
1661
|
+
},
|
|
1630
1662
|
"components.SyllabusCourseRunCompacted.languages": {
|
|
1631
1663
|
"description": "Title of the languages section of an opened course run block",
|
|
1632
1664
|
"message": "Languages"
|
|
@@ -1639,6 +1671,10 @@
|
|
|
1639
1671
|
"description": "Self paced course run block with no end date",
|
|
1640
1672
|
"message": "Available"
|
|
1641
1673
|
},
|
|
1674
|
+
"components.SyllabusCourseRunCompacted.studyNow": {
|
|
1675
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1676
|
+
"message": "Study now"
|
|
1677
|
+
},
|
|
1642
1678
|
"components.SyllabusCourseRunsList.multipleOpenedCourseRuns": {
|
|
1643
1679
|
"description": "Message displayed when there are multiple opened course runs on a syllabus",
|
|
1644
1680
|
"message": "{count} course runs are currently open for this course"
|
|
@@ -1955,6 +1991,10 @@
|
|
|
1955
1991
|
"description": "Error message shown to the user when course fetch request fails.",
|
|
1956
1992
|
"message": "An error occurred while fetching course. Please retry later."
|
|
1957
1993
|
},
|
|
1994
|
+
"hooks.useCreditCards.errorCannotDelete": {
|
|
1995
|
+
"description": "Error message shown to the user when trying to delete a credit card that is used to pay at least order.",
|
|
1996
|
+
"message": "Cannot delete the credit card •••• •••• •••• {last_numbers} because it is used to pay at least one of your order."
|
|
1997
|
+
},
|
|
1958
1998
|
"hooks.useCreditCards.errorDelete": {
|
|
1959
1999
|
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
1960
2000
|
"message": "An error occurred while deleting the credit card. Please retry later."
|
|
@@ -1963,6 +2003,10 @@
|
|
|
1963
2003
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
1964
2004
|
"message": "Cannot find the credit card"
|
|
1965
2005
|
},
|
|
2006
|
+
"hooks.useCreditCards.errorPromote": {
|
|
2007
|
+
"description": "Error message shown to the user when promoting a credit card fails.",
|
|
2008
|
+
"message": "Cannot set the credit card as default"
|
|
2009
|
+
},
|
|
1966
2010
|
"hooks.useCreditCards.errorSelect": {
|
|
1967
2011
|
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
1968
2012
|
"message": "An error occurred while fetching credit cards. Please retry later."
|
|
@@ -1979,10 +2023,6 @@
|
|
|
1979
2023
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
1980
2024
|
"message": "Are you sure you want to delete the credit card? ⚠️ You cannot undo this change after."
|
|
1981
2025
|
},
|
|
1982
|
-
"hooks.useCreditCardsManagement.errorCannotRemoveMain": {
|
|
1983
|
-
"description": "Error shown if a user tries to delete a main credit card",
|
|
1984
|
-
"message": "Cannot remove main credit card."
|
|
1985
|
-
},
|
|
1986
2026
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
1987
2027
|
"description": "Label of the \"is_main\" input",
|
|
1988
2028
|
"message": "Use this address as default"
|
package/i18n/locales/fr-CA.json
CHANGED
|
@@ -507,10 +507,6 @@
|
|
|
507
507
|
"description": "Empty placeholder of the dashboard credit cards management block",
|
|
508
508
|
"message": "Vous n'avez pas encore créé de carte de crédit."
|
|
509
509
|
},
|
|
510
|
-
"components.DashboardCreditCardsManagement.errorCannotPromoteMain": {
|
|
511
|
-
"description": "Error shown if a user tries to promote a main credit card",
|
|
512
|
-
"message": "Vous ne pouvez pas promouvoir la carte de crédit par défaut."
|
|
513
|
-
},
|
|
514
510
|
"components.DashboardCreditCardsManagement.header": {
|
|
515
511
|
"description": "Title of the dashboard credit cards management block",
|
|
516
512
|
"message": "Cartes de crédit"
|
|
@@ -627,6 +623,10 @@
|
|
|
627
623
|
"description": "Status shown on the dashboard order item when order is pending for payment",
|
|
628
624
|
"message": "On going"
|
|
629
625
|
},
|
|
626
|
+
"components.DashboardItem.Order.OrderStateLearnerMessage.statusRefunded": {
|
|
627
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
628
|
+
"message": "Refunded"
|
|
629
|
+
},
|
|
630
630
|
"components.DashboardItem.Order.OrderStateLearnerMessage.statusWaitingCounterSignature": {
|
|
631
631
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
632
632
|
"message": "On going"
|
|
@@ -675,6 +675,10 @@
|
|
|
675
675
|
"description": "Status shown on the dashboard order item when order is validated with no certificate",
|
|
676
676
|
"message": "On going"
|
|
677
677
|
},
|
|
678
|
+
"components.DashboardItem.Order.OrderStateTeacherMessage.statusRefunded": {
|
|
679
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
680
|
+
"message": "Refunded"
|
|
681
|
+
},
|
|
678
682
|
"components.DashboardItem.Order.OrderStateTeacherMessage.statusWaitingCounterSignature": {
|
|
679
683
|
"description": "Status shown on the dashboard order item when order is validated with contract's organization signature missing.",
|
|
680
684
|
"message": "To be signed"
|
|
@@ -1187,6 +1191,14 @@
|
|
|
1187
1191
|
"description": "Label for screen reader when a credit card is being tokenized.",
|
|
1188
1192
|
"message": "Payment method definition in progress."
|
|
1189
1193
|
},
|
|
1194
|
+
"components.PaymentScheduleGrid.state.canceled": {
|
|
1195
|
+
"description": "Label displayed for canceled payment state",
|
|
1196
|
+
"message": "Canceled"
|
|
1197
|
+
},
|
|
1198
|
+
"components.PaymentScheduleGrid.state.error": {
|
|
1199
|
+
"description": "Label displayed for error payment state. For learner we assume to display `pending`.",
|
|
1200
|
+
"message": "Pending"
|
|
1201
|
+
},
|
|
1190
1202
|
"components.PaymentScheduleGrid.state.paid": {
|
|
1191
1203
|
"description": "Label displayed for paid payment state",
|
|
1192
1204
|
"message": "Paid"
|
|
@@ -1195,6 +1207,10 @@
|
|
|
1195
1207
|
"description": "Label displayed for pending payment state",
|
|
1196
1208
|
"message": "Pending"
|
|
1197
1209
|
},
|
|
1210
|
+
"components.PaymentScheduleGrid.state.refunded": {
|
|
1211
|
+
"description": "Label displayed for refunded payment state",
|
|
1212
|
+
"message": "Refunded"
|
|
1213
|
+
},
|
|
1198
1214
|
"components.PaymentScheduleGrid.state.refused": {
|
|
1199
1215
|
"description": "Label displayed for refused payment state",
|
|
1200
1216
|
"message": "Refused"
|
|
@@ -1527,6 +1543,10 @@
|
|
|
1527
1543
|
"description": "Accessibility text for the search button inside the Search input.",
|
|
1528
1544
|
"message": "Chercher"
|
|
1529
1545
|
},
|
|
1546
|
+
"components.SearchInput.label": {
|
|
1547
|
+
"description": "Accessibility text for the search input label.",
|
|
1548
|
+
"message": "Search"
|
|
1549
|
+
},
|
|
1530
1550
|
"components.SearchSuggestField.searchFieldPlaceholder": {
|
|
1531
1551
|
"description": "Placeholder text displayed in the search field when it is empty.",
|
|
1532
1552
|
"message": "Recherche des cours, des organisations, des catégories"
|
|
@@ -1611,6 +1631,10 @@
|
|
|
1611
1631
|
"description": "Course date of an opened course run block",
|
|
1612
1632
|
"message": "From {startDate} {endDate, select, undefined {} other {to {endDate}}}"
|
|
1613
1633
|
},
|
|
1634
|
+
"components.SyllabusCourseRun.enrollNow": {
|
|
1635
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1636
|
+
"message": "Enroll now"
|
|
1637
|
+
},
|
|
1614
1638
|
"components.SyllabusCourseRun.enrollment": {
|
|
1615
1639
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
1616
1640
|
"message": "Inscription"
|
|
@@ -1623,10 +1647,18 @@
|
|
|
1623
1647
|
"description": "Title of the languages section of an opened course run block",
|
|
1624
1648
|
"message": "Langues"
|
|
1625
1649
|
},
|
|
1650
|
+
"components.SyllabusCourseRun.studyNow": {
|
|
1651
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1652
|
+
"message": "Study now"
|
|
1653
|
+
},
|
|
1626
1654
|
"components.SyllabusCourseRunCompacted.course": {
|
|
1627
1655
|
"description": "Title of the course dates section of an opened course run block",
|
|
1628
1656
|
"message": "Course"
|
|
1629
1657
|
},
|
|
1658
|
+
"components.SyllabusCourseRunCompacted.enrollNow": {
|
|
1659
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1660
|
+
"message": "Enroll now"
|
|
1661
|
+
},
|
|
1630
1662
|
"components.SyllabusCourseRunCompacted.languages": {
|
|
1631
1663
|
"description": "Title of the languages section of an opened course run block",
|
|
1632
1664
|
"message": "Languages"
|
|
@@ -1639,6 +1671,10 @@
|
|
|
1639
1671
|
"description": "Self paced course run block with no end date",
|
|
1640
1672
|
"message": "Available"
|
|
1641
1673
|
},
|
|
1674
|
+
"components.SyllabusCourseRunCompacted.studyNow": {
|
|
1675
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1676
|
+
"message": "Study now"
|
|
1677
|
+
},
|
|
1642
1678
|
"components.SyllabusCourseRunsList.multipleOpenedCourseRuns": {
|
|
1643
1679
|
"description": "Message displayed when there are multiple opened course runs on a syllabus",
|
|
1644
1680
|
"message": "{count} sessions sont actuellement ouvertes pour ce cours"
|
|
@@ -1955,6 +1991,10 @@
|
|
|
1955
1991
|
"description": "Error message shown to the user when course fetch request fails.",
|
|
1956
1992
|
"message": "Une erreur s'est produite lors de la récupération du cours. Veuillez réessayer plus tard."
|
|
1957
1993
|
},
|
|
1994
|
+
"hooks.useCreditCards.errorCannotDelete": {
|
|
1995
|
+
"description": "Error message shown to the user when trying to delete a credit card that is used to pay at least order.",
|
|
1996
|
+
"message": "Cannot delete the credit card •••• •••• •••• {last_numbers} because it is used to pay at least one of your order."
|
|
1997
|
+
},
|
|
1958
1998
|
"hooks.useCreditCards.errorDelete": {
|
|
1959
1999
|
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
1960
2000
|
"message": "Une erreur s'est produite lors de la suppression de la carte de crédit. Veuillez réessayer plus tard."
|
|
@@ -1963,6 +2003,10 @@
|
|
|
1963
2003
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
1964
2004
|
"message": "Carte de crédit introuvable"
|
|
1965
2005
|
},
|
|
2006
|
+
"hooks.useCreditCards.errorPromote": {
|
|
2007
|
+
"description": "Error message shown to the user when promoting a credit card fails.",
|
|
2008
|
+
"message": "Cannot set the credit card as default"
|
|
2009
|
+
},
|
|
1966
2010
|
"hooks.useCreditCards.errorSelect": {
|
|
1967
2011
|
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
1968
2012
|
"message": "Une erreur s'est produite lors de la récupération des cartes de crédit. Veuillez réessayer plus tard."
|
|
@@ -1979,10 +2023,6 @@
|
|
|
1979
2023
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
1980
2024
|
"message": "Êtes-vous sûr de vouloir supprimer cette carte de crédit ? ⚠️ Ce changement sera irréversible."
|
|
1981
2025
|
},
|
|
1982
|
-
"hooks.useCreditCardsManagement.errorCannotRemoveMain": {
|
|
1983
|
-
"description": "Error shown if a user tries to delete a main credit card",
|
|
1984
|
-
"message": "Vous ne pouvez pas supprimer la carte de crédit principale."
|
|
1985
|
-
},
|
|
1986
2026
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
1987
2027
|
"description": "Label of the \"is_main\" input",
|
|
1988
2028
|
"message": "Utiliser cette adresse par défaut"
|