richie-education 2.33.1-dev9 → 2.34.1-dev10
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/AddressesManagement/index.spec.tsx +1 -1
- package/js/components/AddressesManagement/index.tsx +123 -129
- package/js/components/ContractFrame/AbstractContractFrame.spec.tsx +2 -4
- package/js/components/ContractFrame/AbstractContractFrame.tsx +1 -1
- package/js/components/Icon/index.stories.tsx +1 -1
- package/js/components/PaymentInterfaces/PayplugLightbox.tsx +1 -1
- package/js/components/PaymentScheduleGrid/_styles.scss +6 -5
- package/js/components/PaymentScheduleGrid/index.tsx +16 -0
- package/js/components/SaleTunnel/SaleTunnelSavePaymentMethod/index.tsx +2 -2
- package/js/components/SearchInput/index.spec.tsx +6 -5
- package/js/components/SearchInput/index.tsx +9 -1
- package/js/hooks/useCreditCards/index.spec.tsx +84 -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/DashboardEditCreditCard.spec.tsx +1 -1
- 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/pages/TeacherDashboardContractsLayout/hooks/useCheckContractArchiveExists/index.spec.tsx +4 -2
- package/js/pages/TeacherDashboardContractsLayout/hooks/useCheckContractArchiveExists/index.tsx +1 -1
- package/js/pages/TeacherDashboardOrganizationCourseLoader/index.spec.tsx +8 -5
- 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/types/index.ts +5 -0
- package/js/utils/OrderHelper/index.ts +9 -0
- package/js/utils/errors/HttpError.ts +1 -0
- package/js/utils/test/factories/richie.ts +25 -0
- package/js/utils/test/wrappers/types.ts +2 -2
- 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/OrderPaymentRetryModal/index.tsx +1 -1
- 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/components/SearchBar/index.spec.tsx +1 -1
- package/js/widgets/Dashboard/components/SearchResultsCount/index.spec.tsx +1 -1
- package/js/widgets/Dashboard/index.spec.tsx +7 -1
- package/js/widgets/SyllabusCourseRunsList/components/CourseProductItem/components/CourseProductCourseRuns/EnrollableCourseRunList.tsx +2 -1
- package/js/widgets/SyllabusCourseRunsList/components/CourseProductItem/components/CourseProductCourseRuns/index.spec.tsx +6 -4
- package/js/widgets/SyllabusCourseRunsList/components/CourseRunEnrollment/index.tsx +1 -5
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRun/index.tsx +107 -0
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRunCompacted/index.tsx +107 -0
- package/js/widgets/SyllabusCourseRunsList/index.spec.tsx +450 -5
- package/package.json +66 -64
- package/scss/components/_styleguide.scss +2 -1
- package/scss/vendors/css/cunningham-tokens.css +1 -0
package/i18n/locales/fr-FR.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": "En cours"
|
|
629
625
|
},
|
|
626
|
+
"components.DashboardItem.Order.OrderStateLearnerMessage.statusRefunded": {
|
|
627
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
628
|
+
"message": "Remboursée"
|
|
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": "En cours"
|
|
@@ -675,6 +675,10 @@
|
|
|
675
675
|
"description": "Status shown on the dashboard order item when order is validated with no certificate",
|
|
676
676
|
"message": "En cours"
|
|
677
677
|
},
|
|
678
|
+
"components.DashboardItem.Order.OrderStateTeacherMessage.statusRefunded": {
|
|
679
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
680
|
+
"message": "Remboursée"
|
|
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": "À signer"
|
|
@@ -1187,6 +1191,14 @@
|
|
|
1187
1191
|
"description": "Label for screen reader when a credit card is being tokenized.",
|
|
1188
1192
|
"message": "Définition du moyen de paiement en cours."
|
|
1189
1193
|
},
|
|
1194
|
+
"components.PaymentScheduleGrid.state.canceled": {
|
|
1195
|
+
"description": "Label displayed for canceled payment state",
|
|
1196
|
+
"message": "Annulée"
|
|
1197
|
+
},
|
|
1198
|
+
"components.PaymentScheduleGrid.state.error": {
|
|
1199
|
+
"description": "Label displayed for error payment state. For learner we assume to display `pending`.",
|
|
1200
|
+
"message": "En attente"
|
|
1201
|
+
},
|
|
1190
1202
|
"components.PaymentScheduleGrid.state.paid": {
|
|
1191
1203
|
"description": "Label displayed for paid payment state",
|
|
1192
1204
|
"message": "Payée"
|
|
@@ -1195,6 +1207,10 @@
|
|
|
1195
1207
|
"description": "Label displayed for pending payment state",
|
|
1196
1208
|
"message": "En attente"
|
|
1197
1209
|
},
|
|
1210
|
+
"components.PaymentScheduleGrid.state.refunded": {
|
|
1211
|
+
"description": "Label displayed for refunded payment state",
|
|
1212
|
+
"message": "Remboursée"
|
|
1213
|
+
},
|
|
1198
1214
|
"components.PaymentScheduleGrid.state.refused": {
|
|
1199
1215
|
"description": "Label displayed for refused payment state",
|
|
1200
1216
|
"message": "Refusée"
|
|
@@ -1527,6 +1543,10 @@
|
|
|
1527
1543
|
"description": "Accessibility text for the search button inside the Search input.",
|
|
1528
1544
|
"message": "Recherche"
|
|
1529
1545
|
},
|
|
1546
|
+
"components.SearchInput.label": {
|
|
1547
|
+
"description": "Accessibility text for the search input label.",
|
|
1548
|
+
"message": "Rechercher"
|
|
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 établissements, des catégories"
|
|
@@ -1611,6 +1631,10 @@
|
|
|
1611
1631
|
"description": "Course date of an opened course run block",
|
|
1612
1632
|
"message": "Du {startDate} {endDate, select, undefined {} other {au {endDate}}}"
|
|
1613
1633
|
},
|
|
1634
|
+
"components.SyllabusCourseRun.enrollNow": {
|
|
1635
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1636
|
+
"message": "S’inscrire maintenant"
|
|
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": "S'inscrire maintenant"
|
|
1653
|
+
},
|
|
1626
1654
|
"components.SyllabusCourseRunCompacted.course": {
|
|
1627
1655
|
"description": "Title of the course dates section of an opened course run block",
|
|
1628
1656
|
"message": "Cours"
|
|
1629
1657
|
},
|
|
1658
|
+
"components.SyllabusCourseRunCompacted.enrollNow": {
|
|
1659
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1660
|
+
"message": "S’inscrire maintenant"
|
|
1661
|
+
},
|
|
1630
1662
|
"components.SyllabusCourseRunCompacted.languages": {
|
|
1631
1663
|
"description": "Title of the languages section of an opened course run block",
|
|
1632
1664
|
"message": "Langues"
|
|
@@ -1639,6 +1671,10 @@
|
|
|
1639
1671
|
"description": "Self paced course run block with no end date",
|
|
1640
1672
|
"message": "Disponible"
|
|
1641
1673
|
},
|
|
1674
|
+
"components.SyllabusCourseRunCompacted.studyNow": {
|
|
1675
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1676
|
+
"message": "S'inscrire maintenant"
|
|
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": "Impossible de supprimer la carte de crédit ••••• •• ••• {last_numbers} car elle est utilisée pour payer au moins une de vos commandes."
|
|
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 votre 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": "Impossible d'utiliser cette carte de crédit par défaut"
|
|
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"
|
package/i18n/locales/ko-KR.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/pt-PT.json
CHANGED
|
@@ -507,10 +507,6 @@
|
|
|
507
507
|
"description": "Empty placeholder of the dashboard credit cards management block",
|
|
508
508
|
"message": "Ainda não criou nenhum cartão de crédito."
|
|
509
509
|
},
|
|
510
|
-
"components.DashboardCreditCardsManagement.errorCannotPromoteMain": {
|
|
511
|
-
"description": "Error shown if a user tries to promote a main credit card",
|
|
512
|
-
"message": "Não é possível promover o cartão de crédito principal."
|
|
513
|
-
},
|
|
514
510
|
"components.DashboardCreditCardsManagement.header": {
|
|
515
511
|
"description": "Title of the dashboard credit cards management block",
|
|
516
512
|
"message": "Cartões de crédito"
|
|
@@ -627,6 +623,10 @@
|
|
|
627
623
|
"description": "Status shown on the dashboard order item when order is pending for payment",
|
|
628
624
|
"message": "A decorrer"
|
|
629
625
|
},
|
|
626
|
+
"components.DashboardItem.Order.OrderStateLearnerMessage.statusRefunded": {
|
|
627
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
628
|
+
"message": "Reembolsado"
|
|
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": "A decorrer"
|
|
@@ -675,6 +675,10 @@
|
|
|
675
675
|
"description": "Status shown on the dashboard order item when order is validated with no certificate",
|
|
676
676
|
"message": "A decorrer"
|
|
677
677
|
},
|
|
678
|
+
"components.DashboardItem.Order.OrderStateTeacherMessage.statusRefunded": {
|
|
679
|
+
"description": "Status shown on the dashboard order item when order is refunded",
|
|
680
|
+
"message": "Reembolsado"
|
|
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": "A assinar"
|
|
@@ -1187,6 +1191,14 @@
|
|
|
1187
1191
|
"description": "Label for screen reader when a credit card is being tokenized.",
|
|
1188
1192
|
"message": "Definição do método de pagamento em curso."
|
|
1189
1193
|
},
|
|
1194
|
+
"components.PaymentScheduleGrid.state.canceled": {
|
|
1195
|
+
"description": "Label displayed for canceled payment state",
|
|
1196
|
+
"message": "Cancelado"
|
|
1197
|
+
},
|
|
1198
|
+
"components.PaymentScheduleGrid.state.error": {
|
|
1199
|
+
"description": "Label displayed for error payment state. For learner we assume to display `pending`.",
|
|
1200
|
+
"message": "Pendente"
|
|
1201
|
+
},
|
|
1190
1202
|
"components.PaymentScheduleGrid.state.paid": {
|
|
1191
1203
|
"description": "Label displayed for paid payment state",
|
|
1192
1204
|
"message": "Pago"
|
|
@@ -1195,6 +1207,10 @@
|
|
|
1195
1207
|
"description": "Label displayed for pending payment state",
|
|
1196
1208
|
"message": "Pendente"
|
|
1197
1209
|
},
|
|
1210
|
+
"components.PaymentScheduleGrid.state.refunded": {
|
|
1211
|
+
"description": "Label displayed for refunded payment state",
|
|
1212
|
+
"message": "Reembolsado"
|
|
1213
|
+
},
|
|
1198
1214
|
"components.PaymentScheduleGrid.state.refused": {
|
|
1199
1215
|
"description": "Label displayed for refused payment state",
|
|
1200
1216
|
"message": "Recusado"
|
|
@@ -1357,31 +1373,31 @@
|
|
|
1357
1373
|
},
|
|
1358
1374
|
"components.SaleTunnel.WithdrawRightCheckbox.certificate .waiveCheckboxHelperClause2": {
|
|
1359
1375
|
"description": "Second clause item for the waiver checkbox.",
|
|
1360
|
-
"message": "
|
|
1376
|
+
"message": "Compreendo que, se aceder ao exame durante este período, renuncio expressamente ao meu direito de desistência."
|
|
1361
1377
|
},
|
|
1362
1378
|
"components.SaleTunnel.WithdrawRightCheckbox.certificate.waiveCheckboxHelperClause1": {
|
|
1363
1379
|
"description": "First clause item for the waiver checkbox.",
|
|
1364
|
-
"message": "
|
|
1380
|
+
"message": "Reconheço que fui informado do meu direito legal de rescisão, que me permite anular a minha inscrição no prazo de 14 dias a contar da data de pagamento."
|
|
1365
1381
|
},
|
|
1366
1382
|
"components.SaleTunnel.WithdrawRightCheckbox.certificate.waiverLabel": {
|
|
1367
1383
|
"description": "Text to explain why the user has to waive to its withdrawal right.",
|
|
1368
|
-
"message": "
|
|
1384
|
+
"message": "Ao aceder ao exame, o utilizador reconhece que renuncia ao seu direito de retratação de 14 dias, tal como previsto no artigo L221-18 do Código do Consumo."
|
|
1369
1385
|
},
|
|
1370
1386
|
"components.SaleTunnel.WithdrawRightCheckbox.credential.waiveCheckboxHelperClause1": {
|
|
1371
1387
|
"description": "First clause item for the waiver checkbox.",
|
|
1372
|
-
"message": "
|
|
1388
|
+
"message": "Reconheço que solicitei expressamente o início da formação antes da data de expiração do prazo de retratação."
|
|
1373
1389
|
},
|
|
1374
1390
|
"components.SaleTunnel.WithdrawRightCheckbox.credential.waiveCheckboxHelperClause2": {
|
|
1375
1391
|
"description": "Second clause item for the waiver checkbox.",
|
|
1376
|
-
"message": "
|
|
1392
|
+
"message": "Renuncio expressamente ao meu direito de retratação a fim de iniciar a formação antes do termo do prazo de retratação."
|
|
1377
1393
|
},
|
|
1378
1394
|
"components.SaleTunnel.WithdrawRightCheckbox.credential.waiverLabel": {
|
|
1379
1395
|
"description": "Text to explain why the user has to waive to its withdrawal right.",
|
|
1380
|
-
"message": "
|
|
1396
|
+
"message": "O programa de formação em que pretende inscrever-se começa antes do fim do prazo de retratação de 14 dias mencionado no artigo L221-18 do Código do Consumidor francês. Deve assinalar a caixa abaixo para proceder à sua inscrição."
|
|
1381
1397
|
},
|
|
1382
1398
|
"components.SaleTunnel.WithdrawRightCheckbox.waiveCheckboxLabel": {
|
|
1383
1399
|
"description": "Label of the checkbox to waive the withdrawal right.",
|
|
1384
|
-
"message": "
|
|
1400
|
+
"message": "Ao assinalar esta caixa:"
|
|
1385
1401
|
},
|
|
1386
1402
|
"components.SaleTunnel.callToActionDescription": {
|
|
1387
1403
|
"description": "Additional description announced by screen readers when focusing the call to action buying button",
|
|
@@ -1527,6 +1543,10 @@
|
|
|
1527
1543
|
"description": "Accessibility text for the search button inside the Search input.",
|
|
1528
1544
|
"message": "Pesquisar"
|
|
1529
1545
|
},
|
|
1546
|
+
"components.SearchInput.label": {
|
|
1547
|
+
"description": "Accessibility text for the search input label.",
|
|
1548
|
+
"message": "Pesquisar"
|
|
1549
|
+
},
|
|
1530
1550
|
"components.SearchSuggestField.searchFieldPlaceholder": {
|
|
1531
1551
|
"description": "Placeholder text displayed in the search field when it is empty.",
|
|
1532
1552
|
"message": "Pesquisar cursos, organizações, categorias"
|
|
@@ -1611,6 +1631,10 @@
|
|
|
1611
1631
|
"description": "Course date of an opened course run block",
|
|
1612
1632
|
"message": "De {startDate} {endDate, select, undefined {} other {até {endDate}}}"
|
|
1613
1633
|
},
|
|
1634
|
+
"components.SyllabusCourseRun.enrollNow": {
|
|
1635
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1636
|
+
"message": "Inscrever-se agora"
|
|
1637
|
+
},
|
|
1614
1638
|
"components.SyllabusCourseRun.enrollment": {
|
|
1615
1639
|
"description": "Title of the enrollment dates section of an opened course run block",
|
|
1616
1640
|
"message": "Inscrição"
|
|
@@ -1623,10 +1647,18 @@
|
|
|
1623
1647
|
"description": "Title of the languages section of an opened course run block",
|
|
1624
1648
|
"message": "Idiomas"
|
|
1625
1649
|
},
|
|
1650
|
+
"components.SyllabusCourseRun.studyNow": {
|
|
1651
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1652
|
+
"message": "Estudar agora"
|
|
1653
|
+
},
|
|
1626
1654
|
"components.SyllabusCourseRunCompacted.course": {
|
|
1627
1655
|
"description": "Title of the course dates section of an opened course run block",
|
|
1628
1656
|
"message": "Curso"
|
|
1629
1657
|
},
|
|
1658
|
+
"components.SyllabusCourseRunCompacted.enrollNow": {
|
|
1659
|
+
"description": "CTA for users to enroll on ongoing of future open course.",
|
|
1660
|
+
"message": "Inscrever-se agora"
|
|
1661
|
+
},
|
|
1630
1662
|
"components.SyllabusCourseRunCompacted.languages": {
|
|
1631
1663
|
"description": "Title of the languages section of an opened course run block",
|
|
1632
1664
|
"message": "Idiomas"
|
|
@@ -1639,6 +1671,10 @@
|
|
|
1639
1671
|
"description": "Self paced course run block with no end date",
|
|
1640
1672
|
"message": "Disponível"
|
|
1641
1673
|
},
|
|
1674
|
+
"components.SyllabusCourseRunCompacted.studyNow": {
|
|
1675
|
+
"description": "CTA for users to enroll on archived course.",
|
|
1676
|
+
"message": "Estudar agora"
|
|
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} edições estão abertas para este curso"
|
|
@@ -1955,6 +1991,10 @@
|
|
|
1955
1991
|
"description": "Error message shown to the user when course fetch request fails.",
|
|
1956
1992
|
"message": "Ocorreu um erro durante a transferência do curso. Por favor, tente novamente mais tarde."
|
|
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": "Não é possível eliminar o cartão de crédito •••• •••• •••• {last_numbers} porque é utilizado para pagar pelo menos uma das suas encomendas."
|
|
1997
|
+
},
|
|
1958
1998
|
"hooks.useCreditCards.errorDelete": {
|
|
1959
1999
|
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
1960
2000
|
"message": "Ocorreu um erro na remoção de cartões de crédito. Por favor, tente mais tarde."
|
|
@@ -1963,6 +2003,10 @@
|
|
|
1963
2003
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
1964
2004
|
"message": "Não foi possível encontrar o cartão de crédito"
|
|
1965
2005
|
},
|
|
2006
|
+
"hooks.useCreditCards.errorPromote": {
|
|
2007
|
+
"description": "Error message shown to the user when promoting a credit card fails.",
|
|
2008
|
+
"message": "Não é possível definir o cartão de crédito como predefinido"
|
|
2009
|
+
},
|
|
1966
2010
|
"hooks.useCreditCards.errorSelect": {
|
|
1967
2011
|
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
1968
2012
|
"message": "Ocorreu um erro na recolha de cartões de crédito. Por favor, tente mais tarde."
|
|
@@ -1979,10 +2023,6 @@
|
|
|
1979
2023
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
1980
2024
|
"message": "Tem a certeza que pretende remover o cartão de crédito? ⚠️ Esta ação não pode ser desfeita."
|
|
1981
2025
|
},
|
|
1982
|
-
"hooks.useCreditCardsManagement.errorCannotRemoveMain": {
|
|
1983
|
-
"description": "Error shown if a user tries to delete a main credit card",
|
|
1984
|
-
"message": "Não é possível remover o cartão de crédito principal."
|
|
1985
|
-
},
|
|
1986
2026
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
1987
2027
|
"description": "Label of the \"is_main\" input",
|
|
1988
2028
|
"message": "Usar este endereço como padrão"
|
package/i18n/locales/ru-RU.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"
|