From 612c8cc4cd9e4be4dd5ff98b652b7603bbb46eb5 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Tue, 4 Jun 2019 09:49:03 +1200 Subject: [PATCH] Make it clear the import requires a courseshortname --- classes/import/sessions.php | 2 +- lang/en/attendance.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/import/sessions.php b/classes/import/sessions.php index 9c8fc29..7233c2c 100644 --- a/classes/import/sessions.php +++ b/classes/import/sessions.php @@ -92,7 +92,7 @@ class sessions { */ public static function list_required_headers() { return array( - get_string('course', 'attendance'), + get_string('courseshortname', 'attendance'), get_string('groups', 'attendance'), get_string('sessiondate', 'attendance'), get_string('from', 'attendance'), diff --git a/lang/en/attendance.php b/lang/en/attendance.php index 65c2b21..cc5b885 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -106,6 +106,7 @@ $string['confirmdeleteuser'] = 'Are you sure you want to delete user \'{$a->full $string['copyfrom'] = 'Copy attendance data from'; $string['countofselected'] = 'Count of selected'; $string['course'] = 'Course'; +$string['courseshortname'] = 'Course shortname'; $string['coursesummary'] = 'Course summary report'; $string['createmultiplesessions'] = 'Create multiple sessions'; $string['createmultiplesessions_help'] = 'This function allows you to create multiple sessions in one simple step.