From 5035852a4d4f78c7cfaced076a625c8b9f062c5c Mon Sep 17 00:00:00 2001 From: Myriam Delaruelle <Myriam Delaruelle@bdn-un-mdelarue.ad.univ-lorraine.fr> Date: Wed, 6 Oct 2021 11:08:50 +0200 Subject: [PATCH] strings --- lang/en/format_iena.php | 1 + lang/fr/format_iena.php | 1 + suivi_unit.php | 4 ++-- templates/suivi.mustache | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lang/en/format_iena.php b/lang/en/format_iena.php index 4fee09f..c100569 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 5776a44..68c8d34 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 6df5c27..56c650d 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 b34d738..7dead55 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> -- GitLab