Commit aaef4d06 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Strings on create group page

parent 9a3ac6c0
......@@ -35,9 +35,9 @@ $groupoptions = array();
foreach (group_get_grouptypes() as $grouptype) {
require_once('grouptype/' . $grouptype . '.php');
if (call_static_method('GroupType' . $grouptype, 'can_be_created_by_user')) {
$grouptypename = get_string('name', 'group.' . $grouptype);
$grouptypename = get_string('name', 'grouptype.' . $grouptype);
foreach (call_static_method('GroupType' . $grouptype, 'allowed_join_types') as $jointype) {
$groupoptions["$grouptype.$jointype"] = $grouptypename . ': ' . get_string($jointype, 'group');
$groupoptions["$grouptype.$jointype"] = $grouptypename . ': ' . get_string('membershiptype.'.$jointype, 'group');
}
}
}
......
......@@ -57,6 +57,7 @@ $string['reject'] = 'Reject';
$string['groupalreadyexists'] = 'A Group by this name already exists';
$string['Created'] = 'Created';
$string['groupadmins'] = 'Group admins';
$string['grouptype'] = 'Group Type';
// Used to refer to all the members of a group - NOT a "member" group role!
$string['member'] = 'member';
......
......@@ -26,6 +26,7 @@
defined('INTERNAL') || die();
$string['name'] = 'Course';
$string['admin'] = 'Admin';
$string['tutor'] = 'Tutor';
$string['member'] = 'Member';
......
......@@ -26,6 +26,7 @@
defined('INTERNAL') || die();
$string['name'] = 'Standard';
$string['admin'] = 'Admin';
$string['member'] = 'Member';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment