mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-59656 core_group: add support for multi-lang to groups editable
Part of MDL-59290.
This commit is contained in:
parent
d509f80c48
commit
3cf76bbc87
@ -75,7 +75,7 @@ class user_groups_editable extends \core\output\inplace_editable {
|
||||
$options = [];
|
||||
|
||||
foreach ($coursegroups as $group) {
|
||||
$options[$group->id] = $group->name;
|
||||
$options[$group->id] = format_string($group->name, true, ['context' => $this->context]);
|
||||
}
|
||||
$this->edithint = get_string('editusersgroupsa', 'group', fullname($user));
|
||||
$this->editlabel = get_string('editusersgroupsa', 'group', fullname($user));
|
||||
|
Loading…
x
Reference in New Issue
Block a user