Commit 3056240b authored by Richard Mansfield's avatar Richard Mansfield Committed by Richard Mansfield
Browse files

Fix group file permission string (bug #756961)



Change-Id: I8f464d4e21f1cf1b345ab32580b5bdd648ada507
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
Reviewed-on: https://reviews.mahara.org/14

Reviewed-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
Tested-by: default avatarRichard Mansfield <richardm@mahara.org>
parent 1a1c0437
......@@ -162,7 +162,7 @@ function pieform_element_filebrowser_get_groupinfo($group) {
'perm' => array(),
);
foreach (current($groupinfo['perms']) as $k => $v) {
$groupinfo['perm'][$k] = get_string($k);
$groupinfo['perm'][$k] = get_string('filepermission.' . $k, 'artefact.file');
}
return $groupinfo;
}
......
......@@ -243,4 +243,8 @@ $string['pleasewaitwhileyourfilesarebeingunzipped'] = 'Please wait while your fi
$string['spacerequired'] = 'Space Required';
$string['Unzip'] = 'Unzip';
$string['unzipprogress'] = '%s files/folders created.';
?>
// Group file permissions
$string['filepermission.view'] = 'View';
$string['filepermission.edit'] = 'Edit';
$string['filepermission.republish'] = 'Publish';
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