Merge branch 'MDL-48971-master' of https://github.com/lucaboesch/moodle
authorSara Arjona <sara@moodle.com>
Tue, 22 Jan 2019 11:02:24 +0000 (12:02 +0100)
committerSara Arjona <sara@moodle.com>
Tue, 22 Jan 2019 11:02:24 +0000 (12:02 +0100)
group/overview.php
lang/en/moodle.php

index 78262e5..de91486 100644 (file)
@@ -242,7 +242,7 @@ foreach ($members as $gpgid=>$groupdata) {
             $line[] = $name;
         } else {
             $line[] = html_writer::tag('span', $name, array('class' => 'group_hoverdescription', 'data-groupid' => $gpid));
-            $hoverevents[$gpid] = $jsdescription;
+            $hoverevents[$gpid] = get_string('descriptiona', null, $jsdescription);
         }
         $fullnames = array();
         foreach ($users as $user) {
index 7d3dab1..7a93fd4 100644 (file)
@@ -502,6 +502,7 @@ $string['deletingolddata'] = 'Deleting old data';
 $string['department'] = 'Department';
 $string['desc'] = 'Descending';
 $string['description'] = 'Description';
+$string['descriptiona'] = 'Description: {$a}';
 $string['deselectall'] = 'Deselect all';
 $string['detailedless'] = 'Less detailed';
 $string['detailedmore'] = 'More detailed';