richie-education 2.22.0 → 2.23.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/.storybook/__mocks__/utils/context.ts +1 -1
- package/cunningham.cjs +65 -0
- package/i18n/locales/ar-SA.json +253 -77
- package/i18n/locales/es-ES.json +253 -77
- package/i18n/locales/fa-IR.json +253 -77
- package/i18n/locales/fr-CA.json +276 -100
- package/i18n/locales/fr-FR.json +253 -77
- package/i18n/locales/ko-KR.json +253 -77
- package/i18n/locales/pt-PT.json +254 -78
- package/i18n/locales/ru-RU.json +253 -77
- package/jest/setup.ts +5 -0
- package/jest.config.js +1 -1
- package/js/api/configuration.ts +1 -1
- package/js/api/joanie.spec.ts +13 -0
- package/js/api/joanie.ts +89 -20
- package/js/api/lms/dummy.spec.ts +1 -1
- package/js/api/lms/index.spec.ts +1 -1
- package/js/api/lms/joanie.spec.ts +79 -0
- package/js/api/lms/joanie.ts +34 -2
- package/js/api/lms/openedx-fonzie.spec.ts +2 -2
- package/js/api/lms/openedx-hawthorn.spec.ts +3 -3
- package/js/api/mocks/joanie/assets/course_cover_001.jpg +0 -0
- package/js/api/mocks/joanie/assets/course_icon_001.png +0 -0
- package/js/api/web-analytics/google_tag.spec.ts +1 -1
- package/js/api/web-analytics/google_tag_manager.spec.ts +1 -1
- package/js/api/web-analytics/google_universal_analytics.spec.ts +1 -1
- package/js/api/web-analytics/google_universal_analytics_and_tag_manager.spec.ts +1 -1
- package/js/api/web-analytics/no_provider.spec.ts +1 -1
- package/js/api/web-analytics/unknown_provider.spec.ts +1 -1
- package/js/components/AddressesManagement/AddressForm.spec.tsx +3 -3
- package/js/components/AddressesManagement/AddressForm.tsx +1 -1
- package/js/components/AddressesManagement/index.spec.tsx +7 -7
- package/js/components/AddressesManagement/index.tsx +2 -2
- package/js/components/AddressesManagement/validationSchema.spec.ts +14 -14
- package/js/components/CourseGlimpse/CourseGlimpseFooter.tsx +10 -8
- package/js/components/CourseGlimpse/CourseLink.tsx +37 -0
- package/js/components/CourseGlimpse/index.spec.tsx +55 -52
- package/js/components/CourseGlimpse/index.stories.tsx +4 -4
- package/js/components/CourseGlimpse/index.tsx +58 -16
- package/js/components/CourseGlimpse/utils.ts +105 -0
- package/js/components/CourseGlimpseList/index.spec.tsx +26 -12
- package/js/components/CourseGlimpseList/index.stories.tsx +4 -4
- package/js/components/CourseGlimpseList/index.tsx +51 -30
- package/js/components/CourseGlimpseList/utils.ts +11 -0
- package/js/components/DjangoCMSTemplate/index.spec.tsx +46 -0
- package/js/components/DjangoCMSTemplate/index.tsx +36 -0
- package/js/components/Icon/index.spec.tsx +6 -4
- package/js/components/Icon/index.stories.tsx +96 -2
- package/js/components/Icon/index.tsx +45 -36
- package/js/components/Modal/index.tsx +2 -2
- package/js/components/RegisteredAddress/index.spec.tsx +6 -10
- package/js/components/SearchInput/index.spec.tsx +1 -1
- package/js/components/SearchInput/index.tsx +2 -2
- package/js/components/TeacherDashboardCourseList/_styles.scss +40 -0
- package/js/components/TeacherDashboardCourseList/index.spec.tsx +162 -0
- package/js/components/TeacherDashboardCourseList/index.tsx +95 -0
- package/js/contexts/JoanieApiContext/index.spec.tsx +1 -1
- package/js/contexts/SessionContext/JoanieSessionProvider.spec.tsx +5 -5
- package/js/contexts/SessionContext/index.spec.tsx +10 -11
- package/js/contexts/SessionContext/no-authentication.spec.tsx +1 -1
- package/js/hooks/useCourseProductRelation/index.ts +41 -0
- package/js/hooks/useCourseProductUnion/index.spec.tsx +128 -0
- package/js/hooks/useCourseProductUnion/index.ts +55 -0
- package/js/hooks/useCourseRuns/index.ts +31 -0
- package/js/hooks/useCourses/index.spec.tsx +87 -0
- package/js/hooks/useCourses/index.ts +31 -0
- package/js/hooks/useCreditCards/index.spec.tsx +3 -3
- package/js/hooks/useDashboardAddressForm.tsx +18 -5
- package/js/hooks/useDownloadCertificate/index.spec.tsx +3 -3
- package/js/hooks/useMatchMedia.ts +10 -2
- package/js/hooks/useOrders.ts +2 -2
- package/js/hooks/useOrganizations/index.ts +4 -4
- package/js/hooks/useResources/index.spec.tsx +18 -17
- package/js/hooks/useUnionResource/index.spec.tsx +313 -0
- package/js/hooks/useUnionResource/index.ts +155 -0
- package/js/hooks/useUnionResource/utils/fetchEntities.ts +97 -0
- package/js/hooks/useUnionResource/utils/fetchEntity.ts +84 -0
- package/js/hooks/useUnionResource/utils/hasIntegrity.spec.ts +33 -0
- package/js/hooks/useUnionResource/utils/hasIntegrity.ts +27 -0
- package/js/hooks/useUnionResource/utils/log.ts +8 -0
- package/js/hooks/useUnionResource/utils/syncIntegrityCount.ts +140 -0
- package/js/pages/DashboardAddressesManagement/DashboardCreateAddress.spec.tsx +8 -8
- package/js/pages/DashboardAddressesManagement/DashboardEditAddress.spec.tsx +8 -8
- package/js/pages/DashboardAddressesManagement/DashboardEditAddress.stories.tsx +1 -1
- package/js/pages/DashboardAddressesManagement/index.spec.tsx +10 -10
- package/js/pages/DashboardAddressesManagement/index.tsx +2 -2
- package/js/pages/DashboardCertificates/index.spec.tsx +2 -2
- package/js/pages/DashboardCourses/index.spec.tsx +53 -192
- package/js/pages/DashboardCourses/index.tsx +12 -7
- package/js/pages/DashboardCourses/useOrdersEnrollments.tsx +31 -286
- package/js/pages/DashboardCreditCardsManagement/CreditCardBrandLogo.stories.tsx +1 -1
- package/js/pages/DashboardCreditCardsManagement/DashboardCreditCardBox.tsx +2 -2
- package/js/pages/DashboardCreditCardsManagement/DashboardEditCreditCard.spec.tsx +16 -16
- package/js/pages/DashboardCreditCardsManagement/DashboardEditCreditCard.stories.tsx +1 -1
- package/js/pages/DashboardCreditCardsManagement/index.spec.tsx +28 -28
- package/js/pages/DashboardOrderLayout/index.spec.tsx +75 -0
- package/js/pages/DashboardOrderLayout/index.tsx +50 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/CourseRunListCell/index.spec.tsx +17 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/CourseRunListCell/index.tsx +56 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/_styles.scss +43 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/index.spec.tsx +26 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/index.tsx +28 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/utils.spec.tsx +62 -0
- package/js/pages/TeacherCourseDashboardLoader/CourseRunList/utils.tsx +80 -0
- package/js/pages/TeacherCourseDashboardLoader/index.tsx +99 -0
- package/js/pages/TeacherCoursesDashboardLoader/index.spec.tsx +103 -0
- package/js/pages/TeacherCoursesDashboardLoader/index.tsx +29 -6
- package/js/pages/TeacherOrganizationCourseDashboardLoader/index.tsx +28 -4
- package/js/pages/TeacherTrainingDashboard/TeacherTrainingDashboardLoader.tsx +54 -0
- package/js/pages/TeacherTrainingDashboard/_styles.scss +6 -0
- package/js/pages/TeacherTrainingDashboard/index.spec.tsx +106 -0
- package/js/pages/TeacherTrainingDashboard/index.tsx +77 -0
- package/js/settings.ts +9 -0
- 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/types/Course.ts +7 -7
- package/js/types/Joanie.ts +115 -35
- package/js/types/commonDataProps.ts +18 -10
- package/js/types/globals.d.ts +4 -0
- package/js/types/index.ts +13 -10
- package/js/types/utils.ts +6 -0
- package/js/utils/CourseRuns/index.spec.tsx +19 -0
- package/js/utils/CourseRuns/index.ts +79 -0
- package/js/utils/CoursesHelper/index.spec.ts +20 -20
- package/js/utils/CreditCardHelper/index.spec.tsx +25 -19
- package/js/utils/JoinAnd/index.spec.tsx +25 -0
- package/js/utils/JoinAnd/index.ts +30 -0
- package/js/utils/errors/HttpError.ts +11 -1
- package/js/utils/errors/handle.spec.ts +1 -1
- package/js/utils/mptt/index.ts +2 -2
- package/js/utils/react-query/useSessionMutation/index.spec.tsx +1 -1
- package/js/utils/react-query/useSessionQuery/index.spec.tsx +1 -1
- package/js/utils/test/createTestQueryClient.ts +1 -1
- package/js/utils/test/expectBreadcrumbsToEqualParts.ts +6 -9
- package/js/utils/test/factories/factories.spec.ts +157 -0
- package/js/utils/test/factories/factories.ts +92 -0
- package/js/utils/test/factories/helper.spec.ts +69 -0
- package/js/utils/test/factories/helper.ts +64 -0
- package/js/utils/test/factories/joanie.ts +292 -178
- package/js/utils/test/factories/reactQuery.ts +1 -1
- package/js/utils/test/factories/richie.ts +194 -77
- package/js/utils/test/mockPaginatedResponse.ts +14 -0
- package/js/utils/test/mockProductWithOrder.ts +17 -0
- package/js/widgets/CourseProductItem/components/CourseProductCertificateItem/index.spec.tsx +8 -13
- package/js/widgets/CourseProductItem/components/CourseProductCourseRuns/CourseRunList.tsx +2 -2
- package/js/widgets/CourseProductItem/components/CourseProductCourseRuns/EnrollableCourseRunList.tsx +2 -2
- package/js/widgets/CourseProductItem/components/CourseProductCourseRuns/index.spec.tsx +34 -39
- package/js/widgets/CourseProductItem/components/CourseRunItem/index.spec.tsx +4 -5
- package/js/widgets/CourseProductItem/components/PaymentButton/index.spec.tsx +23 -33
- package/js/widgets/CourseProductItem/components/PaymentButton/index.tsx +15 -1
- package/js/widgets/CourseProductItem/components/PaymentInterfaces/index.spec.tsx +4 -13
- package/js/widgets/CourseProductItem/components/PurchaseButton/index.spec.tsx +124 -23
- package/js/widgets/CourseProductItem/components/PurchaseButton/index.tsx +19 -3
- package/js/widgets/CourseProductItem/components/RegisteredCreditCard/index.spec.tsx +3 -9
- package/js/widgets/CourseProductItem/components/SaleTunnel/index.spec.tsx +10 -11
- package/js/widgets/CourseProductItem/components/SaleTunnel/index.tsx +4 -3
- package/js/widgets/CourseProductItem/components/SaleTunnelStepPayment/index.spec.tsx +11 -11
- package/js/widgets/CourseProductItem/components/SaleTunnelStepPayment/index.tsx +3 -3
- package/js/widgets/CourseProductItem/components/SaleTunnelStepValidation/index.spec.tsx +1 -1
- package/js/widgets/CourseProductItem/components/StepBreadcrumb/index.spec.tsx +3 -2
- package/js/widgets/CourseProductItem/contexts/CourseProductContext/index.tsx +2 -2
- package/js/widgets/CourseProductItem/hooks/useStepManager/index.ts +2 -2
- package/js/widgets/CourseProductItem/index.spec.tsx +16 -30
- package/js/widgets/CourseProductItem/index.tsx +3 -3
- package/js/widgets/Dashboard/_styles.scss +0 -146
- package/js/widgets/Dashboard/components/DashboardAvatar/_styles.scss +28 -0
- package/js/widgets/Dashboard/components/DashboardAvatar/index.spec.tsx +18 -16
- package/js/widgets/Dashboard/components/DashboardAvatar/index.stories.tsx +10 -2
- package/js/widgets/Dashboard/components/DashboardAvatar/index.tsx +28 -4
- package/js/widgets/Dashboard/components/DashboardBreadcrumbs/_styles.scss +27 -0
- package/js/widgets/Dashboard/components/DashboardBreadcrumbs/index.tsx +18 -14
- package/js/widgets/Dashboard/components/DashboardCard/_styles.scss +10 -1
- package/js/widgets/Dashboard/components/DashboardCard/index.tsx +35 -18
- package/js/widgets/Dashboard/components/DashboardItem/Certificate/index.spec.tsx +5 -5
- package/js/widgets/Dashboard/components/DashboardItem/Certificate/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Certificate/index.tsx +4 -4
- package/js/widgets/Dashboard/components/DashboardItem/DashboardItemCourseEnrolling.spec.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/DashboardItemCourseEnrolling.stories.tsx +7 -7
- package/js/widgets/Dashboard/components/DashboardItem/DashboardItemCourseEnrolling.tsx +5 -5
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/DashboardItemEnrollment.spec.tsx +21 -27
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrder.spec.tsx +110 -158
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrder.tsx +8 -8
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrderReadonly.stories.tsx +3 -3
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrderWritable.stories.tsx +4 -4
- package/js/widgets/Dashboard/components/DashboardItem/stories.mock.ts +4 -3
- package/js/widgets/Dashboard/components/DashboardLayout/_styles.scss +68 -0
- package/js/widgets/Dashboard/components/DashboardLayout/index.tsx +21 -12
- package/js/widgets/Dashboard/components/DashboardLayoutRoute/index.spec.tsx +5 -5
- package/js/widgets/Dashboard/components/DashboardLayoutRoute/index.tsx +14 -6
- package/js/widgets/Dashboard/components/DashboardOrderLoader/index.tsx +4 -7
- package/js/widgets/Dashboard/components/DashboardSidebar/_styles.scss +106 -0
- package/js/widgets/Dashboard/components/DashboardSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardSidebar/index.tsx +35 -12
- package/js/widgets/Dashboard/components/LearnerDashboardSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/LearnerDashboardSidebar/index.tsx +6 -2
- package/js/widgets/Dashboard/components/NavigateWithParams/index.spec.tsx +1 -1
- package/js/widgets/Dashboard/components/ProtectedOutlet/AuthenticatedOutlet.spec.tsx +1 -1
- package/js/widgets/Dashboard/components/TeacherCourseDashboardSidebar/_styles.scss +9 -0
- package/js/widgets/Dashboard/components/TeacherCourseDashboardSidebar/index.spec.tsx +105 -0
- package/js/widgets/Dashboard/components/TeacherCourseDashboardSidebar/index.tsx +115 -0
- package/js/widgets/Dashboard/components/TeacherOrganizationDashboardSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/TeacherOrganizationDashboardSidebar/index.tsx +39 -10
- package/js/widgets/Dashboard/components/TeacherProfileDashboardSidebar/components/OrganizationLinks/_styles.scss +2 -2
- package/js/widgets/Dashboard/components/TeacherProfileDashboardSidebar/components/OrganizationLinks/index.tsx +3 -3
- package/js/widgets/Dashboard/components/TeacherProfileDashboardSidebar/index.spec.tsx +5 -19
- package/js/widgets/Dashboard/components/TeacherProfileDashboardSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/TeacherProfileDashboardSidebar/index.tsx +1 -5
- package/js/widgets/Dashboard/hooks/useEnroll/index.spec.tsx +3 -3
- package/js/widgets/Dashboard/index.spec.tsx +17 -13
- package/js/widgets/Dashboard/utils/dashboardRoutes.tsx +1 -1
- package/js/widgets/Dashboard/utils/learnerRouteMessages.tsx +11 -0
- package/js/widgets/Dashboard/utils/learnerRoutes.tsx +15 -3
- package/js/widgets/Dashboard/utils/teacherRouteMessages.tsx +52 -95
- package/js/widgets/Dashboard/utils/teacherRoutes.tsx +70 -88
- package/js/widgets/LtiConsumer/index.spec.tsx +5 -1
- package/js/widgets/RootSearchSuggestField/index.spec.tsx +4 -4
- package/js/widgets/RootSearchSuggestField/index.tsx +1 -1
- package/js/widgets/Search/components/FiltersPaneCloseButton.tsx +2 -2
- package/js/widgets/Search/hooks/useFilterValue/index.spec.tsx +3 -2
- package/js/widgets/Search/index.spec.tsx +1 -1
- package/js/widgets/Search/index.tsx +2 -2
- package/js/widgets/SearchSuggestField/index.spec.tsx +2 -2
- package/js/widgets/SearchSuggestField/index.tsx +1 -1
- package/js/widgets/{CourseRunEnrollment/components → SyllabusCourseRunsList/components/CourseRunEnrollment}/CourseRunUnenrollmentButton/index.spec.tsx +1 -1
- package/js/widgets/{CourseRunEnrollment → SyllabusCourseRunsList/components/CourseRunEnrollment}/index.joanie.spec.tsx +17 -26
- package/js/widgets/{CourseRunEnrollment → SyllabusCourseRunsList/components/CourseRunEnrollment}/index.openedx.spec.tsx +21 -30
- package/js/widgets/{CourseRunEnrollment → SyllabusCourseRunsList/components/CourseRunEnrollment}/index.tsx +6 -13
- package/js/widgets/SyllabusCourseRunsList/components/CourseRunItem/index.spec.tsx +41 -0
- package/js/widgets/SyllabusCourseRunsList/components/CourseRunItem/index.tsx +47 -0
- package/js/widgets/SyllabusCourseRunsList/components/CourseRunItemWithEnrollment/index.spec.tsx +125 -0
- package/js/widgets/SyllabusCourseRunsList/components/CourseRunItemWithEnrollment/index.tsx +46 -0
- package/js/widgets/SyllabusCourseRunsList/components/CourseWishButton/hooks/useCourseWish/index.spec.tsx +134 -0
- package/js/widgets/{CourseAddToWishlist/hooks/useUserWishlistCourses → SyllabusCourseRunsList/components/CourseWishButton/hooks/useCourseWish}/index.ts +6 -27
- package/js/widgets/{CourseAddToWishlist → SyllabusCourseRunsList/components/CourseWishButton}/index.login.spec.tsx +48 -33
- package/js/widgets/{CourseAddToWishlist → SyllabusCourseRunsList/components/CourseWishButton}/index.logout.spec.tsx +12 -9
- package/js/widgets/{CourseAddToWishlist → SyllabusCourseRunsList/components/CourseWishButton}/index.tsx +19 -20
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusAsideList/index.tsx +178 -0
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRun/index.tsx +114 -0
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusSimpleCourseRunsList/index.spec.tsx +41 -0
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusSimpleCourseRunsList/index.tsx +76 -0
- package/js/widgets/{CourseRunEnrollment → SyllabusCourseRunsList}/hooks/useCourseEnrollment/index.spec.tsx +12 -13
- package/js/widgets/SyllabusCourseRunsList/index.spec.tsx +710 -0
- package/js/widgets/SyllabusCourseRunsList/index.tsx +117 -0
- package/js/widgets/UserLogin/components/UserMenu/MobileUserMenu.tsx +2 -2
- package/js/widgets/UserLogin/index.spec.tsx +3 -3
- package/js/widgets/UserLogin/index.tsx +2 -2
- package/js/widgets/index.spec.tsx +1 -1
- package/js/widgets/index.tsx +3 -6
- package/mocks/handlers.ts +1 -3
- package/package.json +69 -66
- package/scss/_main.scss +6 -0
- package/scss/colors/_palette.scss +2 -26
- package/scss/colors/_theme.scss +4 -0
- package/scss/components/_index.scss +12 -4
- package/scss/components/_styleguide.scss +28 -10
- package/scss/components/_subheader.scss +0 -8
- package/scss/components/templates/courses/cms/_course_detail.scss +8 -0
- package/scss/generic/_background.scss +10 -2
- package/scss/generic/_type.scss +11 -3
- package/scss/objects/_characteristics.scss +8 -1
- package/scss/objects/_course_glimpses.scss +10 -2
- package/scss/objects/_dashboard.scss +55 -0
- package/scss/objects/_index.scss +1 -0
- package/scss/settings/_fonts.scss +12 -6
- package/scss/vendors/css/cunningham-tokens.css +119 -0
- package/scss/vendors/cunningham-tokens.scss +133 -0
- package/tsconfig.json +1 -0
- package/js/api/mocks/joanie/organizations.ts +0 -47
- package/js/pages/TeacherProfileSettingsDashboardLoader/index.tsx +0 -28
- package/js/types/libs/helpscout__helix/index.d.ts +0 -1
- package/js/widgets/CourseAddToWishlist/hooks/useUserWishlistCourses/index.spec.tsx +0 -154
- /package/js/widgets/{CourseRunEnrollment/components → SyllabusCourseRunsList/components/CourseRunEnrollment}/CourseRunUnenrollmentButton/_styles.scss +0 -0
- /package/js/widgets/{CourseRunEnrollment/components → SyllabusCourseRunsList/components/CourseRunEnrollment}/CourseRunUnenrollmentButton/index.tsx +0 -0
- /package/js/widgets/{CourseRunEnrollment → SyllabusCourseRunsList/components/CourseRunEnrollment}/_styles.scss +0 -0
- /package/js/widgets/{CourseAddToWishlist → SyllabusCourseRunsList/components/CourseWishButton}/_styles.scss +0 -0
- /package/js/widgets/{CourseRunEnrollment → SyllabusCourseRunsList}/hooks/useCourseEnrollment/index.ts +0 -0
package/cunningham.cjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* Custom Cunningham Tokens for Richie
|
|
2
|
+
|
|
3
|
+
In a child project, you can override those tokens by creating a token file like this one,
|
|
4
|
+
merge your custom tokens with default Richie ones then by using cunningham cli to generate
|
|
5
|
+
sass and ts tokens files (take a look to the `build-theme` command within package.json
|
|
6
|
+
see it in action).
|
|
7
|
+
|
|
8
|
+
E.g:
|
|
9
|
+
const tokens = require('richie-education/cunningham.cjs')
|
|
10
|
+
module.exports = {
|
|
11
|
+
theme: {
|
|
12
|
+
...tokens.theme
|
|
13
|
+
colors: {
|
|
14
|
+
...tokens.colors,
|
|
15
|
+
'your-black': '#1E1E1E',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
module.exports = {
|
|
21
|
+
theme: {
|
|
22
|
+
font: {
|
|
23
|
+
families: { base: 'Hind', accent: 'Montserrat' },
|
|
24
|
+
},
|
|
25
|
+
colors: {
|
|
26
|
+
'primary-100': '#ffcad1',
|
|
27
|
+
'primary-200': '#f19597',
|
|
28
|
+
'primary-300': '#e86a6f',
|
|
29
|
+
'primary-400': '#f2444b',
|
|
30
|
+
'primary-500': '#f72c30',
|
|
31
|
+
'primary-600': '#e81f2f',
|
|
32
|
+
'primary-700': '#d60f29',
|
|
33
|
+
'primary-800': '#c90022',
|
|
34
|
+
'primary-900': '#bb0014',
|
|
35
|
+
'secondary-100': '#eff8ff',
|
|
36
|
+
'secondary-200': '#eaf3fd',
|
|
37
|
+
'secondary-300': '#e2ebf5',
|
|
38
|
+
'secondary-400': '#c0c9d3',
|
|
39
|
+
'secondary-500': '#a3abb4',
|
|
40
|
+
'secondary-600': '#79818a',
|
|
41
|
+
'secondary-700': '#656c75',
|
|
42
|
+
'secondary-800': '#454d55',
|
|
43
|
+
'secondary-900': '#242b32',
|
|
44
|
+
black: '#090909',
|
|
45
|
+
'dark-grey': '#232323',
|
|
46
|
+
charcoal: '#29303b',
|
|
47
|
+
'slate-grey': '#686868',
|
|
48
|
+
'battleship-grey': '#686f7a',
|
|
49
|
+
'light-grey': '#d2d2d2',
|
|
50
|
+
silver: '#d5dbe0',
|
|
51
|
+
azure2: '#eceff1',
|
|
52
|
+
smoke: '#fdfdfd',
|
|
53
|
+
white: '#ffffff',
|
|
54
|
+
denim: '#0067b7',
|
|
55
|
+
firebrick6: '#f72c30',
|
|
56
|
+
'purplish-grey': '#726c74',
|
|
57
|
+
grey32: '#525151',
|
|
58
|
+
grey59: '#969696',
|
|
59
|
+
grey87: '#dfdfdf',
|
|
60
|
+
indianred3: '#df484b',
|
|
61
|
+
midnightblue: '#141b2c',
|
|
62
|
+
mantis: '#76ce68',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
};
|
package/i18n/locales/ar-SA.json
CHANGED
|
@@ -251,6 +251,30 @@
|
|
|
251
251
|
"description": "Help text below the \"Unenroll now\" CTA when an enrollment attempt has already failed.",
|
|
252
252
|
"message": "Your unenrollment request failed."
|
|
253
253
|
},
|
|
254
|
+
"components.CourseRunItem.courseRunTitleWithDates": {
|
|
255
|
+
"description": "Course run details displayed on the syllabus",
|
|
256
|
+
"message": "{title}, from {start} to {end}"
|
|
257
|
+
},
|
|
258
|
+
"components.CourseRunItem.courseRunWithDates": {
|
|
259
|
+
"description": "Course run details displayed on the syllabus when it has no title",
|
|
260
|
+
"message": "From {start} to {end}"
|
|
261
|
+
},
|
|
262
|
+
"components.CourseRunItemWithEnrollment.enrolled": {
|
|
263
|
+
"description": "Help text for users are enrolled in the course run.",
|
|
264
|
+
"message": "You are enrolled in this course run"
|
|
265
|
+
},
|
|
266
|
+
"components.CourseRunItemWithEnrollment.goToCourse": {
|
|
267
|
+
"description": "Link title for users to go to the course run in which they are enrolled.",
|
|
268
|
+
"message": "Go to course"
|
|
269
|
+
},
|
|
270
|
+
"components.CourseRunList.dataCourseRunLink": {
|
|
271
|
+
"description": "Message displayed in course run datagrid for course run link",
|
|
272
|
+
"message": "go to course area"
|
|
273
|
+
},
|
|
274
|
+
"components.CourseRunList.dataCourseRunPeriod": {
|
|
275
|
+
"description": "Message displayed in course run datagrid for course run period",
|
|
276
|
+
"message": "from {from} to {to}"
|
|
277
|
+
},
|
|
254
278
|
"components.CourseRunList.enrollFromTo": {
|
|
255
279
|
"description": "Text label for the enrollment dates",
|
|
256
280
|
"message": "Enrollment from {start} to {end}"
|
|
@@ -295,6 +319,14 @@
|
|
|
295
319
|
"description": "The path to display an order detail view.",
|
|
296
320
|
"message": "/courses/orders/{orderId}"
|
|
297
321
|
},
|
|
322
|
+
"components.Dashboard.DashboardRoutes.order.runs.label": {
|
|
323
|
+
"description": "Label of the order runs view used in navigation components.",
|
|
324
|
+
"message": "General information"
|
|
325
|
+
},
|
|
326
|
+
"components.Dashboard.DashboardRoutes.order.runs.path": {
|
|
327
|
+
"description": "The path to display an order runs view.",
|
|
328
|
+
"message": "/courses/orders/{orderId}/runs"
|
|
329
|
+
},
|
|
298
330
|
"components.Dashboard.DashboardRoutes.preferences.addresses.creation.label": {
|
|
299
331
|
"description": "Label of the addresses creation view.",
|
|
300
332
|
"message": "Create address"
|
|
@@ -619,6 +651,10 @@
|
|
|
619
651
|
"description": "Error message shown when payment creation request failed.",
|
|
620
652
|
"message": "An error occurred during payment. Please retry later."
|
|
621
653
|
},
|
|
654
|
+
"components.PaymentButton.errorFullProduct": {
|
|
655
|
+
"description": "Error message shown when payment creation request failed because there is no remaining available seat for the product.",
|
|
656
|
+
"message": "There are no more places available for this product."
|
|
657
|
+
},
|
|
622
658
|
"components.PaymentButton.pay": {
|
|
623
659
|
"description": "CTA label to proceed to the payment of the product",
|
|
624
660
|
"message": "Pay {price}"
|
|
@@ -652,9 +688,13 @@
|
|
|
652
688
|
"message": "Login to purchase {product}"
|
|
653
689
|
},
|
|
654
690
|
"components.SaleTunnel.noCourseRunToPurchase": {
|
|
655
|
-
"description": "Label displayed
|
|
691
|
+
"description": "Label displayed below the product's CTA when there is no courseRun",
|
|
656
692
|
"message": "At least one course has no course runs, this product is not currently available for sale"
|
|
657
693
|
},
|
|
694
|
+
"components.SaleTunnel.noRemainingOrder": {
|
|
695
|
+
"description": "Label displayed below the product's CTA when there is no remaining available seat for the product",
|
|
696
|
+
"message": "There are no more places available for this product."
|
|
697
|
+
},
|
|
658
698
|
"components.SaleTunnel.stepPayment": {
|
|
659
699
|
"description": "Label of the Payment step",
|
|
660
700
|
"message": "Payment"
|
|
@@ -827,37 +867,157 @@
|
|
|
827
867
|
"description": "Sub title of the dashboard sidebar",
|
|
828
868
|
"message": "You are on your dashboard"
|
|
829
869
|
},
|
|
830
|
-
"components.
|
|
831
|
-
"description": "
|
|
832
|
-
"message": "
|
|
870
|
+
"components.SyllabusAsideList.archived": {
|
|
871
|
+
"description": "Message displayed on syllabus when there are archived course runs",
|
|
872
|
+
"message": "Archived"
|
|
873
|
+
},
|
|
874
|
+
"components.SyllabusAsideList.courseRunsTitle": {
|
|
875
|
+
"description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
|
|
876
|
+
"message": "Course runs"
|
|
877
|
+
},
|
|
878
|
+
"components.SyllabusAsideList.noCourseRuns": {
|
|
879
|
+
"description": "Message displayed on syllabus when there are no course runs to show",
|
|
880
|
+
"message": "No course runs"
|
|
881
|
+
},
|
|
882
|
+
"components.SyllabusAsideList.noOtherCourseRuns": {
|
|
883
|
+
"description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
|
|
884
|
+
"message": "No other course runs"
|
|
885
|
+
},
|
|
886
|
+
"components.SyllabusAsideList.ongoing": {
|
|
887
|
+
"description": "Message displayed on syllabus when there are ongoing course runs",
|
|
888
|
+
"message": "Ongoing"
|
|
889
|
+
},
|
|
890
|
+
"components.SyllabusAsideList.otherCourseRuns": {
|
|
891
|
+
"description": "Message displayed on the top of course runs list on syllabus when there is only one course run opened",
|
|
892
|
+
"message": "Other course runs"
|
|
893
|
+
},
|
|
894
|
+
"components.SyllabusAsideList.toBeScheduled": {
|
|
895
|
+
"description": "Message displayed on syllabus when there are course runs to be scheduled",
|
|
896
|
+
"message": "To be scheduled"
|
|
897
|
+
},
|
|
898
|
+
"components.SyllabusAsideList.upcoming": {
|
|
899
|
+
"description": "Message displayed on syllabus when there are upcoming course runs",
|
|
900
|
+
"message": "Upcoming"
|
|
901
|
+
},
|
|
902
|
+
"components.SyllabusCourseRun.course": {
|
|
903
|
+
"description": "Title of the course dates section of an opened course run block",
|
|
904
|
+
"message": "Course"
|
|
905
|
+
},
|
|
906
|
+
"components.SyllabusCourseRun.coursePeriod": {
|
|
907
|
+
"description": "Course date of an opened course run block",
|
|
908
|
+
"message": "From {startDate} to {endDate}"
|
|
909
|
+
},
|
|
910
|
+
"components.SyllabusCourseRun.enrollment": {
|
|
911
|
+
"description": "Title of the enrollment dates section of an opened course run block",
|
|
912
|
+
"message": "Enrollment"
|
|
913
|
+
},
|
|
914
|
+
"components.SyllabusCourseRun.enrollmentPeriod": {
|
|
915
|
+
"description": "Enrollment date of an opened course run block",
|
|
916
|
+
"message": "From {startDate} to {endDate}"
|
|
917
|
+
},
|
|
918
|
+
"components.SyllabusCourseRun.languages": {
|
|
919
|
+
"description": "Title of the languages section of an opened course run block",
|
|
920
|
+
"message": "Languages"
|
|
921
|
+
},
|
|
922
|
+
"components.SyllabusCourseRunsList.multipleOpenedCourseRuns": {
|
|
923
|
+
"description": "Message displayed when there are multiple opened course runs on a syllabus",
|
|
924
|
+
"message": "{count} course runs are currently open for this course"
|
|
925
|
+
},
|
|
926
|
+
"components.SyllabusCourseRunsList.multipleOpenedCourseRunsButton": {
|
|
927
|
+
"description": "Message displayed on the button when there are multiple opened course runs on a syllabus",
|
|
928
|
+
"message": "Choose now"
|
|
929
|
+
},
|
|
930
|
+
"components.SyllabusCourseRunsList.noOpenedCourseRuns": {
|
|
931
|
+
"description": "Message displayed when there are no opened course runs on a syllabus",
|
|
932
|
+
"message": "No opened course runs"
|
|
933
|
+
},
|
|
934
|
+
"components.SyllabusSimpleCourseRunsList.viewMore": {
|
|
935
|
+
"description": "Button displayed on the syllabus when not all course runs are displayed",
|
|
936
|
+
"message": "View more"
|
|
937
|
+
},
|
|
938
|
+
"components.TeacherCourseDashboardLoader.errorNoCourse": {
|
|
939
|
+
"description": "Message displayed when requested course is not found",
|
|
940
|
+
"message": "This course doesn't exist"
|
|
941
|
+
},
|
|
942
|
+
"components.TeacherCourseDashboardLoader.loading": {
|
|
943
|
+
"description": "Message displayed while loading a course",
|
|
944
|
+
"message": "Loading course..."
|
|
945
|
+
},
|
|
946
|
+
"components.TeacherCourseDashboardLoader.pageTitle": {
|
|
947
|
+
"description": "Use for the page title of the course area",
|
|
948
|
+
"message": "Course area"
|
|
949
|
+
},
|
|
950
|
+
"components.TeacherCourseDashboardSidebar.header": {
|
|
951
|
+
"description": "Title of the course dashboard sidebar",
|
|
952
|
+
"message": "{courseTitle}"
|
|
953
|
+
},
|
|
954
|
+
"components.TeacherCourseDashboardSidebar.loading": {
|
|
955
|
+
"description": "Message displayed while loading a course",
|
|
956
|
+
"message": "Loading course..."
|
|
957
|
+
},
|
|
958
|
+
"components.TeacherCourseDashboardSidebar.subHeader": {
|
|
959
|
+
"description": "Sub title of the course dashboard sidebar",
|
|
960
|
+
"message": "You are on the course dashboard"
|
|
961
|
+
},
|
|
962
|
+
"components.TeacherCourseDashboardSidebar.syllabusLinkLabel": {
|
|
963
|
+
"description": "Syllabus link label",
|
|
964
|
+
"message": "Go to syllabus"
|
|
965
|
+
},
|
|
966
|
+
"components.TeacherCoursesDashboardLoader.title.archived": {
|
|
967
|
+
"description": "Archived courses title",
|
|
968
|
+
"message": "Archived"
|
|
969
|
+
},
|
|
970
|
+
"components.TeacherCoursesDashboardLoader.title.filteredCourses": {
|
|
971
|
+
"description": "Filtered courses title",
|
|
972
|
+
"message": "Your courses"
|
|
833
973
|
},
|
|
834
|
-
"components.
|
|
835
|
-
"description": "
|
|
836
|
-
"message": "
|
|
974
|
+
"components.TeacherCoursesDashboardLoader.title.incoming": {
|
|
975
|
+
"description": "Incoming courses title",
|
|
976
|
+
"message": "Incoming"
|
|
977
|
+
},
|
|
978
|
+
"components.TeacherCoursesDashboardLoader.title.ongoing": {
|
|
979
|
+
"description": "Ongoing courses title",
|
|
980
|
+
"message": "Ongoing"
|
|
981
|
+
},
|
|
982
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.course.generalInformation.path": {
|
|
983
|
+
"description": "The path to display the course general information view.",
|
|
984
|
+
"message": "/teacher/courses/{courseId}/information"
|
|
837
985
|
},
|
|
838
986
|
"components.TeacherDashboard.TeacherDashboardRoutes.course.label": {
|
|
839
|
-
"description": "Label of the course view.",
|
|
840
|
-
"message": "
|
|
987
|
+
"description": "Label of the course root view.",
|
|
988
|
+
"message": "{courseTitle}"
|
|
841
989
|
},
|
|
842
990
|
"components.TeacherDashboard.TeacherDashboardRoutes.course.path": {
|
|
843
991
|
"description": "The path to display the course view.",
|
|
844
|
-
"message": "/teacher/
|
|
992
|
+
"message": "/teacher/courses/{courseId}"
|
|
845
993
|
},
|
|
846
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.course.
|
|
847
|
-
"description": "Label of the
|
|
848
|
-
"message": "
|
|
994
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.course.product.label": {
|
|
995
|
+
"description": "Label of the product view.",
|
|
996
|
+
"message": "Training"
|
|
849
997
|
},
|
|
850
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.course.
|
|
851
|
-
"description": "The path to display the
|
|
852
|
-
"message": "/teacher/
|
|
998
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.course.product.path": {
|
|
999
|
+
"description": "The path to display the product view.",
|
|
1000
|
+
"message": "/teacher/courses/{courseId}/products/{courseProductRelationId}"
|
|
853
1001
|
},
|
|
854
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.
|
|
855
|
-
"description": "Label of the course
|
|
856
|
-
"message": "
|
|
1002
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.generalInformation.label": {
|
|
1003
|
+
"description": "Label of the course general information view.",
|
|
1004
|
+
"message": "General information"
|
|
1005
|
+
},
|
|
1006
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.generalInformation.label": {
|
|
1007
|
+
"description": "Label of the organization course general information view.",
|
|
1008
|
+
"message": "General information"
|
|
1009
|
+
},
|
|
1010
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.generalInformation.path": {
|
|
1011
|
+
"description": "The path to display the organization course general information view.",
|
|
1012
|
+
"message": "/teacher/organizations/{organizationId}/courses/{courseId}/information"
|
|
857
1013
|
},
|
|
858
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.course.
|
|
859
|
-
"description": "
|
|
860
|
-
"message": "
|
|
1014
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.product.label": {
|
|
1015
|
+
"description": "Label of the organization product view.",
|
|
1016
|
+
"message": "Training"
|
|
1017
|
+
},
|
|
1018
|
+
"components.TeacherDashboard.TeacherDashboardRoutes.organization.course.product.path": {
|
|
1019
|
+
"description": "The path to display the organization product view.",
|
|
1020
|
+
"message": "/teacher/organizations/{organizationId}/courses/{courseId}/products/{courseProductRelationId}"
|
|
861
1021
|
},
|
|
862
1022
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.courses.label": {
|
|
863
1023
|
"description": "Label of the organization courses view.",
|
|
@@ -865,31 +1025,15 @@
|
|
|
865
1025
|
},
|
|
866
1026
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.courses.path": {
|
|
867
1027
|
"description": "The path to display the organization courses view.",
|
|
868
|
-
"message": "/teacher/
|
|
1028
|
+
"message": "/teacher/organizations/{organizationId}/courses"
|
|
869
1029
|
},
|
|
870
1030
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.label": {
|
|
871
1031
|
"description": "Label of the organization view.",
|
|
872
|
-
"message": "
|
|
873
|
-
},
|
|
874
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.organization.members.label": {
|
|
875
|
-
"description": "Label of the unisersity members view.",
|
|
876
|
-
"message": "Members"
|
|
877
|
-
},
|
|
878
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.organization.members.path": {
|
|
879
|
-
"description": "The path to display the unisersity members view.",
|
|
880
|
-
"message": "/teacher/organization/{organizationId}/members"
|
|
1032
|
+
"message": "{organizationTitle}"
|
|
881
1033
|
},
|
|
882
1034
|
"components.TeacherDashboard.TeacherDashboardRoutes.organization.path": {
|
|
883
1035
|
"description": "The path to display the organization view.",
|
|
884
|
-
"message": "/teacher/
|
|
885
|
-
},
|
|
886
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.organization.settings.label": {
|
|
887
|
-
"description": "Label of the organization settings view.",
|
|
888
|
-
"message": "Settings"
|
|
889
|
-
},
|
|
890
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.organization.settings.path": {
|
|
891
|
-
"description": "The path to display the organization settings view.",
|
|
892
|
-
"message": "/teacher/organization/{organizationId}/settings"
|
|
1036
|
+
"message": "/teacher/organizations/{organizationId}"
|
|
893
1037
|
},
|
|
894
1038
|
"components.TeacherDashboard.TeacherDashboardRoutes.profile.courses.label": {
|
|
895
1039
|
"description": "Label of the teacher courses liste view.",
|
|
@@ -897,31 +1041,7 @@
|
|
|
897
1041
|
},
|
|
898
1042
|
"components.TeacherDashboard.TeacherDashboardRoutes.profile.courses.path": {
|
|
899
1043
|
"description": "The path to display the teacher courses liste view.",
|
|
900
|
-
"message": "/teacher/
|
|
901
|
-
},
|
|
902
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.profile.label": {
|
|
903
|
-
"description": "Label of the teacher profile view.",
|
|
904
|
-
"message": "Profile"
|
|
905
|
-
},
|
|
906
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.profile.notifications.label": {
|
|
907
|
-
"description": "Label of the teacher notifications view.",
|
|
908
|
-
"message": "Notifications"
|
|
909
|
-
},
|
|
910
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.profile.notifications.path": {
|
|
911
|
-
"description": "The path to display the teacher notifications view.",
|
|
912
|
-
"message": "/teacher/profile/notifications"
|
|
913
|
-
},
|
|
914
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.profile.path": {
|
|
915
|
-
"description": "The path to display the teacher profile view.",
|
|
916
|
-
"message": "/teacher/profile"
|
|
917
|
-
},
|
|
918
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.profile.settings.label": {
|
|
919
|
-
"description": "Label of the teacher profile settings view.",
|
|
920
|
-
"message": "Settings"
|
|
921
|
-
},
|
|
922
|
-
"components.TeacherDashboard.TeacherDashboardRoutes.profile.settings.path": {
|
|
923
|
-
"description": "The path to display the teacher profile settings view.",
|
|
924
|
-
"message": "/teacher/profile/settings"
|
|
1044
|
+
"message": "/teacher/courses"
|
|
925
1045
|
},
|
|
926
1046
|
"components.TeacherDashboard.TeacherDashboardRoutes.root.label": {
|
|
927
1047
|
"description": "Label of the teacher dashboard root view.",
|
|
@@ -931,13 +1051,29 @@
|
|
|
931
1051
|
"description": "The path to display the teacher dashboard root view.",
|
|
932
1052
|
"message": "/teacher"
|
|
933
1053
|
},
|
|
1054
|
+
"components.TeacherDashboardCourseList.emptyList": {
|
|
1055
|
+
"description": "Empty placeholder of the dashboard's list of trainings",
|
|
1056
|
+
"message": "You have no courses yet."
|
|
1057
|
+
},
|
|
1058
|
+
"components.TeacherDashboardCourseList.loadMore": {
|
|
1059
|
+
"description": "Button to manually load more trainings",
|
|
1060
|
+
"message": "Load more"
|
|
1061
|
+
},
|
|
1062
|
+
"components.TeacherDashboardCourseList.loading": {
|
|
1063
|
+
"description": "Message displayed while loading trainings on the teacher's dashboard'",
|
|
1064
|
+
"message": "Loading courses..."
|
|
1065
|
+
},
|
|
934
1066
|
"components.TeacherOrganizationCourseDashboardLoader.loading": {
|
|
935
|
-
"description": "Message displayed while loading
|
|
1067
|
+
"description": "Message displayed while loading an organization",
|
|
936
1068
|
"message": "Loading organization ..."
|
|
937
1069
|
},
|
|
938
|
-
"components.
|
|
939
|
-
"description": "
|
|
940
|
-
"message": "{
|
|
1070
|
+
"components.TeacherOrganizationCourseDashboardLoader.title": {
|
|
1071
|
+
"description": "Message displayed as title of organization courses page",
|
|
1072
|
+
"message": "Courses of {organizationTitle}"
|
|
1073
|
+
},
|
|
1074
|
+
"components.TeacherOrganizationDashboardSidebar.loading": {
|
|
1075
|
+
"description": "Message displayed while loading an organization",
|
|
1076
|
+
"message": "Loading organization..."
|
|
941
1077
|
},
|
|
942
1078
|
"components.TeacherOrganizationDashboardSidebar.subHeader": {
|
|
943
1079
|
"description": "Sub title of the organization dashboard sidebar",
|
|
@@ -951,17 +1087,21 @@
|
|
|
951
1087
|
"description": "Title of the organizations section",
|
|
952
1088
|
"message": "My universities"
|
|
953
1089
|
},
|
|
954
|
-
"components.TeacherProfileDashboardSidebar.header": {
|
|
955
|
-
"description": "Title of the dashboard sidebar",
|
|
956
|
-
"message": "{name}"
|
|
957
|
-
},
|
|
958
1090
|
"components.TeacherProfileDashboardSidebar.subHeader": {
|
|
959
1091
|
"description": "Sub title of the dashboard sidebar",
|
|
960
1092
|
"message": "You are on your teacher dashboard"
|
|
961
1093
|
},
|
|
962
|
-
"components.
|
|
963
|
-
"description": "Message displayed
|
|
964
|
-
"message": "
|
|
1094
|
+
"components.TeacherTrainingDashboard.errorNoCourseProductRelation": {
|
|
1095
|
+
"description": "Message displayed when requested course product relation is not found",
|
|
1096
|
+
"message": "This product doesn't exist"
|
|
1097
|
+
},
|
|
1098
|
+
"components.TeacherTrainingDashboardLoader.loading": {
|
|
1099
|
+
"description": "Message displayed while loading a course",
|
|
1100
|
+
"message": "Loading training..."
|
|
1101
|
+
},
|
|
1102
|
+
"components.TeacherTrainingDashboardLoader.pageTitle": {
|
|
1103
|
+
"description": "Use for the page title of the training area",
|
|
1104
|
+
"message": "Training area"
|
|
965
1105
|
},
|
|
966
1106
|
"components.UserLogin.logIn": {
|
|
967
1107
|
"description": "Text for the login button.",
|
|
@@ -1027,6 +1167,34 @@
|
|
|
1027
1167
|
"description": "Error message shown to the user when no certificate matches.",
|
|
1028
1168
|
"message": "Cannot find the certificate"
|
|
1029
1169
|
},
|
|
1170
|
+
"hooks.useCourseProductRelations.errorGet": {
|
|
1171
|
+
"description": "Error message shown to the user when course product relation fetch request fails.",
|
|
1172
|
+
"message": "An error occurred while fetching trainings. Please retry later."
|
|
1173
|
+
},
|
|
1174
|
+
"hooks.useCourseProductRelations.errorNotFound": {
|
|
1175
|
+
"description": "Error message shown to the user when no course product relation matches.",
|
|
1176
|
+
"message": "Cannot find the training."
|
|
1177
|
+
},
|
|
1178
|
+
"hooks.useCourseProductUnion.errorGet": {
|
|
1179
|
+
"description": "Error message shown to the user when trainings fetch request fails.",
|
|
1180
|
+
"message": "An error occurred while fetching trainings. Please retry later."
|
|
1181
|
+
},
|
|
1182
|
+
"hooks.useCourseRuns.errorGet": {
|
|
1183
|
+
"description": "Error message shown to the user when course runs fetch request fails.",
|
|
1184
|
+
"message": "An error occurred while fetching course runs. Please retry later."
|
|
1185
|
+
},
|
|
1186
|
+
"hooks.useCourseRuns.errorNotFound": {
|
|
1187
|
+
"description": "Error message shown to the user when no course runs matches.",
|
|
1188
|
+
"message": "Cannot find the course runs."
|
|
1189
|
+
},
|
|
1190
|
+
"hooks.useCourses.errorNotFound": {
|
|
1191
|
+
"description": "Error message shown to the user when not course matches.",
|
|
1192
|
+
"message": "Cannot find the course."
|
|
1193
|
+
},
|
|
1194
|
+
"hooks.useCourses.errorSelect": {
|
|
1195
|
+
"description": "Error message shown to the user when course fetch request fails.",
|
|
1196
|
+
"message": "An error occurred while fetching course. Please retry later."
|
|
1197
|
+
},
|
|
1030
1198
|
"hooks.useCreditCards.errorCreate": {
|
|
1031
1199
|
"description": "Error message shown to the user when credit card creation request fails.",
|
|
1032
1200
|
"message": "An error occurred while creating the credit card. Please retry later."
|
|
@@ -1127,6 +1295,10 @@
|
|
|
1127
1295
|
"description": "Error message shown to the user when resource update request fails.",
|
|
1128
1296
|
"message": "An error occurred while updating a resource. Please retry later."
|
|
1129
1297
|
},
|
|
1298
|
+
"hooks.useUnionResource.errorGet": {
|
|
1299
|
+
"description": "Error message shown to the user when union resources fetch request fails.",
|
|
1300
|
+
"message": "An error occurred while fetching data. Please retry later."
|
|
1301
|
+
},
|
|
1130
1302
|
"hooks.useWishlist.errorCreate": {
|
|
1131
1303
|
"description": "Error message shown to the user when wishlist creation request fails.",
|
|
1132
1304
|
"message": "An error occurred when adding this course to your wishlist. Please retry later."
|
|
@@ -1142,5 +1314,9 @@
|
|
|
1142
1314
|
"hooks.useWishlist.errorNotFound": {
|
|
1143
1315
|
"description": "Error message shown to the user when no wishlist matches.",
|
|
1144
1316
|
"message": "Cannot find the wishlist."
|
|
1317
|
+
},
|
|
1318
|
+
"utils.joinAnd.and": {
|
|
1319
|
+
"description": "The and word",
|
|
1320
|
+
"message": "and"
|
|
1145
1321
|
}
|
|
1146
1322
|
}
|