feat: export marks as csv or pdf (#427)

* worked on the marks csv export

* added translations

* added pdf export option and translations

* cleanup

* cleanup

* improve download UX

* capitalize title

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Em_Dev
2024-08-10 08:49:42 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 1c41450b79
commit d2fe33c6ab
11 changed files with 586 additions and 196 deletions
@@ -475,7 +475,11 @@
"title": "Markierungen",
"student": "Student",
"total": "Gesamt",
"no_student": "Kein Student hinzugefügt"
"no_student": "Kein Student hinzugefügt",
"export": {
"csv": "Als CSV exportieren",
"pdf": "Als PDF exportieren"
}
},
"submissions": {
"title": "Eingereichte Übungen",
@@ -801,6 +801,10 @@
"title": "Marks",
"student": "Student",
"total": "Total",
"export": {
"csv": "Export as CSV",
"pdf": "Export as PDF"
},
"no_student": "No Student Added"
},
@@ -475,7 +475,11 @@
"title": "Marcas",
"student": "Alumno",
"total": "Total",
"no_student": "No se agregó ningún estudiante"
"no_student": "No se agregó ningún estudiante",
"export": {
"csv": "Exportar como CSV",
"pdf": "Exportar como PDF"
}
},
"submissions": {
"title": "Ejercicios enviados",
@@ -475,7 +475,11 @@
"title": "Des marques",
"student": "Étudiant",
"total": "Total",
"no_student": "Aucun étudiant ajouté"
"no_student": "Aucun étudiant ajouté",
"export": {
"csv": "Exporter au format CSV",
"pdf": "Exporter au format PDF"
}
},
"submissions": {
"title": "Exercices soumis",
@@ -475,7 +475,11 @@
"title": "निशान",
"student": "विद्यार्थी",
"total": "कुल",
"no_student": "कोई छात्र नहीं जोड़ा गया"
"no_student": "कोई छात्र नहीं जोड़ा गया",
"export": {
"csv": "सीएसवी के रूप में निर्यात करें",
"pdf": "पीडीएफ के रूप में निर्यात करें"
}
},
"submissions": {
"title": "प्रस्तुत अभ्यास",
@@ -475,7 +475,11 @@
"title": "Marcas",
"student": "Estudante",
"total": "Total",
"no_student": "Nenhum aluno adicionado"
"no_student": "Nenhum aluno adicionado",
"export": {
"csv": "Exportar como CSV",
"pdf": "Exportar como PDF"
}
},
"submissions": {
"title": "Exercícios enviados",
@@ -475,7 +475,11 @@
"title": "Метки",
"student": "Студент",
"total": "Общий",
"no_student": "Студент не добавлен"
"no_student": "Студент не добавлен",
"export": {
"csv": "Экспортировать в формате CSV",
"pdf": "Экспортировать в PDF"
}
},
"submissions": {
"title": "Отправленные упражнения",
@@ -475,7 +475,11 @@
"title": "Điểm",
"student": "Học sinh",
"total": "Tổng cộng",
"no_student": "Không có sinh viên nào được thêm vào"
"no_student": "Không có sinh viên nào được thêm vào",
"export": {
"csv": "Xuất dưới dạng CSV",
"pdf": "Xuất dưới dạng PDF"
}
},
"submissions": {
"title": "Bài tập đã gửi",