feat: add 4 certificate templates (#295)

* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

* translations fix

* - add documentation
- translation bug fix

* quick adjust

* PR Fixes

* add new line

* update docs

* checkpoint

* feat: redesign & addition of certificates

* text color update

* patterned width fix

* "student-name" class remove

* checkpoint

* PR Fix

* quick fix

* PR Fixes

* update certificate ready page for students

* PR Fixes

* quick cleanup

* move fetchCourses into .ts file

* feat: give students access to certificates only after completing course

* checkpoint

* height fix

* Merge branch 'main' of https://github.com/rotimi-best/classroomio into classroomio-issue-272

* Fix; merge PR Fix

* fix: width of plain & professional certs

* PR Fix

* feat: add translation

* handle error when trying to download a certificate

* add fetchExploreCourses

* fix: requested reviews

* review fixes checkpoint

* replace the certificate background

* height fix for patterned certififcates

* fix more bugs

* rename schema

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Adeyemi Adetunji
2024-07-21 03:02:33 +01:00
committed by GitHub
co-authored by Rotimi Best
parent f0907dde89
commit 72b58ed2c7
48 changed files with 2940 additions and 251 deletions
@@ -409,11 +409,17 @@
"locked": "Fermé à clé",
"unlocked": "Débloqué",
"save": "Sauvegarder les modifications",
"unlocked_certificate": "Le certificat est maintenant disponible",
"locked_certificate": "Certificats non disponibles",
"instructor_unlock": "Votre instructeur doit débloquer votre certificat.",
"contact_instructor": "Si vous avez besoin de votre certificat, veuillez contacter votre instructeur.",
"download_certificate": "Télécharger le certificat"
"download_certificate": "Télécharger le certificat",
"unlocked_certificate": "Bravo! 🎉 votre attestation est prête",
"unlocked_certificate_subtitle": "Vous avez terminé ce cours et votre dévouement est évident. Téléchargez le certificat et partagez-le avec votre réseau comme preuve de vos compétences nouvellement acquises",
"complete_to_download_subtitle": "Votre certificat sera disponible une fois que vous aurez terminé toutes les leçons et exercices de ce cours.",
"complete_to_download_title": "Cours non terminé 😔",
"description_error": "La description ne peut pas dépasser 200 caractères",
"characters": "personnages",
"unexpected_error": "une erreur inattendue est apparue"
},
"people": {
"title": "Personnes",