MDL-38731 course: split course group settings header
authorDan Poltawski <dan@moodle.com>
Thu, 28 Mar 2013 03:44:32 +0000 (11:44 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 31 May 2013 04:15:37 +0000 (12:15 +0800)
Allow translators to translate the heading differently.

AMOS BEGIN
  CPY [groups,group],[groupsettingsheader,group]
AMOS END

Conflicts:
course/edit_form.php

course/edit_form.php
lang/en/group.php

index 7d22c94..7e9af78 100644 (file)
@@ -201,7 +201,7 @@ class course_edit_form extends moodleform {
         enrol_course_edit_form($mform, $course, $context);
 
 //--------------------------------------------------------------------------------
-        $mform->addElement('header','', get_string('groups', 'group'));
+        $mform->addElement('header', '', get_string('groupsettingsheader', 'group'));
 
         $choices = array();
         $choices[NOGROUPS] = get_string('groupsnone', 'group');
index 1505986..1c12d4f 100644 (file)
@@ -107,6 +107,7 @@ $string['groupnameexists'] = 'The group name \'{$a}\' already exists in this cou
 $string['groupnotamember'] = 'Sorry, you are not a member of that group';
 $string['groups'] = 'Groups';
 $string['groupscount'] = 'Groups ({$a})';
+$string['groupsettingsheader'] = 'Groups';
 $string['groupsgroupings'] = 'Groups &amp; groupings';
 $string['groupsinselectedgrouping'] = 'Groups in:';
 $string['groupsnone'] = 'No groups';