diff --git a/classes/form/evaluserexport.php b/classes/form/evaluserexport.php index 08ff5cc3c953ecabe5b765c9d70e60ed106fbb0e..44c911e49b540fdf3c71f9164618b587c984bc97 100644 --- a/classes/form/evaluserexport.php +++ b/classes/form/evaluserexport.php @@ -46,7 +46,8 @@ class evaluserexport extends moodleform { $options[$role->id] = $role->localname; } - $mform->addElement('text', 'course_code', get_string('course_code', 'local_hshexport'), 'maxlength="100" size="50" placeholder="BBA-422-01"'); + $placeholder = get_string('course_code_placeholder', 'local_hshexport'); + $mform->addElement('text', 'course_code', get_string('course_code', 'local_hshexport'), 'maxlength="100" size="50" placeholder="'.$placeholder.'"'); $mform->setType('course_code', PARAM_ALPHANUMEXT); $mform->addHelpButton('course_code', 'course_code', 'local_hshexport'); $mform->setDefault('course_code', null); diff --git a/lang/de/local_hshexport.php b/lang/de/local_hshexport.php index 7d7fd2151a8f8a15bccc2c5c37278771e18eebe0..3a63205688476615bbf41fb8cc981e29136823bf 100644 --- a/lang/de/local_hshexport.php +++ b/lang/de/local_hshexport.php @@ -31,6 +31,7 @@ $string['nav_course'] = 'Link in Kursnavigation'; $string['nav_participants'] = 'Link in Auswahlbutton der Teilnehmerliste'; $string['navigation'] = 'Platzierung des Links'; $string['navigation_desc'] = 'Der Ort, an dem der Link für das Formular zum Export von Nutzern zur Evaluation innerhalb eines Kurses hinzugefügt wird.'; +$string['course_code_placeholder'] = 'Bitte hier LV Kennung eingeben'; $string['course_code'] = 'LV-Kennung'; $string['course_code_help'] = 'Eine LV-Kennung muss eindeutig und einmalig sein, z.B. eine Modulkurzbezeichnung. Sie ist die eindeutige Kennung, unter der die Evaluation durchgeführt wird. Beispiele: BBA-422-01 oder 010-103'; $string['select_roles'] = 'Rollen'; diff --git a/lang/en/local_hshexport.php b/lang/en/local_hshexport.php index 0d43f4a5534131c61993cdbccfe0efd0bd132da6..e68e9c5b5652086b71d3a32e195cb56a1887b356 100644 --- a/lang/en/local_hshexport.php +++ b/lang/en/local_hshexport.php @@ -31,6 +31,7 @@ $string['nav_course'] = 'Navigation node in course navigation'; $string['nav_participants'] = 'Navigation node in participants page jump menu'; $string['navigation'] = 'Navigation node placement'; $string['navigation_desc'] = 'The location where the navigation node for evaluation user export form will be added within a course.'; +$string['course_code_placeholder'] = 'Please enter course code here'; $string['course_code'] = 'Course code'; $string['course_code_help'] = 'A course code must be unique and unambiguous, e.g. a module abbreviation. It is the unique identifier under which the evaluation is carried out. Examples BBA-422-01 or 010-103'; $string['select_roles'] = 'Roles';