-
+
{$t('course.navItem.submissions.grading_modal.grade_with_ai')}
diff --git a/apps/dashboard/src/lib/utils/translations/de.json b/apps/dashboard/src/lib/utils/translations/de.json
index 499adedd..bf7c58d7 100644
--- a/apps/dashboard/src/lib/utils/translations/de.json
+++ b/apps/dashboard/src/lib/utils/translations/de.json
@@ -515,6 +515,11 @@
"accept_grade": "Akzeptieren",
"reject_grade": "Ablehnen",
"add_comment_placeholder": "Hinterlasse einen Kommentar",
+ "allocated": "Diese Punktzahl wurde vergeben, weil",
+ "total_try": "der Gesamtversuche:",
+ "options_correct": "Es wurden die richtigen Optionen ausgewählt",
+ "out_of": "aus",
+ "options_wrong": "und die Anzahl der falschen Auswahlen war",
"questions_tried": "Diese Punktzahl wurde aufgrund der Gesamtzahl der Versuche vergeben:",
"delete_prompt": "Löschen",
"delete_error": "Die Übermittlung konnte nicht gelöscht werden",
@@ -1581,4 +1586,4 @@
"message": "Sie haben nicht gerettete Änderungen. Bist du sicher, dass du gehen willst?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/translations/en.json b/apps/dashboard/src/lib/utils/translations/en.json
index 7704bbf5..ed2e130a 100644
--- a/apps/dashboard/src/lib/utils/translations/en.json
+++ b/apps/dashboard/src/lib/utils/translations/en.json
@@ -912,6 +912,11 @@
"submit_grades": "Submit Grades",
"accept_grade": "Accept",
"reject_grade": "Reject",
+ "allocated": "Allocated this score because",
+ "total_try": "of total tries:",
+ "options_correct": "correct options were selected",
+ "out_of": "out of",
+ "options_wrong": "and the number of wrong selections were",
"questions_tried": "Allocated this score because of total tries:",
"delete_prompt": "Delete",
"delete_error": "Failed to delete submission",
diff --git a/apps/dashboard/src/lib/utils/translations/es.json b/apps/dashboard/src/lib/utils/translations/es.json
index 95e36efb..f2881447 100644
--- a/apps/dashboard/src/lib/utils/translations/es.json
+++ b/apps/dashboard/src/lib/utils/translations/es.json
@@ -515,6 +515,11 @@
"accept_grade": "Aceptar",
"reject_grade": "Rechazar",
"add_comment_placeholder": "Deja un comentario",
+ "allocated": "Asignó esta puntuación porque",
+ "total_try": "de intentos totales:",
+ "options_correct": "se seleccionaron las opciones correctas",
+ "out_of": "fuera de",
+ "options_wrong": "y el número de selecciones incorrectas fue",
"questions_tried": "Se asignó esta puntuación debido al total de intentos:",
"delete_prompt": "Borrar",
"delete_error": "No se pudo eliminar el envío",
@@ -1581,4 +1586,4 @@
"message": "Tienes cambios no salvos. ¿Estás seguro de que quieres irte?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/translations/fr.json b/apps/dashboard/src/lib/utils/translations/fr.json
index f177385d..416dacdb 100644
--- a/apps/dashboard/src/lib/utils/translations/fr.json
+++ b/apps/dashboard/src/lib/utils/translations/fr.json
@@ -515,6 +515,11 @@
"accept_grade": "Accepter",
"reject_grade": "Rejeter",
"add_comment_placeholder": "laissez un commentaire",
+ "allocated": "J'ai attribué ce score parce que",
+ "total_try": "du total d'essais :",
+ "options_correct": "les bonnes options ont été sélectionnées",
+ "out_of": "hors de",
+ "options_wrong": "et le nombre de mauvaises sélections était",
"questions_tried": "Attribué ce score en raison du nombre total d'essais :",
"delete_prompt": "Supprimer",
"delete_error": "Échec de la suppression de la soumission",
@@ -1581,4 +1586,4 @@
"message": "Vous avez des changements non sauvés. Êtes-vous sûr de vouloir partir?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/translations/hi.json b/apps/dashboard/src/lib/utils/translations/hi.json
index 8414bb40..75f988e2 100644
--- a/apps/dashboard/src/lib/utils/translations/hi.json
+++ b/apps/dashboard/src/lib/utils/translations/hi.json
@@ -515,6 +515,11 @@
"accept_grade": "स्वीकार करना",
"reject_grade": "अस्वीकार करना",
"add_comment_placeholder": "एक टिप्पणी छोड़ें",
+ "allocated": "यह अंक इसलिए आवंटित किया गया क्योंकि",
+ "total_try": "कुल प्रयासों में से:",
+ "options_correct": "सही विकल्प का चयन किया गया",
+ "out_of": "से बाहर",
+ "options_wrong": "और गलत चयनों की संख्या थी",
"questions_tried": "कुल प्रयासों के कारण यह स्कोर आवंटित किया गया:",
"delete_prompt": "मिटाना",
"delete_error": "सबमिशन हटाने में विफल",
@@ -1581,4 +1586,4 @@
"message": "आपके पास अनसुना परिवर्तन हैं। क्या आपकी वाकई छोड़ने की इच्छा है?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/translations/pt.json b/apps/dashboard/src/lib/utils/translations/pt.json
index 44701894..ab1b72fb 100644
--- a/apps/dashboard/src/lib/utils/translations/pt.json
+++ b/apps/dashboard/src/lib/utils/translations/pt.json
@@ -515,6 +515,11 @@
"accept_grade": "Aceitar",
"reject_grade": "Rejeitar",
"add_comment_placeholder": "Deixe um comentário",
+ "allocated": "Alocou esta pontuação porque",
+ "total_try": "do total de tentativas:",
+ "options_correct": "opções corretas foram selecionadas",
+ "out_of": "fora de",
+ "options_wrong": "e o número de seleções erradas foi",
"questions_tried": "Alocada esta pontuação por causa do total de tentativas:",
"delete_prompt": "Excluir",
"delete_error": "Falha ao excluir o envio",
@@ -1581,4 +1586,4 @@
"message": "Você tem mudanças não salvas. Tem certeza de que deseja sair?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/translations/ru.json b/apps/dashboard/src/lib/utils/translations/ru.json
index 934c253e..aa86b3b6 100644
--- a/apps/dashboard/src/lib/utils/translations/ru.json
+++ b/apps/dashboard/src/lib/utils/translations/ru.json
@@ -515,6 +515,11 @@
"accept_grade": "Принимать",
"reject_grade": "Отклонять",
"add_comment_placeholder": "Оставить комментарий",
+ "allocated": "Присвоен этот балл, потому что",
+ "total_try": "общего числа попыток:",
+ "options_correct": "выбраны правильные варианты",
+ "out_of": "снаружи",
+ "options_wrong": "и количество неправильных выборов было",
"questions_tried": "Присвоен этот балл из-за общего количества попыток:",
"delete_prompt": "Удалить",
"delete_error": "Не удалось удалить отправку",
@@ -1581,4 +1586,4 @@
"message": "У вас есть неспасенные изменения. Вы уверены, что хотите уйти?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/translations/vi.json b/apps/dashboard/src/lib/utils/translations/vi.json
index c9382a69..0ce79fca 100644
--- a/apps/dashboard/src/lib/utils/translations/vi.json
+++ b/apps/dashboard/src/lib/utils/translations/vi.json
@@ -515,6 +515,11 @@
"accept_grade": "Chấp nhận",
"reject_grade": "Từ chối",
"add_comment_placeholder": "Để lại một bình luận",
+ "allocated": "Phân bổ số điểm này bởi vì",
+ "total_try": "trong tổng số lần thử:",
+ "options_correct": "các phương án đúng đã được chọn",
+ "out_of": "ra khỏi",
+ "options_wrong": "và số lựa chọn sai là",
"questions_tried": "Phân bổ số điểm này dựa trên tổng số lần thử:",
"delete_prompt": "Xóa bỏ",
"delete_error": "Không thể xóa bài nộp",
@@ -1581,4 +1586,4 @@
"message": "Bạn có những thay đổi chưa được lưu. Bạn có chắc bạn muốn rời đi?"
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/dashboard/src/lib/utils/types/submission.ts b/apps/dashboard/src/lib/utils/types/submission.ts
index fefa5c62..c6bed5b9 100644
--- a/apps/dashboard/src/lib/utils/types/submission.ts
+++ b/apps/dashboard/src/lib/utils/types/submission.ts
@@ -1,4 +1,4 @@
-import { Profile } from '.';
+import { Option, Profile } from '.';
export interface SubmissionItem {
id: string;
@@ -37,6 +37,7 @@ export interface SubmissionIdData {
order: number;
points: number;
question_type_id: number;
+ options: Option[];
}[];
questionAnswers: {
open_answer: string;