Skip to content

Commit

Permalink
MDL-56345 assignfeedback_editpdf: Use correct strings for tool alt text
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyjbutler committed Oct 10, 2016
1 parent d9520bc commit c156b7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/feedback/editpdf/classes/renderer.php
Expand Up @@ -76,7 +76,7 @@ private function render_toolbar_button($icon, $tool, $accesskey = null, $disable

// 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 {
Expand Down
Expand Up @@ -42,6 +42,7 @@
$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.';
Expand Down

0 comments on commit c156b7b

Please sign in to comment.