diff --git a/lang/en/format_iena.php b/lang/en/format_iena.php index 4fee09f22073dc726706916bbbccbfe6a81cd85c..c100569a822ed06eccce976a9442df8afdd85846 100644 --- a/lang/en/format_iena.php +++ b/lang/en/format_iena.php @@ -92,5 +92,6 @@ By definition an unnamed section is displayed as <strong>section [N]</strong>.'; $string["send_message_title"]="Sending a message to {{nb_results}} people"; $string['display_course_infos']="Show/hide course information"; $string['my_progress']="My progress in the course: "; + $string['table_progress']="Tracking"; diff --git a/lang/fr/format_iena.php b/lang/fr/format_iena.php index 5776a446ff952926e35aa4605cc76db03d56ae83..68c8d34b78fce0b47185b9c6ece5b9fa08697a89 100644 --- a/lang/fr/format_iena.php +++ b/lang/fr/format_iena.php @@ -92,5 +92,6 @@ By definition an unnamed section is displayed as <strong>section [N]</strong>.'; $string["send_message_title"]="Envoi d'un message à {{nb_results}} personnes"; $string['display_course_infos']="Afficher/Masquer les informations du cours"; $string['my_progress']="Ma progression dans le cours : "; + $string['table_progress']="Suivi des étudiants"; diff --git a/suivi_unit.php b/suivi_unit.php index 6df5c2783163d114af07ec215885c49069abf001..56c650d66297a9f90643540f67ef5299e19b15d1 100644 --- a/suivi_unit.php +++ b/suivi_unit.php @@ -41,13 +41,13 @@ function init_page($course){ // Getting DB information (*) of the course $PAGE->set_title($course->fullname); - $PAGE->set_heading($course->fullname . " – Suivi des étudiants"); + $PAGE->set_heading($course->fullname . " – " .get_string('table_progress', 'format_iena')); $PAGE->set_pagelayout('incourse'); /* Cache le menu dans le header ? */ - $coursenode = $PAGE->navbar->add('suiviiena', null, navigation_node::TYPE_CONTAINER, null, 'suiviena'); + $coursenode = $PAGE->navbar->add(get_string('table_progress', 'format_iena'), null, navigation_node::TYPE_CONTAINER, null, 'suiviena'); $coursenode->make_active(); $coursenode->force_open(); diff --git a/templates/suivi.mustache b/templates/suivi.mustache index b34d738cf3387aeae24be7684bf6496018ee35d6..7dead55789c39ccc02c5263de30ec449e82a9feb 100644 --- a/templates/suivi.mustache +++ b/templates/suivi.mustache @@ -1,6 +1,6 @@ <div> - <h2 class="mb1" style="display: inline-block;">Suivi des étudiants</h2> + <h2 class="mb1" style="display: inline-block;">{{#str}}table_progress, format_iena{{/str}}</h2>