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 <[email protected]>
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": "बंद",
"unlocked": "अनलॉक किया",
"save": "परिवर्तनों को सुरक्षित करें",
"unlocked_certificate": "प्रमाणपत्र अब उपलब्ध है",
"locked_certificate": "प्रमाणपत्र उपलब्ध नहीं हैं",
"instructor_unlock": "आपके प्रशिक्षक को आपका प्रमाणपत्र अनलॉक करना होगा.",
"contact_instructor": "यदि आपको अपने प्रमाणपत्र की आवश्यकता है, तो कृपया अपने प्रशिक्षक से संपर्क करें।",
"download_certificate": "प्रमाणपत्र डाउनलोड करें"
"download_certificate": "प्रमाणपत्र डाउनलोड करें",
"unlocked_certificate_subtitle": "आपने यह पाठ्यक्रम पूरा कर लिया है, और आपका समर्पण स्पष्ट है। प्रमाणपत्र डाउनलोड करें और अपने नए अर्जित कौशल के प्रमाण के रूप में अपने नेटवर्क के साथ साझा करें",
"unlocked_certificate": "बधाई! 🎉आपका सर्टिफिकेट तैयार है",
"complete_to_download_subtitle": "इस पाठ्यक्रम के सभी पाठ और अभ्यास पूरा करने के बाद आपका प्रमाणपत्र उपलब्ध हो जाएगा",
"complete_to_download_title": "कोर्स पूरा नहीं हुआ 😔",
"description_error": "विवरण 200 वर्णों से अधिक नहीं हो सकता",
"characters": "पात्र",
"unexpected_error": "एक अप्रत्याशित त्रुटि हुई"
},
"people": {
"title": "लोग",