diff --git a/course_grader/locale/en/LC_MESSAGES/djangojs.mo b/course_grader/locale/en/LC_MESSAGES/djangojs.mo index 9e90199..a5fa442 100644 Binary files a/course_grader/locale/en/LC_MESSAGES/djangojs.mo and b/course_grader/locale/en/LC_MESSAGES/djangojs.mo differ diff --git a/course_grader/locale/en/LC_MESSAGES/djangojs.po b/course_grader/locale/en/LC_MESSAGES/djangojs.po index 4f52984..f1a5fa2 100644 --- a/course_grader/locale/en/LC_MESSAGES/djangojs.po +++ b/course_grader/locale/en/LC_MESSAGES/djangojs.po @@ -19,17 +19,17 @@ msgstr "" ############## Layout ############## -msgid "previous_terms" -msgstr "Previous terms" +msgid "Previous terms" +msgstr "" -msgid "clear_override" -msgstr "Clear override" +msgid "Clear override" +msgstr "" -msgid "logout" -msgstr "Sign out" +msgid "Sign out" +msgstr "" -msgid "grading_period_status" -msgstr "Grading Period Status" +msgid "Grading Period Status" +msgstr "" ############## Class Chooser - Status ############## @@ -45,6 +45,9 @@ msgstr "" msgid "%(submitted_count)s grades submitted" msgstr "" +msgid "submitted_grades_title" +msgstr "View submitted grades for %(display_name)s" + msgid "%(submitted_count)s grade submission in progress" msgstr "" @@ -57,6 +60,9 @@ msgstr "" msgid "%(unsubmitted_count)s grades to submit" msgstr "" +msgid "submit_grades_title" +msgstr "Submit grades for %(display_name)s" + msgid "no_submission_information" msgstr "No submission information" @@ -88,9 +94,6 @@ msgstr "Grading period closes in (remaining_hour) hours!" ############## Header ############################## -msgid "submit_grades_for" -msgstr "Submit grades for" - msgid "submitted_grades_for" msgstr "Grade Receipt for" @@ -196,6 +199,9 @@ msgstr "Saved" msgid "enter_grades" msgstr "Enter grades for" +msgid "enter_valid_grade" +msgstr "Enter a valid grade" + msgid "writing_course_note" msgstr "Note: Writing credit automatically given to all students with a passing grade in this course." @@ -323,12 +329,6 @@ msgstr "Return to the list of classes you can grade." msgid "grade_submitted_by" msgstr "grades submitted by" -msgid "grade_submitted_to_registrar" -msgstr "One grade submitted to the Registrar by %(submitted_by)s on %(submitted_date)s." - -msgid "grades_submitted_to_registrar" -msgstr "%(submitted_count)s grades submitted to the Registrar by %(submitted_by)s on %(submitted_date)s." - msgid "change_submitted_grades" msgstr "Change submitted grades" @@ -421,6 +421,18 @@ msgstr "Select a CSV file to Import" msgid "file_size_exceeded" msgstr "Allowable file size exceeded (2 Mb)." +msgid "csv_grade_types" +msgstr "An imported CSV file can contain final grades or percentages. You will be prompted to convert percentages during the import process." + +msgid "csv_required_cols" +msgstr "The CSV is required to contain at least two columns:" + +msgid "required_col_student" +msgstr "a column for student identifier (SIS User ID or StudentNo) AND" + +msgid "required_col_grade" +msgstr "a column for grades to be submitted (ImportGrade)" + msgid "missing_header_grade" msgstr "Missing column heading: "ImportGrade"" @@ -439,6 +451,9 @@ msgstr "File" msgid "select_different_file" msgstr "Select a different file for import." +msgid "convert_percentages_help_title" +msgstr "Learn about converting percentages on IT Connect" + msgid "no_grades_found_csv" msgstr "No grades found for %(section_name)s in this CSV file." @@ -454,6 +469,18 @@ msgstr "Learn about other options to submit grades on IT Connect" msgid "import_canvas_error" msgstr "There was an error importing grades from Canvas" +msgid "confirm_grade_column" +msgstr "Confirm that the ImportGrade column contains grade values." + +msgid "confirm_student_column" +msgstr "Confirm that the SIS User ID or StudentNo column contains student identifiers." + +msgid "confirm_roster_students" +msgstr "Confirm that the .csv file contains students from this section's roster." + +msgid "import_other_options" +msgstr "See other options for submitting grades." + msgid "import_conversion_required" msgstr "The Office of the Registrar requires submitted grades to follow official formatting." @@ -463,27 +490,9 @@ msgstr "Please select a format to use:" msgid "import_select_different_file" msgstr "To select a different file, click Cancel." -msgid "import_grade_found" -msgstr "One grade found for %(section_name)s in %(source_name)s." - -msgid "import_grades_found" -msgstr "%(grade_count)s total grades found for %(section_name)s in %(source_name)s." - -msgid "import_override_grade_found" -msgstr "You have one final grade override in this Canvas Grade Import. This grade WILL BE included in the imported grades." - -msgid "import_override_grades_found" -msgstr "You have {{ override_grade_count }} final grade overrides in this Canvas Grade Import. These grades WILL BE included in the imported grades." - msgid "import_override_grades_title" msgstr "Learn more about importing grade overrides on IT Connect" -msgid "import_unposted_grade_found" -msgstr "You have one student with unposted grades in this Canvas Grade Import." - -msgid "import_unposted_grades_found" -msgstr "You have {{ unposted_grade_count }} students with unposted grades in this Canvas Grade Import." - msgid "import_unposted_grade_warning" msgstr "Unposted grades ARE NOT represented in the imported final grade." @@ -514,8 +523,8 @@ msgstr "Convert grades using a scale that you have used before:" msgid "previous_scale_label" msgstr "Use one of your previous conversion scales" -msgid "no_classes_to_grade" -msgstr "You do not have any classes to grade for %(quarter)s %(year)s. If you believe this to be incorrect, please contact your department's Time Schedule Coordinator." +msgid "You do not have any classes to grade for %(quarter)s %(year)s. If you believe this to be incorrect, please contact your department's Time Schedule Coordinator." +msgstr "" msgid "import_canvas_btn" msgstr "Canvas Gradebook" diff --git a/course_grader_vue/components/import/canvas.vue b/course_grader_vue/components/import/canvas.vue index 7c5a5c7..5e843a3 100644 --- a/course_grader_vue/components/import/canvas.vue +++ b/course_grader_vue/components/import/canvas.vue @@ -100,8 +100,8 @@ export default { computed: { gradesFoundText() { return interpolate(ngettext( - "import_grade_found", - "import_grades_found", + "One grade found for %(section_name)s in %(source_name)s.", + "%(grade_count)s total grades found for %(section_name)s in %(source_name)s.", this.appState.gradeImport.grade_count), { section_name: this.section.section_name, source_name: this.appState.gradeImport.source_name, @@ -115,8 +115,8 @@ export default { }, overrideGradesFoundText() { return interpolate(ngettext( - "import_override_grade_found", - "import_override_grades_found", + "You have one final grade override in this Canvas Grade Import. This grade WILL BE included in the imported grades.", + "You have %(override_grade_count)s final grade overrides in this Canvas Grade Import. These grades WILL BE included in the imported grades.", this.appState.gradeImport.override_grade_count), { override_grade_count: this.appState.gradeImport.override_grade_count }, true @@ -124,8 +124,8 @@ export default { }, unpostedGradesFoundText() { return interpolate(ngettext( - "import_unposted_grade_found", - "import_unposted_grades_found", + "You have one student with unposted grades in this Canvas Grade Import.", + "You have %(unposted_grade_count)s students with unposted grades in this Canvas Grade Import.", this.appState.gradeImport.unposted_grade_count), { unposted_grade_count: this.appState.gradeImport.unposted_grade_count }, true diff --git a/course_grader_vue/components/import/upload.vue b/course_grader_vue/components/import/upload.vue index 794dab4..a013228 100644 --- a/course_grader_vue/components/import/upload.vue +++ b/course_grader_vue/components/import/upload.vue @@ -5,10 +5,7 @@
- {{ appState.gradeImport.grade_count }} of - {{ expectedGradeCount }} - {{ ngettext("grade", "grades", expectedGradeCount) }} found in the file - {{ file.name }} +
{{ expectedGradeCountText }}
-The CSV is required to contain at least two columns:
+{{ gettext("csv_required_cols") }}
- An imported CSV file can contain letter grades, grade codes, or - percentages. You will be prompted to + {{ gettext("csv_grade_types") }} - during the import process.
@@ -105,12 +100,12 @@
- Or, + >
- Or, + >