diff --git a/apps/dashboard/src/lib/utils/translations/da.json b/apps/dashboard/src/lib/utils/translations/da.json index 8106aa1d..dca5794c 100644 --- a/apps/dashboard/src/lib/utils/translations/da.json +++ b/apps/dashboard/src/lib/utils/translations/da.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Du skal betale for dette kursus eller blive inviteret for at få adgang.", "back_to_course": "Tilbage til kurset", "join_course": "Deltag i kursus", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Du er tilmeldt dette kursus.", + "enrolled_verify_email": "Du er tilmeldt! Bekræft din e-mail for at få adgang til dette kursus." }, "pricing_section": { "free": "Gratis", diff --git a/apps/dashboard/src/lib/utils/translations/de.json b/apps/dashboard/src/lib/utils/translations/de.json index 500b863e..8ece8bd7 100644 --- a/apps/dashboard/src/lib/utils/translations/de.json +++ b/apps/dashboard/src/lib/utils/translations/de.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Sie müssen für diesen Kurs bezahlen oder eingeladen werden, um Zugang zu erhalten.", "back_to_course": "Zurück zum Kurs", "join_course": "Nehmen Sie am Kurs teil", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Sie sind für diesen Kurs eingeschrieben.", + "enrolled_verify_email": "Sie sind eingeschrieben! Bestätigen Sie Ihre E-Mail, um auf diesen Kurs zuzugreifen." }, "pricing_section": { "free": "Kostenlos", diff --git a/apps/dashboard/src/lib/utils/translations/en.json b/apps/dashboard/src/lib/utils/translations/en.json index 54c61441..97bcf398 100644 --- a/apps/dashboard/src/lib/utils/translations/en.json +++ b/apps/dashboard/src/lib/utils/translations/en.json @@ -3373,7 +3373,7 @@ "back_to_course": "Back to course", "join_course": "Join Course", "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_verify_email": "You're enrolled! Verify your email to access this course." }, "course_content": "Course content", "modules": "modules", diff --git a/apps/dashboard/src/lib/utils/translations/es.json b/apps/dashboard/src/lib/utils/translations/es.json index 8da7c7f5..93254f28 100644 --- a/apps/dashboard/src/lib/utils/translations/es.json +++ b/apps/dashboard/src/lib/utils/translations/es.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Debes pagar por este curso o ser invitado a obtener acceso.", "back_to_course": "volver al curso", "join_course": "Unirse al curso", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Estás inscrito en este curso.", + "enrolled_verify_email": "¡Estás inscrito! Verifica tu correo electrónico para acceder a este curso." }, "pricing_section": { "free": "Gratis", diff --git a/apps/dashboard/src/lib/utils/translations/fr.json b/apps/dashboard/src/lib/utils/translations/fr.json index 4b443884..9723cfd5 100644 --- a/apps/dashboard/src/lib/utils/translations/fr.json +++ b/apps/dashboard/src/lib/utils/translations/fr.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Vous devez payer pour ce cours ou être invité pour y accéder.", "back_to_course": "Retour au cours", "join_course": "Rejoindre le cours", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Vous êtes inscrit à ce cours.", + "enrolled_verify_email": "Vous êtes inscrit ! Vérifiez votre e-mail pour accéder à ce cours." }, "pricing_section": { "free": "Gratuit", diff --git a/apps/dashboard/src/lib/utils/translations/hi.json b/apps/dashboard/src/lib/utils/translations/hi.json index 951ad311..b0382f36 100644 --- a/apps/dashboard/src/lib/utils/translations/hi.json +++ b/apps/dashboard/src/lib/utils/translations/hi.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "आपको इस पाठ्यक्रम के लिए भुगतान करना होगा या प्रवेश पाने के लिए आमंत्रित किया जाना होगा।", "back_to_course": "पाठ्यक्रम पर वापस जाएँ", "join_course": "पाठ्यक्रम में शामिल हों", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "आप इस पाठ्यक्रम में नामांकित हैं।", + "enrolled_verify_email": "आप नामांकित हैं! इस पाठ्यक्रम तक पहुँचने के लिए अपना ईमेल सत्यापित करें।" }, "pricing_section": { "free": "निःशुल्क", diff --git a/apps/dashboard/src/lib/utils/translations/pl.json b/apps/dashboard/src/lib/utils/translations/pl.json index 52108c7a..af13b44b 100644 --- a/apps/dashboard/src/lib/utils/translations/pl.json +++ b/apps/dashboard/src/lib/utils/translations/pl.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Aby uzyskać dostęp, musisz zapłacić za ten kurs lub otrzymać zaproszenie.", "back_to_course": "Powrót na kurs", "join_course": "Dołącz do kursu", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Zapisano Cię na ten kurs.", + "enrolled_verify_email": "Jesteś zapisany! Zweryfikuj swój e-mail, aby uzyskać dostęp do tego kursu." }, "pricing_section": { "free": "Bezpłatny", diff --git a/apps/dashboard/src/lib/utils/translations/pt.json b/apps/dashboard/src/lib/utils/translations/pt.json index b0fe2a03..661512b5 100644 --- a/apps/dashboard/src/lib/utils/translations/pt.json +++ b/apps/dashboard/src/lib/utils/translations/pt.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Você precisa pagar por este curso ou ser convidado para obter acesso.", "back_to_course": "De volta ao curso", "join_course": "Participe do curso", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Você está inscrito neste curso.", + "enrolled_verify_email": "Você está inscrito! Verifique seu e-mail para acessar este curso." }, "pricing_section": { "free": "Grátis", diff --git a/apps/dashboard/src/lib/utils/translations/ru.json b/apps/dashboard/src/lib/utils/translations/ru.json index 01afd4bb..c791f0bb 100644 --- a/apps/dashboard/src/lib/utils/translations/ru.json +++ b/apps/dashboard/src/lib/utils/translations/ru.json @@ -893,10 +893,8 @@ "requires_payment_or_invite": "Вам нужно заплатить за этот курс или получить приглашение для получения доступа.", "back_to_course": "Вернуться к курсу", "join_course": "Присоединиться к курсу", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area.", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Вы записаны на этот курс.", + "enrolled_verify_email": "Вы записаны! Подтвердите email, чтобы получить доступ к курсу." }, "pricing_section": { "free": "Бесплатно", diff --git a/apps/dashboard/src/lib/utils/translations/vi.json b/apps/dashboard/src/lib/utils/translations/vi.json index 2d28e592..a1d290f3 100644 --- a/apps/dashboard/src/lib/utils/translations/vi.json +++ b/apps/dashboard/src/lib/utils/translations/vi.json @@ -893,8 +893,8 @@ "requires_payment_or_invite": "Bạn cần phải trả tiền cho khóa học này hoặc được mời để có quyền truy cập.", "back_to_course": "Quay lại khóa học", "join_course": "Tham gia khóa học", - "enrolled_success": "You're enrolled in this course.", - "enrolled_verify_email": "You're enrolled! Verify your email to access this course in your learning area." + "enrolled_success": "Bạn đã ghi danh khóa học này.", + "enrolled_verify_email": "Bạn đã ghi danh! Xác minh email để truy cập khóa học này." }, "pricing_section": { "free": "miễn phí", diff --git a/apps/dashboard/src/routes/(org-site)/course/[slug]/enroll/+page.server.ts b/apps/dashboard/src/routes/(org-site)/course/[slug]/enroll/+page.server.ts index c1a11a1f..635f1b3a 100644 --- a/apps/dashboard/src/routes/(org-site)/course/[slug]/enroll/+page.server.ts +++ b/apps/dashboard/src/routes/(org-site)/course/[slug]/enroll/+page.server.ts @@ -56,12 +56,9 @@ export const load = async ({ params, url }) => { } const courseResult = await safeServerApi(() => - classroomio.course.slug[':slug'].$get( - { - param: { slug } - }, - getApiKeyHeaders() - ) + classroomio.course.slug[':slug'].$get({ + param: { slug } + }) ); if (!courseResult.ok || !courseResult.body.data) {