Commit c5a3c21b authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Update lang string for wiping group members (Bug #1187963)



When updating group members via CSV, all members
will be replaced by the ones in the CSV file. Each
group should still have an admin. Lang string was
adapted to include that info.

Change-Id: I91274170736d27a0b9a3a3aee6be55cd7848a50a
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 82cef153
......@@ -229,7 +229,7 @@ function uploadcsv_submit(Pieform $form, $values) {
redirect('/admin/groups/uploadmemberscsv.php');
}
$uploadcsvpagedescription = get_string('uploadgroupmemberscsvpagedescription2', 'admin',
$uploadcsvpagedescription = get_string('uploadgroupmemberscsvpagedescription3', 'admin',
get_config('wwwroot') . 'admin/groups/uploadcsv.php',
get_string('uploadgroupcsv', 'admin'));
......
......@@ -611,7 +611,7 @@ $string['uploadgroupmemberscsverrornoadminlisted'] = 'Error on line %s of your f
$string['uploadgroupmemberscsverrornosuchshortname'] = 'Error on line %s of your file: The group shortname "%s" does not exist or is not part of the institution "%s".';
$string['uploadgroupmemberscsverrornosuchusername'] = 'Error on line %s of your file: The username "%s" does not exist.';
$string['uploadgroupmemberscsverrorusernotininstitution'] = 'Error on line %s of your file: The username "%s" is not part of the institution "%s".';
$string['uploadgroupmemberscsvpagedescription2'] = '<p>You may use this facility to update group members in groups controlled by this institution. You can upload new members via a <acronym title="Comma Separated Values">CSV</acronym> file.</p>
$string['uploadgroupmemberscsvpagedescription3'] = '<p>You may use this facility to update group members in groups controlled by this institution. You can upload new members via a <acronym title="Comma Separated Values">CSV</acronym> file.</p>
<p>The first row of your CSV file should specify the format of your CSV data. For example, it should look like this:</p>
......@@ -621,7 +621,9 @@ $string['uploadgroupmemberscsvpagedescription2'] = '<p>You may use this facility
<p>The shortname field must be the same as the shortname you used to create the group <a href="%s" title="%s">here</a>.</p>
<p>The role field can have any of the following, depending on the type of group: <tt>admin</tt>, <tt>member</tt>, or <tt>tutor</tt></p>';
<p>The role field can have any of the following, depending on the type of group: <tt>admin</tt>, <tt>member</tt>, or <tt>tutor</tt>.</p>
<div class="warning"> Every CSV file upload removes all existing group members, including group administrators, completely. Ensure that you have at least one administrator for each group in your CSV file.</div>';
$string['uploadcsvsomeuserscouldnotbeemailed'] = 'Some users could not be emailed. Their email addresses may be invalid, or the server Mahara is running on might not be configured to send email properly. The server error log has more details. For now, you may want to contact these people manually:';
$string['uploadcsvfailedusersexceedmaxallowed'] = 'No users have been added because there are too many users in your file. The number of users in the institution would have exceeded the maximum number allowed.';
$string['updateusers'] = 'Update users';
......
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