Merge branch 'master' into jwesson/set-up-dashboard-to-deploy-js-configs
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -26,3 +26,4 @@ module.config.js
|
|||||||
### transifex ###
|
### transifex ###
|
||||||
src/i18n/transifex_input.json
|
src/i18n/transifex_input.json
|
||||||
temp
|
temp
|
||||||
|
src/i18n/messages
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
[main]
|
|
||||||
host = https://www.transifex.com
|
|
||||||
|
|
||||||
[o:open-edx:p:edx-platform:r:frontend-app-learner-dashboard]
|
|
||||||
file_filter = src/i18n/messages/<lang>.json
|
|
||||||
source_file = src/i18n/transifex_input.json
|
|
||||||
source_lang = en
|
|
||||||
type = KEYVALUEJSON
|
|
||||||
|
|
||||||
20
Makefile
20
Makefile
@@ -1,8 +1,6 @@
|
|||||||
npm-install-%: ## install specified % npm package
|
npm-install-%: ## install specified % npm package
|
||||||
npm install $* --save-dev
|
npm install $* --save-dev
|
||||||
git add package.json
|
git add package.json
|
||||||
export TRANSIFEX_RESOURCE = frontend-app-learner-dashboard
|
|
||||||
transifex_langs = "ar,fr,fr_CA,es_419,pt_BR,zh_CN"
|
|
||||||
|
|
||||||
intl_imports = ./node_modules/.bin/intl-imports.js
|
intl_imports = ./node_modules/.bin/intl-imports.js
|
||||||
transifex_utils = ./node_modules/.bin/transifex-utils.js
|
transifex_utils = ./node_modules/.bin/transifex-utils.js
|
||||||
@@ -42,23 +40,6 @@ detect_changed_source_translations:
|
|||||||
# Checking for changed translations...
|
# Checking for changed translations...
|
||||||
git diff --exit-code $(i18n)
|
git diff --exit-code $(i18n)
|
||||||
|
|
||||||
# Pushes translations to Transifex. You must run make extract_translations first.
|
|
||||||
push_translations:
|
|
||||||
# Pushing strings to Transifex...
|
|
||||||
tx push -s
|
|
||||||
# Fetching hashes from Transifex...
|
|
||||||
./node_modules/@edx/reactifex/bash_scripts/get_hashed_strings_v3.sh
|
|
||||||
# Writing out comments to file...
|
|
||||||
$(transifex_utils) $(transifex_temp) --comments --v3-scripts-path
|
|
||||||
# Pushing comments to Transifex...
|
|
||||||
./node_modules/@edx/reactifex/bash_scripts/put_comments_v3.sh
|
|
||||||
|
|
||||||
ifeq ($(OPENEDX_ATLAS_PULL),)
|
|
||||||
# Pulls translations from Transifex.
|
|
||||||
pull_translations:
|
|
||||||
tx pull -t -f --mode reviewed --languages=$(transifex_langs)
|
|
||||||
else
|
|
||||||
# Experimental: OEP-58 Pulls translations using atlas
|
|
||||||
pull_translations:
|
pull_translations:
|
||||||
rm -rf src/i18n/messages
|
rm -rf src/i18n/messages
|
||||||
mkdir src/i18n/messages
|
mkdir src/i18n/messages
|
||||||
@@ -70,7 +51,6 @@ pull_translations:
|
|||||||
translations/frontend-app-learner-dashboard/src/i18n/messages:frontend-app-learner-dashboard
|
translations/frontend-app-learner-dashboard/src/i18n/messages:frontend-app-learner-dashboard
|
||||||
|
|
||||||
$(intl_imports) frontend-platform paragon frontend-component-footer frontend-app-learner-dashboard
|
$(intl_imports) frontend-platform paragon frontend-component-footer frontend-app-learner-dashboard
|
||||||
endif
|
|
||||||
|
|
||||||
# This target is used by CI.
|
# This target is used by CI.
|
||||||
validate-no-uncommitted-package-lock-changes:
|
validate-no-uncommitted-package-lock-changes:
|
||||||
|
|||||||
@@ -1,25 +1 @@
|
|||||||
import { messages as footerMessages } from '@edx/frontend-component-footer';
|
export default [];
|
||||||
import { messages as paragonMessages } from '@openedx/paragon';
|
|
||||||
|
|
||||||
import arMessages from './messages/ar.json';
|
|
||||||
// no need to import en messages-- they are in the defaultMessage field
|
|
||||||
import es419Messages from './messages/es_419.json';
|
|
||||||
import frMessages from './messages/fr.json';
|
|
||||||
import frcaMessages from './messages/fr_CA.json';
|
|
||||||
import ptbrMessages from './messages/pt_BR.json';
|
|
||||||
import zhcnMessages from './messages/zh_CN.json';
|
|
||||||
|
|
||||||
const appMessages = {
|
|
||||||
ar: arMessages,
|
|
||||||
'es-419': es419Messages,
|
|
||||||
fr: frMessages,
|
|
||||||
'fr-ca': frcaMessages,
|
|
||||||
'pt-br': ptbrMessages,
|
|
||||||
'zh-cn': zhcnMessages,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default [
|
|
||||||
footerMessages,
|
|
||||||
appMessages,
|
|
||||||
paragonMessages,
|
|
||||||
];
|
|
||||||
|
|||||||
@@ -1,57 +0,0 @@
|
|||||||
{
|
|
||||||
"dashboard.mycourses": "مساقاتي",
|
|
||||||
"Dashboard.NoCoursesView.lookingForChallengePrompt": "هل تبحث عن تحد جديد؟",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesPrompt": "استكشف مساقاتنا لإضافتها إلى لوحة التحكم الخاصة بك.",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesButton": "استكشف المساقات",
|
|
||||||
"Dashboard.NoCoursesView.bannerAlt": "لا يوجد شعار لعرض المساقات",
|
|
||||||
"leanerDashboard.enterpriseDialogHeader": "لديك حق الوصول إلى لوحة التحكم {label}",
|
|
||||||
"leanerDashboard.enterpriseDialogBody": "للوصول إلى الدورات التدريبية المتاحة لك من خلال {label} ، قم بزيارة لوحة التحكم {label} الآن.",
|
|
||||||
"leanerDashboard.enterpriseDialogDismissButton": "تجاهل",
|
|
||||||
"leanerDashboard.enterpriseDialogConfirmButton": "الذهاب إلى لوحة المعلومات",
|
|
||||||
"leanerDashboard.confirmEmailBanner": "أكد الآن",
|
|
||||||
"leanerDashboard.confirmEmailTextReminderBanner": "تذكر أن تؤكد بريدك الإلكتروني حتى تتمكن من مواصلة التعلم على المنصة التعليمية {confirmNowButton}.",
|
|
||||||
"leanerDashboard.verifiedConfirmEmailButton": "لقد أكدت بريدي الإلكتروني",
|
|
||||||
"leanerDashboard.confirmEmailModalHeader": "قم بتأكيد بريدك الإلكتروني",
|
|
||||||
"leanerDashboard.confirmEmailModalBody": "لقد أرسلنا إليك بريدًا إلكترونيًا للتحقق من حسابك. يرجى التحقق من بريدك الوارد والنقر على الزر الأحمر الكبير للتأكيد ومتابعة التعلم.",
|
|
||||||
"leanerDashboard.confirmEmailImageAlt": "ايقونة زر تأكيد البريد الإلكتروني",
|
|
||||||
"learnerVariantDashboard.menu.dashboard.label": "لوحة التحكم",
|
|
||||||
"learnerVariantDashboard.help.label": "المساعدة",
|
|
||||||
"learnerVariantDashboard.menu.profile.label": "الملف الشخصي",
|
|
||||||
"learnerVariantDashboard.menu.viewPrograms.label": "عرض البرامج",
|
|
||||||
"learnerVariantDashboard.menu.account.label": "الحساب",
|
|
||||||
"learnerVariantDashboard.menu.orderHistory.label": "Order History",
|
|
||||||
"learnerVariantDashboard.menu.signOut.label": "تسجيل الخروج",
|
|
||||||
"learnerVariantDashboard.course": "المساقات",
|
|
||||||
"learnerVariantDashboard.program": "البرامج",
|
|
||||||
"learnerVariantDashboard.discoverNew": "اكتشف الجديد",
|
|
||||||
"learnerVariantDashboard.logoAltText": ". لوحة القيادة",
|
|
||||||
"learnerVariantDashboard.collapseMenuOpenAltText": "القائمة",
|
|
||||||
"learnerVariantDashboard.collapseMenuClosedAltText": "إغلاق",
|
|
||||||
"leanerDashboard.menu.career.label": "Career",
|
|
||||||
"header.menu.new.label": "New",
|
|
||||||
"MasqueradeBar.ViewAs": "عرض كـ :",
|
|
||||||
"MasqueradeBar.ViewingAs": "يتم عرض كـ:",
|
|
||||||
"MasqueradeBar.SubmitButton": "تأكيد",
|
|
||||||
"MasqueradeBar.StudentNameInput": "اسم المستخدم أو البريد الإلكتروني",
|
|
||||||
"MasqueradeBar.NoStudentFound": "لم يتم العثور على أي طالب باسم المستخدم أو البريد الإلكتروني هذا",
|
|
||||||
"MasqueradeBar.UnknownError": "حدث خطأ غير معروف",
|
|
||||||
"WidgetSidebar.lookingForChallengePrompt": "هل تبحث عن تحد جديد؟",
|
|
||||||
"WidgetSidebar.findCoursesButton": "ابحث عن مساق {arrow}",
|
|
||||||
"ProductRecommendations.recommendationsHeading": "You might also like",
|
|
||||||
"ProductRecommendations.executiveEducationHeading": "Executive Education",
|
|
||||||
"ProductRecommendations.executiveEducationDescription": "Short Courses to develop leadership skills",
|
|
||||||
"ProductRecommendations.bootcampHeading": "Boot Camp",
|
|
||||||
"ProductRecommendations.bootcampDescription": "Intensive, hands-on, project based training",
|
|
||||||
"ProductRecommendations.courseHeading": "Courses",
|
|
||||||
"ProductRecommendations.courseDescription": "Find new interests and advance your career",
|
|
||||||
"RecommendationsPanel.recommendationsFeatureText": "Personalized recommendations feature is not yet available. We are working hard on bringing it to your learner home in the near future.",
|
|
||||||
"RecommendationsPanel.recommendationsAlertText": "Would you like to be alerted when it becomes available?",
|
|
||||||
"RecommendationsPanel.recommendationsModalHeading": "Thank you for your interest!",
|
|
||||||
"RecommendationsPanel.modalSkipButton": "Skip for now",
|
|
||||||
"RecommendationsPanel.modalCountMeButton": "Count me in!",
|
|
||||||
"learnerVariantDashboard.recommendedForYou": "Recommended For You",
|
|
||||||
"RecommendationsPanel.seeAllRecommendationsButton": "See All Recommendations",
|
|
||||||
"RecommendationsPanel.recommendationsHeading": "توصيات خاصة لك",
|
|
||||||
"RecommendationsPanel.popularCoursesHeading": "المساقات الشائعة",
|
|
||||||
"RecommendationsPanel.exploreCoursesButton": "استكشف المساقات"
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{
|
|
||||||
"dashboard.mycourses": "Mis cursos",
|
|
||||||
"Dashboard.NoCoursesView.lookingForChallengePrompt": "¿Buscando un nuevo reto?",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesPrompt": "Explore nuestros cursos para agregarlos a su tablero.",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesButton": "Explorar cursos",
|
|
||||||
"Dashboard.NoCoursesView.bannerAlt": "Sin banner de vista de cursos",
|
|
||||||
"leanerDashboard.enterpriseDialogHeader": "Tienes acceso al panel {label}",
|
|
||||||
"leanerDashboard.enterpriseDialogBody": "Para acceder a los cursos disponibles para usted a través de {label}, visite el panel {label} ahora.",
|
|
||||||
"leanerDashboard.enterpriseDialogDismissButton": "Despedir",
|
|
||||||
"leanerDashboard.enterpriseDialogConfirmButton": "Ir al panel principal",
|
|
||||||
"leanerDashboard.confirmEmailBanner": "Confirmar ahora",
|
|
||||||
"leanerDashboard.confirmEmailTextReminderBanner": "¡Recuerda confirmar tu correo electrónico para que puedas seguir aprendiendo en edX! {confirmNowButton}.",
|
|
||||||
"leanerDashboard.verifiedConfirmEmailButton": "He confirmado mi correo electrónico.",
|
|
||||||
"leanerDashboard.confirmEmailModalHeader": "confirme su email",
|
|
||||||
"leanerDashboard.confirmEmailModalBody": "Te hemos enviado un correo electrónico para verificar tu cuenta. Revise su bandeja de entrada y haga clic en el botón rojo grande para confirmar y seguir aprendiendo.",
|
|
||||||
"leanerDashboard.confirmEmailImageAlt": "confirmar fondo de correo electrónico",
|
|
||||||
"learnerVariantDashboard.menu.dashboard.label": "Panel de Control",
|
|
||||||
"learnerVariantDashboard.help.label": "Ayuda",
|
|
||||||
"learnerVariantDashboard.menu.profile.label": "Perfil",
|
|
||||||
"learnerVariantDashboard.menu.viewPrograms.label": "Ver programas",
|
|
||||||
"learnerVariantDashboard.menu.account.label": "Cuenta",
|
|
||||||
"learnerVariantDashboard.menu.orderHistory.label": "Historial de órdenes",
|
|
||||||
"learnerVariantDashboard.menu.signOut.label": "Cerrar sesión",
|
|
||||||
"learnerVariantDashboard.course": "cursos",
|
|
||||||
"learnerVariantDashboard.program": "Programas",
|
|
||||||
"learnerVariantDashboard.discoverNew": "Encontrar nuevo",
|
|
||||||
"learnerVariantDashboard.logoAltText": "Tablero de edX, Inc.",
|
|
||||||
"learnerVariantDashboard.collapseMenuOpenAltText": "Menú",
|
|
||||||
"learnerVariantDashboard.collapseMenuClosedAltText": "Cerrar",
|
|
||||||
"leanerDashboard.menu.career.label": "Carrera",
|
|
||||||
"header.menu.new.label": "Nuevo",
|
|
||||||
"MasqueradeBar.ViewAs": "Ver como:",
|
|
||||||
"MasqueradeBar.ViewingAs": "Viendo como:",
|
|
||||||
"MasqueradeBar.SubmitButton": "Enviar",
|
|
||||||
"MasqueradeBar.StudentNameInput": "Nombre de usuario o correo electrónico",
|
|
||||||
"MasqueradeBar.NoStudentFound": "No se pudo encontrar ningún estudiante con este nombre de usuario o correo electrónico",
|
|
||||||
"MasqueradeBar.UnknownError": "Un error desconocido ocurrió",
|
|
||||||
"WidgetSidebar.lookingForChallengePrompt": "¿Buscando un nuevo reto?",
|
|
||||||
"WidgetSidebar.findCoursesButton": "Encuentra un curso {arrow}",
|
|
||||||
"ProductRecommendations.recommendationsHeading": "También podría ser de interés",
|
|
||||||
"ProductRecommendations.executiveEducationHeading": "Formación Ejecutiva",
|
|
||||||
"ProductRecommendations.executiveEducationDescription": "Cursos cortos para desarrollar habilidades de liderazgo",
|
|
||||||
"ProductRecommendations.bootcampHeading": "Capacitación intensiva de corta duración",
|
|
||||||
"ProductRecommendations.bootcampDescription": "Capacitación intensiva, práctica y basada en proyectos",
|
|
||||||
"ProductRecommendations.courseHeading": "Cursos",
|
|
||||||
"ProductRecommendations.courseDescription": "Encontrar nuevos intereses y avanzar en la carrera",
|
|
||||||
"RecommendationsPanel.recommendationsFeatureText": "La función de recomendaciones personalizadas aún no está disponible. Estamos trabajando arduamente para llevarlo a casa de su alumno en un futuro próximo.",
|
|
||||||
"RecommendationsPanel.recommendationsAlertText": "¿Le gustaría recibir una alerta cuando esté disponible?",
|
|
||||||
"RecommendationsPanel.recommendationsModalHeading": "¡Gracias por su interés!",
|
|
||||||
"RecommendationsPanel.modalSkipButton": "Saltar por ahora ",
|
|
||||||
"RecommendationsPanel.modalCountMeButton": "¡Cuente conmigo!",
|
|
||||||
"learnerVariantDashboard.recommendedForYou": "Recomendado para usted",
|
|
||||||
"RecommendationsPanel.seeAllRecommendationsButton": "Ver todas las recomendaciones",
|
|
||||||
"RecommendationsPanel.recommendationsHeading": "Recomendaciones para ti",
|
|
||||||
"RecommendationsPanel.popularCoursesHeading": "Cursos populares",
|
|
||||||
"RecommendationsPanel.exploreCoursesButton": "Explorar cursos"
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{
|
|
||||||
"dashboard.mycourses": "Mes Cours",
|
|
||||||
"Dashboard.NoCoursesView.lookingForChallengePrompt": "A la recherche d'un nouveau défi?",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesPrompt": "Explorez nos cours pour les ajouter à votre tableau de bord.",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesButton": "Explorer les cours",
|
|
||||||
"Dashboard.NoCoursesView.bannerAlt": "Aucune bannière de cours",
|
|
||||||
"leanerDashboard.enterpriseDialogHeader": "Vous avez accès au tableau de bord {label}",
|
|
||||||
"leanerDashboard.enterpriseDialogBody": "Pour accéder aux cours disponibles via {label}, visitez le tableau de bord {label} maintenant.",
|
|
||||||
"leanerDashboard.enterpriseDialogDismissButton": "Ignorer",
|
|
||||||
"leanerDashboard.enterpriseDialogConfirmButton": "Go to dashboard",
|
|
||||||
"leanerDashboard.confirmEmailBanner": "Confirmer maintenant",
|
|
||||||
"leanerDashboard.confirmEmailTextReminderBanner": "N'oubliez pas de confirmer votre courriel afin de pouvoir continuer à apprendre sur edX ! {confirmNowButton}.",
|
|
||||||
"leanerDashboard.verifiedConfirmEmailButton": "J'ai confirmé mon courriel",
|
|
||||||
"leanerDashboard.confirmEmailModalHeader": "Confirmer votre courriel",
|
|
||||||
"leanerDashboard.confirmEmailModalBody": "Nous vous avons envoyé un courriel pour vérifier votre compte. Veuillez vérifier votre boîte de réception et cliquer sur le gros bouton rouge pour confirmer et continuer à apprendre.",
|
|
||||||
"leanerDashboard.confirmEmailImageAlt": "confirmer l'arrière-plan du courriel",
|
|
||||||
"learnerVariantDashboard.menu.dashboard.label": "Tableau de bord",
|
|
||||||
"learnerVariantDashboard.help.label": "Aide",
|
|
||||||
"learnerVariantDashboard.menu.profile.label": "Profil",
|
|
||||||
"learnerVariantDashboard.menu.viewPrograms.label": "Voir les programmes",
|
|
||||||
"learnerVariantDashboard.menu.account.label": "Compte",
|
|
||||||
"learnerVariantDashboard.menu.orderHistory.label": "Order History",
|
|
||||||
"learnerVariantDashboard.menu.signOut.label": "Se déconnecter",
|
|
||||||
"learnerVariantDashboard.course": "Cours",
|
|
||||||
"learnerVariantDashboard.program": "Programmes",
|
|
||||||
"learnerVariantDashboard.discoverNew": "Explorer les cours",
|
|
||||||
"learnerVariantDashboard.logoAltText": "Tableau de bord edX, Inc.",
|
|
||||||
"learnerVariantDashboard.collapseMenuOpenAltText": "Menu",
|
|
||||||
"learnerVariantDashboard.collapseMenuClosedAltText": "Fermer",
|
|
||||||
"leanerDashboard.menu.career.label": "Career",
|
|
||||||
"header.menu.new.label": "New",
|
|
||||||
"MasqueradeBar.ViewAs": "Vue de :",
|
|
||||||
"MasqueradeBar.ViewingAs": "Voir comme : ",
|
|
||||||
"MasqueradeBar.SubmitButton": "Envoyez",
|
|
||||||
"MasqueradeBar.StudentNameInput": "Nom d'utilisateur ou courriel",
|
|
||||||
"MasqueradeBar.NoStudentFound": "Aucun étudiant avec ce nom d'utilisateur ou cette adresse courriel n'a pu être trouvé",
|
|
||||||
"MasqueradeBar.UnknownError": "Une erreur d'origine inconnue s'est produite.",
|
|
||||||
"WidgetSidebar.lookingForChallengePrompt": "A la recherche d'un nouveau défi?",
|
|
||||||
"WidgetSidebar.findCoursesButton": "Trouver un cours {arrow}",
|
|
||||||
"ProductRecommendations.recommendationsHeading": "You might also like",
|
|
||||||
"ProductRecommendations.executiveEducationHeading": "Executive Education",
|
|
||||||
"ProductRecommendations.executiveEducationDescription": "Short Courses to develop leadership skills",
|
|
||||||
"ProductRecommendations.bootcampHeading": "Boot Camp",
|
|
||||||
"ProductRecommendations.bootcampDescription": "Intensive, hands-on, project based training",
|
|
||||||
"ProductRecommendations.courseHeading": "Courses",
|
|
||||||
"ProductRecommendations.courseDescription": "Find new interests and advance your career",
|
|
||||||
"RecommendationsPanel.recommendationsFeatureText": "Personalized recommendations feature is not yet available. We are working hard on bringing it to your learner home in the near future.",
|
|
||||||
"RecommendationsPanel.recommendationsAlertText": "Would you like to be alerted when it becomes available?",
|
|
||||||
"RecommendationsPanel.recommendationsModalHeading": "Thank you for your interest!",
|
|
||||||
"RecommendationsPanel.modalSkipButton": "Skip for now",
|
|
||||||
"RecommendationsPanel.modalCountMeButton": "Count me in!",
|
|
||||||
"learnerVariantDashboard.recommendedForYou": "Recommended For You",
|
|
||||||
"RecommendationsPanel.seeAllRecommendationsButton": "See All Recommendations",
|
|
||||||
"RecommendationsPanel.recommendationsHeading": "Des recommandations pour vous",
|
|
||||||
"RecommendationsPanel.popularCoursesHeading": "Cours populaires",
|
|
||||||
"RecommendationsPanel.exploreCoursesButton": "Explorer les cours"
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{
|
|
||||||
"dashboard.mycourses": "Mes cours",
|
|
||||||
"Dashboard.NoCoursesView.lookingForChallengePrompt": "A la recherche d'un nouveau défi?",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesPrompt": "Explorez nos cours pour les ajouter à votre tableau de bord.",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesButton": "Explorer les cours",
|
|
||||||
"Dashboard.NoCoursesView.bannerAlt": "Aucune bannière de cours",
|
|
||||||
"leanerDashboard.enterpriseDialogHeader": "Vous avez accès au tableau de bord {label}",
|
|
||||||
"leanerDashboard.enterpriseDialogBody": "Pour accéder aux cours disponibles via {label}, visitez le tableau de bord {label} maintenant.",
|
|
||||||
"leanerDashboard.enterpriseDialogDismissButton": "Rejeter",
|
|
||||||
"leanerDashboard.enterpriseDialogConfirmButton": "Aller au tableau de bord",
|
|
||||||
"leanerDashboard.confirmEmailBanner": "Confirmer maintenant",
|
|
||||||
"leanerDashboard.confirmEmailTextReminderBanner": "N'oubliez pas de confirmer votre courriel afin de pouvoir continuer à apprendre sur EDUlib! {confirmNowButton}.",
|
|
||||||
"leanerDashboard.verifiedConfirmEmailButton": "J'ai confirmé mon courriel",
|
|
||||||
"leanerDashboard.confirmEmailModalHeader": "Confirmer votre courriel",
|
|
||||||
"leanerDashboard.confirmEmailModalBody": "Nous vous avons envoyé un courriel pour vérifier votre compte. Veuillez vérifier votre boîte de réception et cliquer sur le gros bouton rouge pour confirmer et continuer à apprendre.",
|
|
||||||
"leanerDashboard.confirmEmailImageAlt": "confirmer l'arrière-plan du courriel",
|
|
||||||
"learnerVariantDashboard.menu.dashboard.label": "Tableau de bord",
|
|
||||||
"learnerVariantDashboard.help.label": "Aide",
|
|
||||||
"learnerVariantDashboard.menu.profile.label": "Profil",
|
|
||||||
"learnerVariantDashboard.menu.viewPrograms.label": "Voir les programmes",
|
|
||||||
"learnerVariantDashboard.menu.account.label": "Compte",
|
|
||||||
"learnerVariantDashboard.menu.orderHistory.label": "Historique des commandes",
|
|
||||||
"learnerVariantDashboard.menu.signOut.label": "Se déconnecter",
|
|
||||||
"learnerVariantDashboard.course": "Cours",
|
|
||||||
"learnerVariantDashboard.program": "Programmes",
|
|
||||||
"learnerVariantDashboard.discoverNew": "Découvrir les nouveautés",
|
|
||||||
"learnerVariantDashboard.logoAltText": "Tableau de bord EDUlib, Inc.",
|
|
||||||
"learnerVariantDashboard.collapseMenuOpenAltText": "Menu",
|
|
||||||
"learnerVariantDashboard.collapseMenuClosedAltText": "Fermer",
|
|
||||||
"leanerDashboard.menu.career.label": "Carrière",
|
|
||||||
"header.menu.new.label": "Nouveau",
|
|
||||||
"MasqueradeBar.ViewAs": "Consulter comme :",
|
|
||||||
"MasqueradeBar.ViewingAs": "Affichage en tant que :",
|
|
||||||
"MasqueradeBar.SubmitButton": "Soumettre",
|
|
||||||
"MasqueradeBar.StudentNameInput": "Nom d'utilisateur ou courriel",
|
|
||||||
"MasqueradeBar.NoStudentFound": "Aucun étudiant avec ce nom d'utilisateur ou cette adresse courriel n'a pu être trouvé",
|
|
||||||
"MasqueradeBar.UnknownError": "Une erreur inconnue est survenue",
|
|
||||||
"WidgetSidebar.lookingForChallengePrompt": "A la recherche d'un nouveau défi?",
|
|
||||||
"WidgetSidebar.findCoursesButton": "Trouver un cours {arrow}",
|
|
||||||
"ProductRecommendations.recommendationsHeading": "Vous pourriez aussi aimer",
|
|
||||||
"ProductRecommendations.executiveEducationHeading": "Formation des cadres",
|
|
||||||
"ProductRecommendations.executiveEducationDescription": "Cours abrégés pour développer les compétences en leadership",
|
|
||||||
"ProductRecommendations.bootcampHeading": "Camp d'entraînement",
|
|
||||||
"ProductRecommendations.bootcampDescription": "Formation intensive, pratique et basée sur des projets",
|
|
||||||
"ProductRecommendations.courseHeading": "Cours",
|
|
||||||
"ProductRecommendations.courseDescription": "Trouvez de nouveaux intérêts et faites progresser votre carrière",
|
|
||||||
"RecommendationsPanel.recommendationsFeatureText": "La fonctionnalité de recommandations personnalisées n'est pas encore disponible. Nous travaillons fort pour le proposer à votre apprenant dans un avenir rapproché.",
|
|
||||||
"RecommendationsPanel.recommendationsAlertText": "Souhaitez-vous être alerté dès qu'il sera disponible?",
|
|
||||||
"RecommendationsPanel.recommendationsModalHeading": "Merci pour votre intérêt!",
|
|
||||||
"RecommendationsPanel.modalSkipButton": "Ignorer pour l'instant",
|
|
||||||
"RecommendationsPanel.modalCountMeButton": "Comptez sur moi!",
|
|
||||||
"learnerVariantDashboard.recommendedForYou": "Recommandé pour vous",
|
|
||||||
"RecommendationsPanel.seeAllRecommendationsButton": "Voir toutes les recommandations",
|
|
||||||
"RecommendationsPanel.recommendationsHeading": "Des recommandations pour vous",
|
|
||||||
"RecommendationsPanel.popularCoursesHeading": "Cours populaires",
|
|
||||||
"RecommendationsPanel.exploreCoursesButton": "Explorer les cours"
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{
|
|
||||||
"dashboard.mycourses": "Meus Cursos",
|
|
||||||
"Dashboard.NoCoursesView.lookingForChallengePrompt": "Looking for a new challenge?",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesPrompt": "Explore our courses to add them to your dashboard.",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesButton": "Explorar cursos",
|
|
||||||
"Dashboard.NoCoursesView.bannerAlt": "No Courses view banner",
|
|
||||||
"leanerDashboard.enterpriseDialogHeader": "You have access to the {label} dashboard",
|
|
||||||
"leanerDashboard.enterpriseDialogBody": "To access the courses available to you through {label}, visit the {label} dashboard now.",
|
|
||||||
"leanerDashboard.enterpriseDialogDismissButton": "Ignorar",
|
|
||||||
"leanerDashboard.enterpriseDialogConfirmButton": "Go to dashboard",
|
|
||||||
"leanerDashboard.confirmEmailBanner": "Confirm Now",
|
|
||||||
"leanerDashboard.confirmEmailTextReminderBanner": "Remember to confirm your email so that you can keep learning on edX! {confirmNowButton}.",
|
|
||||||
"leanerDashboard.verifiedConfirmEmailButton": "I've confirmed my email",
|
|
||||||
"leanerDashboard.confirmEmailModalHeader": "Confirm your email",
|
|
||||||
"leanerDashboard.confirmEmailModalBody": "We've sent you an email to verify your account. Please check your inbox and click on the big red button to confirm and keep learning.",
|
|
||||||
"leanerDashboard.confirmEmailImageAlt": "confirm email background",
|
|
||||||
"learnerVariantDashboard.menu.dashboard.label": "Painel de controle",
|
|
||||||
"learnerVariantDashboard.help.label": "Ajuda",
|
|
||||||
"learnerVariantDashboard.menu.profile.label": "Perfil",
|
|
||||||
"learnerVariantDashboard.menu.viewPrograms.label": "View Programs",
|
|
||||||
"learnerVariantDashboard.menu.account.label": "Conta",
|
|
||||||
"learnerVariantDashboard.menu.orderHistory.label": "Order History",
|
|
||||||
"learnerVariantDashboard.menu.signOut.label": "Sair",
|
|
||||||
"learnerVariantDashboard.course": "Cursos",
|
|
||||||
"learnerVariantDashboard.program": "Programas",
|
|
||||||
"learnerVariantDashboard.discoverNew": "Descubra Novos",
|
|
||||||
"learnerVariantDashboard.logoAltText": "edX, Inc. Dashboard",
|
|
||||||
"learnerVariantDashboard.collapseMenuOpenAltText": "Menu",
|
|
||||||
"learnerVariantDashboard.collapseMenuClosedAltText": "Fechar",
|
|
||||||
"leanerDashboard.menu.career.label": "Career",
|
|
||||||
"header.menu.new.label": "New",
|
|
||||||
"MasqueradeBar.ViewAs": "Ver como: ",
|
|
||||||
"MasqueradeBar.ViewingAs": "Viewing as: ",
|
|
||||||
"MasqueradeBar.SubmitButton": "Enviar",
|
|
||||||
"MasqueradeBar.StudentNameInput": "Username or email",
|
|
||||||
"MasqueradeBar.NoStudentFound": "No student with this username or email could be found",
|
|
||||||
"MasqueradeBar.UnknownError": "An unknown error occurred",
|
|
||||||
"WidgetSidebar.lookingForChallengePrompt": "Looking for a new challenge?",
|
|
||||||
"WidgetSidebar.findCoursesButton": "Find a course {arrow}",
|
|
||||||
"ProductRecommendations.recommendationsHeading": "You might also like",
|
|
||||||
"ProductRecommendations.executiveEducationHeading": "Executive Education",
|
|
||||||
"ProductRecommendations.executiveEducationDescription": "Short Courses to develop leadership skills",
|
|
||||||
"ProductRecommendations.bootcampHeading": "Boot Camp",
|
|
||||||
"ProductRecommendations.bootcampDescription": "Intensive, hands-on, project based training",
|
|
||||||
"ProductRecommendations.courseHeading": "Courses",
|
|
||||||
"ProductRecommendations.courseDescription": "Find new interests and advance your career",
|
|
||||||
"RecommendationsPanel.recommendationsFeatureText": "Personalized recommendations feature is not yet available. We are working hard on bringing it to your learner home in the near future.",
|
|
||||||
"RecommendationsPanel.recommendationsAlertText": "Would you like to be alerted when it becomes available?",
|
|
||||||
"RecommendationsPanel.recommendationsModalHeading": "Thank you for your interest!",
|
|
||||||
"RecommendationsPanel.modalSkipButton": "Skip for now",
|
|
||||||
"RecommendationsPanel.modalCountMeButton": "Count me in!",
|
|
||||||
"learnerVariantDashboard.recommendedForYou": "Recommended For You",
|
|
||||||
"RecommendationsPanel.seeAllRecommendationsButton": "See All Recommendations",
|
|
||||||
"RecommendationsPanel.recommendationsHeading": "Recommendations for you",
|
|
||||||
"RecommendationsPanel.popularCoursesHeading": "Popular courses",
|
|
||||||
"RecommendationsPanel.exploreCoursesButton": "Explorar cursos"
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{
|
|
||||||
"dashboard.mycourses": "My Courses",
|
|
||||||
"Dashboard.NoCoursesView.lookingForChallengePrompt": "Looking for a new challenge?",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesPrompt": "Explore our courses to add them to your dashboard.",
|
|
||||||
"Dashboard.NoCoursesView.exploreCoursesButton": "Explore courses",
|
|
||||||
"Dashboard.NoCoursesView.bannerAlt": "No Courses view banner",
|
|
||||||
"leanerDashboard.enterpriseDialogHeader": "You have access to the {label} dashboard",
|
|
||||||
"leanerDashboard.enterpriseDialogBody": "To access the courses available to you through {label}, visit the {label} dashboard now.",
|
|
||||||
"leanerDashboard.enterpriseDialogDismissButton": "Dismiss",
|
|
||||||
"leanerDashboard.enterpriseDialogConfirmButton": "Go to dashboard",
|
|
||||||
"leanerDashboard.confirmEmailBanner": "Confirm Now",
|
|
||||||
"leanerDashboard.confirmEmailTextReminderBanner": "Remember to confirm your email so that you can keep learning on edX! {confirmNowButton}.",
|
|
||||||
"leanerDashboard.verifiedConfirmEmailButton": "I've confirmed my email",
|
|
||||||
"leanerDashboard.confirmEmailModalHeader": "Confirm your email",
|
|
||||||
"leanerDashboard.confirmEmailModalBody": "We've sent you an email to verify your account. Please check your inbox and click on the big red button to confirm and keep learning.",
|
|
||||||
"leanerDashboard.confirmEmailImageAlt": "confirm email background",
|
|
||||||
"learnerVariantDashboard.menu.dashboard.label": "Dashboard",
|
|
||||||
"learnerVariantDashboard.help.label": "Help",
|
|
||||||
"learnerVariantDashboard.menu.profile.label": "Profile",
|
|
||||||
"learnerVariantDashboard.menu.viewPrograms.label": "View Programs",
|
|
||||||
"learnerVariantDashboard.menu.account.label": "Account",
|
|
||||||
"learnerVariantDashboard.menu.orderHistory.label": "Order History",
|
|
||||||
"learnerVariantDashboard.menu.signOut.label": "Sign Out",
|
|
||||||
"learnerVariantDashboard.course": "Courses",
|
|
||||||
"learnerVariantDashboard.program": "Programs",
|
|
||||||
"learnerVariantDashboard.discoverNew": "Discover New",
|
|
||||||
"learnerVariantDashboard.logoAltText": "edX, Inc. Dashboard",
|
|
||||||
"learnerVariantDashboard.collapseMenuOpenAltText": "Menu",
|
|
||||||
"learnerVariantDashboard.collapseMenuClosedAltText": "Close",
|
|
||||||
"leanerDashboard.menu.career.label": "Career",
|
|
||||||
"header.menu.new.label": "New",
|
|
||||||
"MasqueradeBar.ViewAs": "View as: ",
|
|
||||||
"MasqueradeBar.ViewingAs": "Viewing as: ",
|
|
||||||
"MasqueradeBar.SubmitButton": "Submit",
|
|
||||||
"MasqueradeBar.StudentNameInput": "Username or email",
|
|
||||||
"MasqueradeBar.NoStudentFound": "No student with this username or email could be found",
|
|
||||||
"MasqueradeBar.UnknownError": "An unknown error occurred",
|
|
||||||
"WidgetSidebar.lookingForChallengePrompt": "Looking for a new challenge?",
|
|
||||||
"WidgetSidebar.findCoursesButton": "Find a course {arrow}",
|
|
||||||
"ProductRecommendations.recommendationsHeading": "You might also like",
|
|
||||||
"ProductRecommendations.executiveEducationHeading": "Executive Education",
|
|
||||||
"ProductRecommendations.executiveEducationDescription": "Short Courses to develop leadership skills",
|
|
||||||
"ProductRecommendations.bootcampHeading": "Boot Camp",
|
|
||||||
"ProductRecommendations.bootcampDescription": "Intensive, hands-on, project based training",
|
|
||||||
"ProductRecommendations.courseHeading": "Courses",
|
|
||||||
"ProductRecommendations.courseDescription": "Find new interests and advance your career",
|
|
||||||
"RecommendationsPanel.recommendationsFeatureText": "Personalized recommendations feature is not yet available. We are working hard on bringing it to your learner home in the near future.",
|
|
||||||
"RecommendationsPanel.recommendationsAlertText": "Would you like to be alerted when it becomes available?",
|
|
||||||
"RecommendationsPanel.recommendationsModalHeading": "Thank you for your interest!",
|
|
||||||
"RecommendationsPanel.modalSkipButton": "Skip for now",
|
|
||||||
"RecommendationsPanel.modalCountMeButton": "Count me in!",
|
|
||||||
"learnerVariantDashboard.recommendedForYou": "Recommended For You",
|
|
||||||
"RecommendationsPanel.seeAllRecommendationsButton": "See All Recommendations",
|
|
||||||
"RecommendationsPanel.recommendationsHeading": "Recommendations for you",
|
|
||||||
"RecommendationsPanel.popularCoursesHeading": "Popular courses",
|
|
||||||
"RecommendationsPanel.exploreCoursesButton": "Explore courses"
|
|
||||||
}
|
|
||||||
@@ -8,8 +8,6 @@ import {
|
|||||||
subscribe,
|
subscribe,
|
||||||
} from '@edx/frontend-platform';
|
} from '@edx/frontend-platform';
|
||||||
|
|
||||||
import { messages as footerMessages } from '@edx/frontend-component-footer';
|
|
||||||
|
|
||||||
import { configuration } from './config';
|
import { configuration } from './config';
|
||||||
import * as app from '.';
|
import * as app from '.';
|
||||||
|
|
||||||
@@ -59,10 +57,9 @@ describe('app registry', () => {
|
|||||||
expect(rendered).toMatchSnapshot();
|
expect(rendered).toMatchSnapshot();
|
||||||
expect(target).toEqual(document.getElementById('root'));
|
expect(target).toEqual(document.getElementById('root'));
|
||||||
});
|
});
|
||||||
test('initialize is called with footerMessages and requireAuthenticatedUser', () => {
|
test('initialize is called with requireAuthenticatedUser', () => {
|
||||||
expect(initialize).toHaveBeenCalledTimes(1);
|
expect(initialize).toHaveBeenCalledTimes(1);
|
||||||
const initializeArg = initialize.mock.calls[0][0];
|
const initializeArg = initialize.mock.calls[0][0];
|
||||||
expect(initializeArg.messages[0]).toEqual(footerMessages);
|
|
||||||
expect(initializeArg.requireAuthenticatedUser).toEqual(true);
|
expect(initializeArg.requireAuthenticatedUser).toEqual(true);
|
||||||
});
|
});
|
||||||
test('initialize config', () => {
|
test('initialize config', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user