Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lang for student_read field #656

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lang/en/turnitintooltwo.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
$string['numberofparts_help'] = 'Allows for the creation of a multi part assignment, individual users may submit one piece of work to each part.';
$string['overallgrade'] = 'Overall Grade';
$string['overallgrade_help'] = 'The overall grade determines the maximum allowed grade for the overall assignment, each part of an assignment has a maximum mark allocated which is used to proportionally distribute the grades in order to determine the overall grade.';
$string['paperviewed'] = 'Paper viewed';
$string['partdberror'] = 'There was a problem entering Part {$a} into the database<br />';
$string['partupdateerror'] = 'There was a problem updating Part {$a} in the database<br />';
$string['partdeleteerror'] = 'Could not delete assignment part {$a} data';
Expand Down
2 changes: 1 addition & 1 deletion turnitintooltwo_view.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public function init_submission_inbox($cm, $turnitintooltwoassignment, $partdeta
}
}
if (has_capability('mod/turnitintooltwo:grade', context_module::instance($cm->id))) {
$cells["student_read"] = new html_table_cell('&nbsp;');
$cells["student_read"] = new html_table_cell(get_string('paperviewed', 'turnitintooltwo'));
}
$cells["upload"] = new html_table_cell('&nbsp;');
$cells["upload"]->attributes['class'] = "noscript_hide";
Expand Down