MDL-56345 assignfeedback_editpdf: Use correct strings for tool alt text

This commit is contained in:
Tony Butler
2016-10-13 10:09:17 +01:00
parent 7223cd2518
commit f83d4ceb24
2 changed files with 2 additions and 1 deletions
@@ -75,7 +75,7 @@ class assignfeedback_editpdf_renderer extends plugin_renderer_base {
// Build button alt text.
$alttext = new stdClass();
$alttext->tool = $tool;
$alttext->tool = get_string($tool, 'assignfeedback_editpdf');
if (!empty($accesskey)) {
$alttext->shortcut = '(Alt/Shift-Alt/Ctrl-Option + ' . $accesskey . ')';
} else {
@@ -42,6 +42,7 @@ $string['deletecomment'] = 'Delete comment';
$string['deletefeedback'] = 'Delete feedback PDF';
$string['downloadablefilename'] = 'feedback.pdf';
$string['downloadfeedback'] = 'Download feedback PDF';
$string['drag'] = 'Drag';
$string['errorgenerateimage'] = 'Error generating image with ghostscript, debugging info: {$a}';
$string['editpdf'] = 'Annotate PDF';
$string['editpdf_help'] = 'Annotate students submissions directly in the browser and produce an edited downloadable PDF.';