richie-education 2.17.0 → 2.18.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 +99 -15
- package/i18n/locales/es-ES.json +99 -15
- package/i18n/locales/fa-IR.json +99 -15
- package/i18n/locales/fr-CA.json +99 -15
- package/i18n/locales/fr-FR.json +99 -15
- package/i18n/locales/ko-KR.json +858 -0
- package/i18n/locales/pt-PT.json +105 -21
- package/i18n/locales/ru-RU.json +99 -15
- package/jest/setup.ts +0 -11
- package/jest.config.js +3 -1
- package/js/common/searchFields/getSuggestionsSection.ts +2 -2
- package/js/components/AddressesManagement/AddressForm.spec.tsx +1 -2
- package/js/components/AddressesManagement/_styles.scss +0 -8
- package/js/components/AddressesManagement/index.spec.tsx +32 -53
- package/js/components/AddressesManagement/index.tsx +1 -1
- package/js/components/AddressesManagement/validationSchema.spec.ts +1 -1
- package/js/components/Button/index.tsx +26 -24
- package/js/components/CourseGlimpse/index.tsx +10 -2
- package/js/components/CourseProductCertificateItem/index.spec.tsx +2 -2
- package/js/components/CourseProductCourseRuns/CourseRunList.tsx +1 -1
- package/js/components/CourseProductCourseRuns/EnrollableCourseRunList.tsx +26 -28
- package/js/components/CourseProductCourseRuns/EnrolledCourseRun.tsx +7 -10
- package/js/components/CourseProductCourseRuns/_styles.scss +7 -4
- package/js/components/CourseProductCourseRuns/index.spec.tsx +169 -42
- package/js/components/CourseProductItem/CourseRunItem.spec.tsx +36 -0
- package/js/components/CourseProductItem/CourseRunItem.tsx +9 -11
- package/js/components/CourseProductItem/_styles.scss +39 -16
- package/js/components/CourseProductItem/index.spec.tsx +92 -56
- package/js/components/CourseProductItem/index.tsx +90 -33
- package/js/components/CourseRunEnrollment/index.spec.tsx +27 -48
- package/js/components/Dashboard/DashboardAvatar.spec.tsx +22 -0
- package/js/components/Dashboard/DashboardAvatar.stories.tsx +16 -0
- package/js/components/Dashboard/DashboardAvatar.tsx +6 -0
- package/js/components/Dashboard/DashboardLayout.tsx +23 -0
- package/js/components/Dashboard/DashboardSidebar.stories.tsx +26 -0
- package/js/components/Dashboard/DashboardSidebar.tsx +103 -0
- package/js/components/Dashboard/_styles.scss +149 -0
- package/js/components/Dashboard/index.spec.tsx +107 -26
- package/js/components/Dashboard/index.tsx +1 -1
- package/js/components/DashboardAddressesManagement/DashboardCreateAddress.spec.tsx +38 -58
- package/js/components/DashboardAddressesManagement/DashboardEditAddress.spec.tsx +33 -34
- package/js/components/DashboardAddressesManagement/DashboardEditAddressLoader.tsx +10 -5
- package/js/components/DashboardAddressesManagement/index.spec.tsx +48 -67
- package/js/components/DashboardAddressesManagement/index.tsx +23 -22
- package/js/components/DashboardBox/index.tsx +2 -2
- package/js/components/DashboardBreadcrumbs/DashboardBreadcrumbsProvider.tsx +43 -0
- package/js/components/DashboardBreadcrumbs/index.stories.tsx +66 -0
- package/js/components/DashboardBreadcrumbs/index.tsx +72 -0
- package/js/components/DashboardCard/_styles.scss +2 -4
- package/js/components/DashboardCard/index.tsx +3 -3
- package/js/components/DashboardCreditCardsManagement/DashboardCreditCardBox.tsx +1 -1
- package/js/components/DashboardCreditCardsManagement/DashboardEditCreditCard.spec.tsx +49 -56
- package/js/components/DashboardCreditCardsManagement/DashboardEditCreditCardLoader.tsx +10 -5
- package/js/components/DashboardCreditCardsManagement/_styles.scss +0 -5
- package/js/components/DashboardCreditCardsManagement/index.spec.tsx +55 -72
- package/js/components/DashboardItem/DashboardItemOrder.spec.tsx +7 -5
- package/js/components/DashboardItem/DashboardItemOrder.tsx +2 -2
- package/js/components/DashboardItem/_styles.scss +0 -8
- package/js/components/DashboardItem/index.tsx +3 -3
- package/js/components/DashboardItem/mock.stories.ts +2 -1
- package/js/components/Icon/index.tsx +9 -2
- package/js/components/LanguageSelector/index.spec.tsx +2 -2
- package/js/components/LtiConsumer/index.spec.tsx +42 -71
- package/js/components/LtiConsumer/index.tsx +5 -3
- package/js/components/Modal/_styles.scss +0 -6
- package/js/components/Modal/index.tsx +3 -4
- package/js/components/PaginateCourseSearch/index.spec.tsx +2 -2
- package/js/components/PaginateCourseSearch/index.tsx +3 -3
- package/js/components/PaymentButton/_styles.scss +4 -0
- package/js/components/PaymentButton/index.spec.tsx +38 -59
- package/js/components/PaymentButton/index.tsx +19 -15
- package/js/components/ProtectedOutlet/AuthenticatedOutlet.spec.tsx +8 -28
- package/js/components/Root/index.tsx +3 -3
- package/js/components/RootSearchSuggestField/index.spec.tsx +3 -3
- package/js/components/RootSearchSuggestField/index.tsx +3 -3
- package/js/components/RouterButton/index.spec.tsx +65 -0
- package/js/components/RouterButton/index.tsx +33 -0
- package/js/components/SaleTunnel/index.spec.tsx +44 -67
- package/js/components/SaleTunnel/index.tsx +30 -15
- package/js/components/SaleTunnelStepPayment/index.spec.tsx +34 -48
- package/js/components/SaleTunnelStepPayment/index.tsx +3 -6
- package/js/components/Search/index.spec.tsx +12 -14
- package/js/components/SearchFilterGroup/index.spec.tsx +2 -2
- package/js/components/SearchFilterGroupModal/index.spec.tsx +27 -26
- package/js/components/SearchFilterGroupModal/index.tsx +1 -1
- package/js/components/SearchFilterValueLeaf/index.spec.tsx +2 -2
- package/js/components/SearchFilterValueParent/index.spec.tsx +12 -14
- package/js/components/SearchFiltersPane/index.spec.tsx +2 -2
- package/js/components/SearchInput/_styles.scss +0 -2
- package/js/components/SearchSuggestField/index.spec.tsx +38 -20
- package/js/components/Spinner/index.tsx +2 -2
- package/js/components/StepBreadcrumb/_styles.scss +0 -6
- package/js/components/StepBreadcrumb/index.spec.tsx +8 -2
- package/js/components/StepBreadcrumb/index.tsx +2 -2
- package/js/components/UserLogin/_styles.scss +0 -2
- package/js/components/UserLogin/index.spec.tsx +18 -36
- package/js/components/UserLogin/index.tsx +1 -1
- package/js/components/UserMenu/_styles.scss +0 -3
- package/js/components/UserMenu/index.spec.tsx +1 -1
- package/js/data/CourseProductProvider/index.spec.tsx +34 -0
- package/js/data/CourseProductProvider/index.tsx +41 -0
- package/js/data/JoanieApiProvider/index.spec.tsx +5 -6
- package/js/data/SessionProvider/BaseSessionProvider.tsx +14 -9
- package/js/data/SessionProvider/JoanieSessionProvider.spec.tsx +34 -32
- package/js/data/SessionProvider/JoanieSessionProvider.tsx +12 -7
- package/js/data/SessionProvider/index.spec.tsx +38 -49
- package/js/data/SessionProvider/no-authentication.spec.tsx +3 -3
- package/js/data/getResourceList/index.ts +2 -2
- package/js/data/useCourseEnrollment/index.spec.tsx +22 -45
- package/js/data/useCourseEnrollment/index.ts +1 -1
- package/js/data/useCourseSearch/index.spec.tsx +20 -15
- package/js/data/useCourseSearch/index.ts +6 -6
- package/js/data/useCourseSearchParams/index.spec.tsx +1 -2
- package/js/data/useCourseSearchParams/index.ts +8 -6
- package/js/data/useFilterValue/index.spec.tsx +10 -12
- package/js/data/useHistory/index.spec.tsx +1 -2
- package/js/data/useHistory/index.tsx +2 -2
- package/js/data/useStaticFilters/index.spec.tsx +24 -26
- package/js/hooks/useAddresses.ts +13 -95
- package/js/hooks/useAddressesManagement.tsx +2 -3
- package/js/hooks/useBreadcrumbsPlaceholders.tsx +13 -0
- package/js/hooks/useCreditCards/index.spec.tsx +22 -36
- package/js/hooks/useCreditCards/index.ts +31 -108
- package/js/hooks/useCreditCardsManagement.tsx +2 -3
- package/js/hooks/useEnrollments.ts +48 -0
- package/js/hooks/useOrders.ts +43 -38
- package/js/hooks/useProduct.ts +28 -0
- package/js/hooks/useResources/index.spec.tsx +490 -0
- package/js/hooks/useResources/index.tsx +74 -0
- package/js/hooks/useResources/useResourcesOmniscient.ts +79 -0
- package/js/hooks/useResources/useResourcesRoot.ts +209 -0
- package/js/hooks/useRouteInfo/index.spec.tsx +27 -29
- package/js/hooks/useStepManager/index.spec.ts +1 -2
- package/js/index.tsx +8 -8
- package/js/settings.ts +1 -1
- 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 -0
- package/js/translations/pt-PT.json +1 -1
- package/js/translations/ru-RU.json +1 -1
- package/js/types/Joanie.ts +39 -17
- package/js/types/utils.ts +5 -0
- package/js/utils/CreditCardHelper/index.spec.tsx +4 -1
- package/js/utils/IntlHelper/index.spec.tsx +58 -0
- package/js/utils/IntlHelper/index.ts +43 -0
- package/js/utils/ObjectHelper/index.spec.ts +19 -0
- package/js/utils/ObjectHelper/index.ts +5 -0
- package/js/utils/StorybookHelper/index.tsx +11 -4
- package/js/utils/api/joanie.ts +85 -67
- package/js/utils/react-query/createQueryClient.ts +19 -12
- package/js/utils/react-query/useLocalizedQueryKey.ts +1 -1
- package/js/utils/react-query/useSessionKey.ts +2 -8
- package/js/utils/react-query/useSessionMutation/index.spec.tsx +6 -22
- package/js/utils/react-query/useSessionMutation/index.ts +7 -4
- package/js/utils/react-query/useSessionQuery/index.spec.tsx +7 -25
- package/js/utils/react-query/useSessionQuery/index.ts +8 -4
- package/js/utils/resolveAll.ts +6 -0
- package/js/utils/routers/dashboard/index.tsx +5 -5
- package/js/utils/routers/dashboard/useDashboardRouter/index.spec.tsx +1 -1
- package/js/utils/routers/dashboard/useDashboardRouter/index.tsx +15 -8
- package/js/utils/test/createTestQueryClient.ts +41 -0
- package/js/utils/test/expectBannerError.ts +9 -0
- package/js/utils/test/expectBreadcrumbsToEqualParts.ts +11 -0
- package/js/utils/test/expectUrlMatchLocationDisplayed.ts +6 -0
- package/js/utils/test/factories.ts +6 -7
- package/js/utils/useMatchMedia.ts +5 -2
- package/package.json +48 -49
- package/scss/colors/_theme.scss +19 -0
- package/scss/components/_index.scss +1 -0
- package/scss/components/templates/courses/cms/_course_detail.scss +30 -26
- package/scss/components/templates/search/_search.scss +0 -2
- package/scss/generic/_icons.scss +19 -0
- package/scss/objects/_buttons.scss +4 -2
- package/scss/objects/_course_glimpses.scss +0 -9
- package/scss/tools/_buttons.scss +3 -3
- package/tsconfig.json +1 -0
- package/webpack.config.js +2 -8
- package/js/components/CourseProductsList/index.spec.tsx +0 -130
- package/js/components/CourseProductsList/index.tsx +0 -69
- package/js/data/CourseCodeProvider/index.spec.tsx +0 -29
- package/js/data/CourseCodeProvider/index.tsx +0 -31
- package/js/hooks/useCourse.ts +0 -50
- package/js/hooks/useEnrollment.ts +0 -37
package/i18n/locales/ar-SA.json
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"16uca+": {
|
|
3
|
+
"description": "",
|
|
4
|
+
"message": "Sub \"{value}\""
|
|
5
|
+
},
|
|
6
|
+
"9vqPaF": {
|
|
7
|
+
"description": "",
|
|
8
|
+
"message": "Root"
|
|
9
|
+
},
|
|
2
10
|
"components.AddressesManagement.actionPromotion": {
|
|
3
11
|
"description": "Action name for address promotion.",
|
|
4
12
|
"message": "promotion"
|
|
@@ -163,22 +171,18 @@
|
|
|
163
171
|
"description": "Message displayed when authenticated user owned the product",
|
|
164
172
|
"message": "Enrolled"
|
|
165
173
|
},
|
|
174
|
+
"components.CourseProductItem.loadingInitial": {
|
|
175
|
+
"description": "Accessible text for the initial loading spinner displayed when product is fetching",
|
|
176
|
+
"message": "Loading product information..."
|
|
177
|
+
},
|
|
166
178
|
"components.CourseProductsList.end": {
|
|
167
179
|
"description": "End label displayed in the header of course run dates section",
|
|
168
180
|
"message": "End"
|
|
169
181
|
},
|
|
170
|
-
"components.CourseProductsList.loadingInitial": {
|
|
171
|
-
"description": "Accessible text for the initial loading spinner displayed when course is fetching",
|
|
172
|
-
"message": "Loading course information..."
|
|
173
|
-
},
|
|
174
182
|
"components.CourseProductsList.start": {
|
|
175
183
|
"description": "Start label displayed in the header of course run dates section",
|
|
176
184
|
"message": "Start"
|
|
177
185
|
},
|
|
178
|
-
"components.CourseProductsList.title": {
|
|
179
|
-
"description": "Course products list title (screen readers only)",
|
|
180
|
-
"message": "Products"
|
|
181
|
-
},
|
|
182
186
|
"components.CourseProductsLists.enrollOn": {
|
|
183
187
|
"description": "Text label for the enrollment dates",
|
|
184
188
|
"message": "Enrollment from {start} to {end}"
|
|
@@ -233,7 +237,7 @@
|
|
|
233
237
|
},
|
|
234
238
|
"components.Dashboard.DashboardRoutes.courses.label": {
|
|
235
239
|
"description": "Label of the courses view used in navigation components.",
|
|
236
|
-
"message": "My
|
|
240
|
+
"message": "My courses"
|
|
237
241
|
},
|
|
238
242
|
"components.Dashboard.DashboardRoutes.courses.path": {
|
|
239
243
|
"description": "The path to display the courses view.",
|
|
@@ -241,7 +245,7 @@
|
|
|
241
245
|
},
|
|
242
246
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.label": {
|
|
243
247
|
"description": "Label of the addresses creation view.",
|
|
244
|
-
"message": "
|
|
248
|
+
"message": "Create address"
|
|
245
249
|
},
|
|
246
250
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.path": {
|
|
247
251
|
"description": "The path to display the addresses creation view.",
|
|
@@ -249,7 +253,7 @@
|
|
|
249
253
|
},
|
|
250
254
|
"components.Dashboard.DashboardRoutes.preferences.addresses.edition.label": {
|
|
251
255
|
"description": "Label of the addresses edition view.",
|
|
252
|
-
"message": "
|
|
256
|
+
"message": "Edit address \"{addressTitle}\""
|
|
253
257
|
},
|
|
254
258
|
"components.Dashboard.DashboardRoutes.preferences.addresses.edition.path": {
|
|
255
259
|
"description": "The path to display the addresses edition view.",
|
|
@@ -261,7 +265,7 @@
|
|
|
261
265
|
},
|
|
262
266
|
"components.Dashboard.DashboardRoutes.preferences.creditCards.label": {
|
|
263
267
|
"description": "Label of the credit cards edition view.",
|
|
264
|
-
"message": "
|
|
268
|
+
"message": "Edit credit card \"{creditCardTitle}\""
|
|
265
269
|
},
|
|
266
270
|
"components.Dashboard.DashboardRoutes.preferences.label": {
|
|
267
271
|
"description": "Label of the preferences view used in navigation components.",
|
|
@@ -303,6 +307,10 @@
|
|
|
303
307
|
"description": "Title of the dashboard addresses management block",
|
|
304
308
|
"message": "Billing addresses"
|
|
305
309
|
},
|
|
310
|
+
"components.DashboardBreadcrumbs.back": {
|
|
311
|
+
"description": "The dashboard's breadcrumb back button's label",
|
|
312
|
+
"message": "Back"
|
|
313
|
+
},
|
|
306
314
|
"components.DashboardCreateAddressForm.header": {
|
|
307
315
|
"description": "Title of the dashboard address creation form",
|
|
308
316
|
"message": "Create an address"
|
|
@@ -391,6 +399,18 @@
|
|
|
391
399
|
"description": "Label of the title input on the credit card edit page",
|
|
392
400
|
"message": "Name of the credit card"
|
|
393
401
|
},
|
|
402
|
+
"components.DashboardSidebar.header": {
|
|
403
|
+
"description": "Title of the dashboard sidebar",
|
|
404
|
+
"message": "Welcome {name}"
|
|
405
|
+
},
|
|
406
|
+
"components.DashboardSidebar.responsiveNavLabel": {
|
|
407
|
+
"description": "a11y related label for select input used to navigate on responsive",
|
|
408
|
+
"message": "Navigate to"
|
|
409
|
+
},
|
|
410
|
+
"components.DashboardSidebar.subHeader": {
|
|
411
|
+
"description": "Sub title of the dashboard sidebar",
|
|
412
|
+
"message": "You are on your dashboard"
|
|
413
|
+
},
|
|
394
414
|
"components.DesktopUserMenu.menuPurpose": {
|
|
395
415
|
"description": "Accessible label for user menu button",
|
|
396
416
|
"message": "الوصول إلى إعدادات ملفك الشخصي"
|
|
@@ -531,6 +551,10 @@
|
|
|
531
551
|
"description": "Label displayed inside the product's CTA when user is not logged in",
|
|
532
552
|
"message": "Login to purchase {product}"
|
|
533
553
|
},
|
|
554
|
+
"components.SaleTunnel.noCourseRunToPurchase": {
|
|
555
|
+
"description": "Label displayed inside the product's when there is no courseRun",
|
|
556
|
+
"message": "At least one course has no course runs, this product is not currently available for sale"
|
|
557
|
+
},
|
|
534
558
|
"components.SaleTunnel.stepPayment": {
|
|
535
559
|
"description": "Label of the Payment step",
|
|
536
560
|
"message": "Payment"
|
|
@@ -751,14 +775,26 @@
|
|
|
751
775
|
"description": "Error shown if a user tries to remove a main address",
|
|
752
776
|
"message": "Cannot remove main address."
|
|
753
777
|
},
|
|
754
|
-
"hooks.useCreditCards.
|
|
755
|
-
"description": "Error message shown to the user when credit card creation
|
|
756
|
-
"message": "An error occurred
|
|
778
|
+
"hooks.useCreditCards.errorCreate": {
|
|
779
|
+
"description": "Error message shown to the user when credit card creation request fails.",
|
|
780
|
+
"message": "An error occurred while creating the credit card. Please retry later."
|
|
781
|
+
},
|
|
782
|
+
"hooks.useCreditCards.errorDelete": {
|
|
783
|
+
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
784
|
+
"message": "An error occurred while deleting the credit card. Please retry later."
|
|
757
785
|
},
|
|
758
786
|
"hooks.useCreditCards.errorNotFound": {
|
|
759
787
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
760
788
|
"message": "Cannot find the credit card"
|
|
761
789
|
},
|
|
790
|
+
"hooks.useCreditCards.errorSelect": {
|
|
791
|
+
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
792
|
+
"message": "An error occurred while fetching credit cards. Please retry later."
|
|
793
|
+
},
|
|
794
|
+
"hooks.useCreditCards.errorUpdate": {
|
|
795
|
+
"description": "Error message shown to the user when credit card update request fails.",
|
|
796
|
+
"message": "An error occurred while updating the credit card. Please retry later."
|
|
797
|
+
},
|
|
762
798
|
"hooks.useCreditCardsManagement.deletionConfirmation": {
|
|
763
799
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
764
800
|
"message": "Are you sure you want to delete the credit card? ⚠️ You cannot undo this change after."
|
|
@@ -770,5 +806,53 @@
|
|
|
770
806
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
771
807
|
"description": "Label of the \"is_main\" input",
|
|
772
808
|
"message": "Use this address as default"
|
|
809
|
+
},
|
|
810
|
+
"hooks.useEnrollments.errorCreate": {
|
|
811
|
+
"description": "Error message shown to the user when enrollment creation request fails.",
|
|
812
|
+
"message": "An error occurred while creating the enrollment. Please retry later."
|
|
813
|
+
},
|
|
814
|
+
"hooks.useEnrollments.errorDelete": {
|
|
815
|
+
"description": "Error message shown to the user when enrollment deletion request fails.",
|
|
816
|
+
"message": "An error occurred while deleting the enrollment. Please retry later."
|
|
817
|
+
},
|
|
818
|
+
"hooks.useEnrollments.errorNotFound": {
|
|
819
|
+
"description": "Error message shown to the user when no enrollment matches.",
|
|
820
|
+
"message": "Cannot find the enrollment"
|
|
821
|
+
},
|
|
822
|
+
"hooks.useEnrollments.errorSelect": {
|
|
823
|
+
"description": "Error message shown to the user when enrollments fetch request fails.",
|
|
824
|
+
"message": "An error occurred while fetching enrollments. Please retry later."
|
|
825
|
+
},
|
|
826
|
+
"hooks.useEnrollments.errorUpdate": {
|
|
827
|
+
"description": "Error message shown to the user when enrollment update request fails.",
|
|
828
|
+
"message": "An error occurred while updating the enrollment. Please retry later."
|
|
829
|
+
},
|
|
830
|
+
"hooks.useProduct.errorNotFound": {
|
|
831
|
+
"description": "Error message shown to the user when no product matches.",
|
|
832
|
+
"message": "Cannot find the product"
|
|
833
|
+
},
|
|
834
|
+
"hooks.useProduct.errorSelect": {
|
|
835
|
+
"description": "Error message shown to the user when product fetch request fails.",
|
|
836
|
+
"message": "An error occurred while fetching product. Please retry later."
|
|
837
|
+
},
|
|
838
|
+
"hooks.useResources.errorCreate": {
|
|
839
|
+
"description": "Error message shown to the user when resource creation request fails.",
|
|
840
|
+
"message": "An error occurred while creating a resource. Please retry later."
|
|
841
|
+
},
|
|
842
|
+
"hooks.useResources.errorDelete": {
|
|
843
|
+
"description": "Error message shown to the user when resource deletion request fails.",
|
|
844
|
+
"message": "An error occurred while deleting a resource. Please retry later."
|
|
845
|
+
},
|
|
846
|
+
"hooks.useResources.errorGet": {
|
|
847
|
+
"description": "Error message shown to the user when resource fetch request fails.",
|
|
848
|
+
"message": "An error occurred while fetching resources. Please retry later."
|
|
849
|
+
},
|
|
850
|
+
"hooks.useResources.errorNotFound": {
|
|
851
|
+
"description": "Error message shown to the user when no resources matches.",
|
|
852
|
+
"message": "Cannot find the resource."
|
|
853
|
+
},
|
|
854
|
+
"hooks.useResources.errorUpdate": {
|
|
855
|
+
"description": "Error message shown to the user when resource update request fails.",
|
|
856
|
+
"message": "An error occurred while updating a resource. Please retry later."
|
|
773
857
|
}
|
|
774
858
|
}
|
package/i18n/locales/es-ES.json
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"16uca+": {
|
|
3
|
+
"description": "",
|
|
4
|
+
"message": "Sub \"{value}\""
|
|
5
|
+
},
|
|
6
|
+
"9vqPaF": {
|
|
7
|
+
"description": "",
|
|
8
|
+
"message": "Root"
|
|
9
|
+
},
|
|
2
10
|
"components.AddressesManagement.actionPromotion": {
|
|
3
11
|
"description": "Action name for address promotion.",
|
|
4
12
|
"message": "promotion"
|
|
@@ -163,22 +171,18 @@
|
|
|
163
171
|
"description": "Message displayed when authenticated user owned the product",
|
|
164
172
|
"message": "Inscrito"
|
|
165
173
|
},
|
|
174
|
+
"components.CourseProductItem.loadingInitial": {
|
|
175
|
+
"description": "Accessible text for the initial loading spinner displayed when product is fetching",
|
|
176
|
+
"message": "Loading product information..."
|
|
177
|
+
},
|
|
166
178
|
"components.CourseProductsList.end": {
|
|
167
179
|
"description": "End label displayed in the header of course run dates section",
|
|
168
180
|
"message": "Fin"
|
|
169
181
|
},
|
|
170
|
-
"components.CourseProductsList.loadingInitial": {
|
|
171
|
-
"description": "Accessible text for the initial loading spinner displayed when course is fetching",
|
|
172
|
-
"message": "Cargando información del curso..."
|
|
173
|
-
},
|
|
174
182
|
"components.CourseProductsList.start": {
|
|
175
183
|
"description": "Start label displayed in the header of course run dates section",
|
|
176
184
|
"message": "Inicio"
|
|
177
185
|
},
|
|
178
|
-
"components.CourseProductsList.title": {
|
|
179
|
-
"description": "Course products list title (screen readers only)",
|
|
180
|
-
"message": "Products"
|
|
181
|
-
},
|
|
182
186
|
"components.CourseProductsLists.enrollOn": {
|
|
183
187
|
"description": "Text label for the enrollment dates",
|
|
184
188
|
"message": "Enrollment from {start} to {end}"
|
|
@@ -233,7 +237,7 @@
|
|
|
233
237
|
},
|
|
234
238
|
"components.Dashboard.DashboardRoutes.courses.label": {
|
|
235
239
|
"description": "Label of the courses view used in navigation components.",
|
|
236
|
-
"message": "My
|
|
240
|
+
"message": "My courses"
|
|
237
241
|
},
|
|
238
242
|
"components.Dashboard.DashboardRoutes.courses.path": {
|
|
239
243
|
"description": "The path to display the courses view.",
|
|
@@ -241,7 +245,7 @@
|
|
|
241
245
|
},
|
|
242
246
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.label": {
|
|
243
247
|
"description": "Label of the addresses creation view.",
|
|
244
|
-
"message": "
|
|
248
|
+
"message": "Create address"
|
|
245
249
|
},
|
|
246
250
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.path": {
|
|
247
251
|
"description": "The path to display the addresses creation view.",
|
|
@@ -249,7 +253,7 @@
|
|
|
249
253
|
},
|
|
250
254
|
"components.Dashboard.DashboardRoutes.preferences.addresses.edition.label": {
|
|
251
255
|
"description": "Label of the addresses edition view.",
|
|
252
|
-
"message": "
|
|
256
|
+
"message": "Edit address \"{addressTitle}\""
|
|
253
257
|
},
|
|
254
258
|
"components.Dashboard.DashboardRoutes.preferences.addresses.edition.path": {
|
|
255
259
|
"description": "The path to display the addresses edition view.",
|
|
@@ -261,7 +265,7 @@
|
|
|
261
265
|
},
|
|
262
266
|
"components.Dashboard.DashboardRoutes.preferences.creditCards.label": {
|
|
263
267
|
"description": "Label of the credit cards edition view.",
|
|
264
|
-
"message": "
|
|
268
|
+
"message": "Edit credit card \"{creditCardTitle}\""
|
|
265
269
|
},
|
|
266
270
|
"components.Dashboard.DashboardRoutes.preferences.label": {
|
|
267
271
|
"description": "Label of the preferences view used in navigation components.",
|
|
@@ -303,6 +307,10 @@
|
|
|
303
307
|
"description": "Title of the dashboard addresses management block",
|
|
304
308
|
"message": "Billing addresses"
|
|
305
309
|
},
|
|
310
|
+
"components.DashboardBreadcrumbs.back": {
|
|
311
|
+
"description": "The dashboard's breadcrumb back button's label",
|
|
312
|
+
"message": "Back"
|
|
313
|
+
},
|
|
306
314
|
"components.DashboardCreateAddressForm.header": {
|
|
307
315
|
"description": "Title of the dashboard address creation form",
|
|
308
316
|
"message": "Create an address"
|
|
@@ -391,6 +399,18 @@
|
|
|
391
399
|
"description": "Label of the title input on the credit card edit page",
|
|
392
400
|
"message": "Name of the credit card"
|
|
393
401
|
},
|
|
402
|
+
"components.DashboardSidebar.header": {
|
|
403
|
+
"description": "Title of the dashboard sidebar",
|
|
404
|
+
"message": "Welcome {name}"
|
|
405
|
+
},
|
|
406
|
+
"components.DashboardSidebar.responsiveNavLabel": {
|
|
407
|
+
"description": "a11y related label for select input used to navigate on responsive",
|
|
408
|
+
"message": "Navigate to"
|
|
409
|
+
},
|
|
410
|
+
"components.DashboardSidebar.subHeader": {
|
|
411
|
+
"description": "Sub title of the dashboard sidebar",
|
|
412
|
+
"message": "You are on your dashboard"
|
|
413
|
+
},
|
|
394
414
|
"components.DesktopUserMenu.menuPurpose": {
|
|
395
415
|
"description": "Accessible label for user menu button",
|
|
396
416
|
"message": "Acceso a la configuración de su perfil"
|
|
@@ -531,6 +551,10 @@
|
|
|
531
551
|
"description": "Label displayed inside the product's CTA when user is not logged in",
|
|
532
552
|
"message": "Login to purchase {product}"
|
|
533
553
|
},
|
|
554
|
+
"components.SaleTunnel.noCourseRunToPurchase": {
|
|
555
|
+
"description": "Label displayed inside the product's when there is no courseRun",
|
|
556
|
+
"message": "At least one course has no course runs, this product is not currently available for sale"
|
|
557
|
+
},
|
|
534
558
|
"components.SaleTunnel.stepPayment": {
|
|
535
559
|
"description": "Label of the Payment step",
|
|
536
560
|
"message": "Pago"
|
|
@@ -751,14 +775,26 @@
|
|
|
751
775
|
"description": "Error shown if a user tries to remove a main address",
|
|
752
776
|
"message": "Cannot remove main address."
|
|
753
777
|
},
|
|
754
|
-
"hooks.useCreditCards.
|
|
755
|
-
"description": "Error message shown to the user when credit card creation
|
|
756
|
-
"message": "An error occurred
|
|
778
|
+
"hooks.useCreditCards.errorCreate": {
|
|
779
|
+
"description": "Error message shown to the user when credit card creation request fails.",
|
|
780
|
+
"message": "An error occurred while creating the credit card. Please retry later."
|
|
781
|
+
},
|
|
782
|
+
"hooks.useCreditCards.errorDelete": {
|
|
783
|
+
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
784
|
+
"message": "An error occurred while deleting the credit card. Please retry later."
|
|
757
785
|
},
|
|
758
786
|
"hooks.useCreditCards.errorNotFound": {
|
|
759
787
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
760
788
|
"message": "Cannot find the credit card"
|
|
761
789
|
},
|
|
790
|
+
"hooks.useCreditCards.errorSelect": {
|
|
791
|
+
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
792
|
+
"message": "An error occurred while fetching credit cards. Please retry later."
|
|
793
|
+
},
|
|
794
|
+
"hooks.useCreditCards.errorUpdate": {
|
|
795
|
+
"description": "Error message shown to the user when credit card update request fails.",
|
|
796
|
+
"message": "An error occurred while updating the credit card. Please retry later."
|
|
797
|
+
},
|
|
762
798
|
"hooks.useCreditCardsManagement.deletionConfirmation": {
|
|
763
799
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
764
800
|
"message": "Are you sure you want to delete the credit card? ⚠️ You cannot undo this change after."
|
|
@@ -770,5 +806,53 @@
|
|
|
770
806
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
771
807
|
"description": "Label of the \"is_main\" input",
|
|
772
808
|
"message": "Use this address as default"
|
|
809
|
+
},
|
|
810
|
+
"hooks.useEnrollments.errorCreate": {
|
|
811
|
+
"description": "Error message shown to the user when enrollment creation request fails.",
|
|
812
|
+
"message": "An error occurred while creating the enrollment. Please retry later."
|
|
813
|
+
},
|
|
814
|
+
"hooks.useEnrollments.errorDelete": {
|
|
815
|
+
"description": "Error message shown to the user when enrollment deletion request fails.",
|
|
816
|
+
"message": "An error occurred while deleting the enrollment. Please retry later."
|
|
817
|
+
},
|
|
818
|
+
"hooks.useEnrollments.errorNotFound": {
|
|
819
|
+
"description": "Error message shown to the user when no enrollment matches.",
|
|
820
|
+
"message": "Cannot find the enrollment"
|
|
821
|
+
},
|
|
822
|
+
"hooks.useEnrollments.errorSelect": {
|
|
823
|
+
"description": "Error message shown to the user when enrollments fetch request fails.",
|
|
824
|
+
"message": "An error occurred while fetching enrollments. Please retry later."
|
|
825
|
+
},
|
|
826
|
+
"hooks.useEnrollments.errorUpdate": {
|
|
827
|
+
"description": "Error message shown to the user when enrollment update request fails.",
|
|
828
|
+
"message": "An error occurred while updating the enrollment. Please retry later."
|
|
829
|
+
},
|
|
830
|
+
"hooks.useProduct.errorNotFound": {
|
|
831
|
+
"description": "Error message shown to the user when no product matches.",
|
|
832
|
+
"message": "Cannot find the product"
|
|
833
|
+
},
|
|
834
|
+
"hooks.useProduct.errorSelect": {
|
|
835
|
+
"description": "Error message shown to the user when product fetch request fails.",
|
|
836
|
+
"message": "An error occurred while fetching product. Please retry later."
|
|
837
|
+
},
|
|
838
|
+
"hooks.useResources.errorCreate": {
|
|
839
|
+
"description": "Error message shown to the user when resource creation request fails.",
|
|
840
|
+
"message": "An error occurred while creating a resource. Please retry later."
|
|
841
|
+
},
|
|
842
|
+
"hooks.useResources.errorDelete": {
|
|
843
|
+
"description": "Error message shown to the user when resource deletion request fails.",
|
|
844
|
+
"message": "An error occurred while deleting a resource. Please retry later."
|
|
845
|
+
},
|
|
846
|
+
"hooks.useResources.errorGet": {
|
|
847
|
+
"description": "Error message shown to the user when resource fetch request fails.",
|
|
848
|
+
"message": "An error occurred while fetching resources. Please retry later."
|
|
849
|
+
},
|
|
850
|
+
"hooks.useResources.errorNotFound": {
|
|
851
|
+
"description": "Error message shown to the user when no resources matches.",
|
|
852
|
+
"message": "Cannot find the resource."
|
|
853
|
+
},
|
|
854
|
+
"hooks.useResources.errorUpdate": {
|
|
855
|
+
"description": "Error message shown to the user when resource update request fails.",
|
|
856
|
+
"message": "An error occurred while updating a resource. Please retry later."
|
|
773
857
|
}
|
|
774
858
|
}
|
package/i18n/locales/fa-IR.json
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"16uca+": {
|
|
3
|
+
"description": "",
|
|
4
|
+
"message": "Sub \"{value}\""
|
|
5
|
+
},
|
|
6
|
+
"9vqPaF": {
|
|
7
|
+
"description": "",
|
|
8
|
+
"message": "Root"
|
|
9
|
+
},
|
|
2
10
|
"components.AddressesManagement.actionPromotion": {
|
|
3
11
|
"description": "Action name for address promotion.",
|
|
4
12
|
"message": "promotion"
|
|
@@ -163,22 +171,18 @@
|
|
|
163
171
|
"description": "Message displayed when authenticated user owned the product",
|
|
164
172
|
"message": "Enrolled"
|
|
165
173
|
},
|
|
174
|
+
"components.CourseProductItem.loadingInitial": {
|
|
175
|
+
"description": "Accessible text for the initial loading spinner displayed when product is fetching",
|
|
176
|
+
"message": "Loading product information..."
|
|
177
|
+
},
|
|
166
178
|
"components.CourseProductsList.end": {
|
|
167
179
|
"description": "End label displayed in the header of course run dates section",
|
|
168
180
|
"message": "End"
|
|
169
181
|
},
|
|
170
|
-
"components.CourseProductsList.loadingInitial": {
|
|
171
|
-
"description": "Accessible text for the initial loading spinner displayed when course is fetching",
|
|
172
|
-
"message": "Loading course information..."
|
|
173
|
-
},
|
|
174
182
|
"components.CourseProductsList.start": {
|
|
175
183
|
"description": "Start label displayed in the header of course run dates section",
|
|
176
184
|
"message": "Start"
|
|
177
185
|
},
|
|
178
|
-
"components.CourseProductsList.title": {
|
|
179
|
-
"description": "Course products list title (screen readers only)",
|
|
180
|
-
"message": "Products"
|
|
181
|
-
},
|
|
182
186
|
"components.CourseProductsLists.enrollOn": {
|
|
183
187
|
"description": "Text label for the enrollment dates",
|
|
184
188
|
"message": "Enrollment from {start} to {end}"
|
|
@@ -233,7 +237,7 @@
|
|
|
233
237
|
},
|
|
234
238
|
"components.Dashboard.DashboardRoutes.courses.label": {
|
|
235
239
|
"description": "Label of the courses view used in navigation components.",
|
|
236
|
-
"message": "My
|
|
240
|
+
"message": "My courses"
|
|
237
241
|
},
|
|
238
242
|
"components.Dashboard.DashboardRoutes.courses.path": {
|
|
239
243
|
"description": "The path to display the courses view.",
|
|
@@ -241,7 +245,7 @@
|
|
|
241
245
|
},
|
|
242
246
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.label": {
|
|
243
247
|
"description": "Label of the addresses creation view.",
|
|
244
|
-
"message": "
|
|
248
|
+
"message": "Create address"
|
|
245
249
|
},
|
|
246
250
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.path": {
|
|
247
251
|
"description": "The path to display the addresses creation view.",
|
|
@@ -249,7 +253,7 @@
|
|
|
249
253
|
},
|
|
250
254
|
"components.Dashboard.DashboardRoutes.preferences.addresses.edition.label": {
|
|
251
255
|
"description": "Label of the addresses edition view.",
|
|
252
|
-
"message": "
|
|
256
|
+
"message": "Edit address \"{addressTitle}\""
|
|
253
257
|
},
|
|
254
258
|
"components.Dashboard.DashboardRoutes.preferences.addresses.edition.path": {
|
|
255
259
|
"description": "The path to display the addresses edition view.",
|
|
@@ -261,7 +265,7 @@
|
|
|
261
265
|
},
|
|
262
266
|
"components.Dashboard.DashboardRoutes.preferences.creditCards.label": {
|
|
263
267
|
"description": "Label of the credit cards edition view.",
|
|
264
|
-
"message": "
|
|
268
|
+
"message": "Edit credit card \"{creditCardTitle}\""
|
|
265
269
|
},
|
|
266
270
|
"components.Dashboard.DashboardRoutes.preferences.label": {
|
|
267
271
|
"description": "Label of the preferences view used in navigation components.",
|
|
@@ -303,6 +307,10 @@
|
|
|
303
307
|
"description": "Title of the dashboard addresses management block",
|
|
304
308
|
"message": "Billing addresses"
|
|
305
309
|
},
|
|
310
|
+
"components.DashboardBreadcrumbs.back": {
|
|
311
|
+
"description": "The dashboard's breadcrumb back button's label",
|
|
312
|
+
"message": "Back"
|
|
313
|
+
},
|
|
306
314
|
"components.DashboardCreateAddressForm.header": {
|
|
307
315
|
"description": "Title of the dashboard address creation form",
|
|
308
316
|
"message": "Create an address"
|
|
@@ -391,6 +399,18 @@
|
|
|
391
399
|
"description": "Label of the title input on the credit card edit page",
|
|
392
400
|
"message": "Name of the credit card"
|
|
393
401
|
},
|
|
402
|
+
"components.DashboardSidebar.header": {
|
|
403
|
+
"description": "Title of the dashboard sidebar",
|
|
404
|
+
"message": "Welcome {name}"
|
|
405
|
+
},
|
|
406
|
+
"components.DashboardSidebar.responsiveNavLabel": {
|
|
407
|
+
"description": "a11y related label for select input used to navigate on responsive",
|
|
408
|
+
"message": "Navigate to"
|
|
409
|
+
},
|
|
410
|
+
"components.DashboardSidebar.subHeader": {
|
|
411
|
+
"description": "Sub title of the dashboard sidebar",
|
|
412
|
+
"message": "You are on your dashboard"
|
|
413
|
+
},
|
|
394
414
|
"components.DesktopUserMenu.menuPurpose": {
|
|
395
415
|
"description": "Accessible label for user menu button",
|
|
396
416
|
"message": "Access to your profile settings"
|
|
@@ -531,6 +551,10 @@
|
|
|
531
551
|
"description": "Label displayed inside the product's CTA when user is not logged in",
|
|
532
552
|
"message": "Login to purchase {product}"
|
|
533
553
|
},
|
|
554
|
+
"components.SaleTunnel.noCourseRunToPurchase": {
|
|
555
|
+
"description": "Label displayed inside the product's when there is no courseRun",
|
|
556
|
+
"message": "At least one course has no course runs, this product is not currently available for sale"
|
|
557
|
+
},
|
|
534
558
|
"components.SaleTunnel.stepPayment": {
|
|
535
559
|
"description": "Label of the Payment step",
|
|
536
560
|
"message": "Payment"
|
|
@@ -751,14 +775,26 @@
|
|
|
751
775
|
"description": "Error shown if a user tries to remove a main address",
|
|
752
776
|
"message": "Cannot remove main address."
|
|
753
777
|
},
|
|
754
|
-
"hooks.useCreditCards.
|
|
755
|
-
"description": "Error message shown to the user when credit card creation
|
|
756
|
-
"message": "An error occurred
|
|
778
|
+
"hooks.useCreditCards.errorCreate": {
|
|
779
|
+
"description": "Error message shown to the user when credit card creation request fails.",
|
|
780
|
+
"message": "An error occurred while creating the credit card. Please retry later."
|
|
781
|
+
},
|
|
782
|
+
"hooks.useCreditCards.errorDelete": {
|
|
783
|
+
"description": "Error message shown to the user when credit card deletion request fails.",
|
|
784
|
+
"message": "An error occurred while deleting the credit card. Please retry later."
|
|
757
785
|
},
|
|
758
786
|
"hooks.useCreditCards.errorNotFound": {
|
|
759
787
|
"description": "Error message shown to the user when no credit cards matches.",
|
|
760
788
|
"message": "Cannot find the credit card"
|
|
761
789
|
},
|
|
790
|
+
"hooks.useCreditCards.errorSelect": {
|
|
791
|
+
"description": "Error message shown to the user when credit cards fetch request fails.",
|
|
792
|
+
"message": "An error occurred while fetching credit cards. Please retry later."
|
|
793
|
+
},
|
|
794
|
+
"hooks.useCreditCards.errorUpdate": {
|
|
795
|
+
"description": "Error message shown to the user when credit card update request fails.",
|
|
796
|
+
"message": "An error occurred while updating the credit card. Please retry later."
|
|
797
|
+
},
|
|
762
798
|
"hooks.useCreditCardsManagement.deletionConfirmation": {
|
|
763
799
|
"description": "Confirmation message shown to the user when he wants to delete a credit card",
|
|
764
800
|
"message": "Are you sure you want to delete the credit card? ⚠️ You cannot undo this change after."
|
|
@@ -770,5 +806,53 @@
|
|
|
770
806
|
"hooks.useDashboardAddressForm.isMainInputLabel": {
|
|
771
807
|
"description": "Label of the \"is_main\" input",
|
|
772
808
|
"message": "Use this address as default"
|
|
809
|
+
},
|
|
810
|
+
"hooks.useEnrollments.errorCreate": {
|
|
811
|
+
"description": "Error message shown to the user when enrollment creation request fails.",
|
|
812
|
+
"message": "An error occurred while creating the enrollment. Please retry later."
|
|
813
|
+
},
|
|
814
|
+
"hooks.useEnrollments.errorDelete": {
|
|
815
|
+
"description": "Error message shown to the user when enrollment deletion request fails.",
|
|
816
|
+
"message": "An error occurred while deleting the enrollment. Please retry later."
|
|
817
|
+
},
|
|
818
|
+
"hooks.useEnrollments.errorNotFound": {
|
|
819
|
+
"description": "Error message shown to the user when no enrollment matches.",
|
|
820
|
+
"message": "Cannot find the enrollment"
|
|
821
|
+
},
|
|
822
|
+
"hooks.useEnrollments.errorSelect": {
|
|
823
|
+
"description": "Error message shown to the user when enrollments fetch request fails.",
|
|
824
|
+
"message": "An error occurred while fetching enrollments. Please retry later."
|
|
825
|
+
},
|
|
826
|
+
"hooks.useEnrollments.errorUpdate": {
|
|
827
|
+
"description": "Error message shown to the user when enrollment update request fails.",
|
|
828
|
+
"message": "An error occurred while updating the enrollment. Please retry later."
|
|
829
|
+
},
|
|
830
|
+
"hooks.useProduct.errorNotFound": {
|
|
831
|
+
"description": "Error message shown to the user when no product matches.",
|
|
832
|
+
"message": "Cannot find the product"
|
|
833
|
+
},
|
|
834
|
+
"hooks.useProduct.errorSelect": {
|
|
835
|
+
"description": "Error message shown to the user when product fetch request fails.",
|
|
836
|
+
"message": "An error occurred while fetching product. Please retry later."
|
|
837
|
+
},
|
|
838
|
+
"hooks.useResources.errorCreate": {
|
|
839
|
+
"description": "Error message shown to the user when resource creation request fails.",
|
|
840
|
+
"message": "An error occurred while creating a resource. Please retry later."
|
|
841
|
+
},
|
|
842
|
+
"hooks.useResources.errorDelete": {
|
|
843
|
+
"description": "Error message shown to the user when resource deletion request fails.",
|
|
844
|
+
"message": "An error occurred while deleting a resource. Please retry later."
|
|
845
|
+
},
|
|
846
|
+
"hooks.useResources.errorGet": {
|
|
847
|
+
"description": "Error message shown to the user when resource fetch request fails.",
|
|
848
|
+
"message": "An error occurred while fetching resources. Please retry later."
|
|
849
|
+
},
|
|
850
|
+
"hooks.useResources.errorNotFound": {
|
|
851
|
+
"description": "Error message shown to the user when no resources matches.",
|
|
852
|
+
"message": "Cannot find the resource."
|
|
853
|
+
},
|
|
854
|
+
"hooks.useResources.errorUpdate": {
|
|
855
|
+
"description": "Error message shown to the user when resource update request fails.",
|
|
856
|
+
"message": "An error occurred while updating a resource. Please retry later."
|
|
773
857
|
}
|
|
774
858
|
}
|