Commit 6f83497f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Change the name of feedback attachment folder


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 7c5707f2
......@@ -34,6 +34,9 @@ $string['comments'] = 'comments';
$string['attachfile'] = "Attach file";
$string['Attachments'] = "Attachments";
$string['feedback'] = 'Feedback';
$string['feedbackattachdirname'] = 'commentattachments';
$string['feedbackattachdirdesc'] = 'Files attached to comments on your portfolio';
$string['feedbackchangedtoprivate'] = 'Feedback changed to private';
$string['feedbackonviewbyuser'] = 'Feedback on %s by %s';
$string['feedbacksubmitted'] = 'Feedback submitted';
......
......@@ -415,8 +415,8 @@ function add_feedback_form_submit(Pieform $form, $values) {
$ownerlang = empty($data->owner) ? get_config('lang') : get_user_language($data->owner);
$folderid = ArtefactTypeFolder::get_folder_id(
get_string_from_language($ownerlang, 'feedbackattachdirname', 'view'),
get_string_from_language($ownerlang, 'feedbackattachdirdesc', 'view'),
get_string_from_language($ownerlang, 'feedbackattachdirname', 'artefact.comment'),
get_string_from_language($ownerlang, 'feedbackattachdirdesc', 'artefact.comment'),
null, true, $data->owner, $data->group, $data->institution
);
......
......@@ -109,8 +109,6 @@ $string['attachedfileaddedtofolder'] = "The attached file %s has been added to y
$string['complaint'] = 'Complaint';
$string['date'] = 'Date';
$string['feedback'] = 'Feedback';
$string['feedbackattachdirname'] = 'assessmentfiles';
$string['feedbackattachdirdesc'] = 'Files attached to View assessments';
$string['feedbackattachmessage'] = 'The attached file has been added to your %s folder';
$string['feedbackonthisartefactwillbeprivate'] = 'Feedback on this artefact will only be visible to the owner.';
$string['nopublicfeedback'] = 'No public feedback';
......
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