Browse files

MDL-38731 course: split course group settings header

Allow translators to translate the heading differently.

AMOS BEGIN
  CPY [groups,group],[groupsettingsheader,group]
AMOS END
  • Loading branch information...
1 parent f36066f commit e5326193bf988f764a06c5ba67c552db3d0f9cba @danpoltawski danpoltawski committed Mar 28, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 course/edit_form.php
  2. +1 −0 lang/en/group.php
View
2 course/edit_form.php
@@ -248,7 +248,7 @@ function definition() {
enrol_course_edit_form($mform, $course, $context);
//--------------------------------------------------------------------------------
- $mform->addElement('header','groups', get_string('groups', 'group'));
+ $mform->addElement('header','groups', get_string('groupsettingsheader', 'group'));
$choices = array();
$choices[NOGROUPS] = get_string('groupsnone', 'group');
View
1 lang/en/group.php
@@ -111,6 +111,7 @@
$string['groupnotamember'] = 'Sorry, you are not a member of that group';
$string['groups'] = 'Groups';
$string['groupscount'] = 'Groups ({$a})';
+$string['groupsettingsheader'] = 'Groups';
$string['groupsgroupings'] = 'Groups & groupings';
$string['groupsinselectedgrouping'] = 'Groups in:';
$string['groupsnone'] = 'No groups';

0 comments on commit e532619

Please sign in to comment.