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

This commit is contained in:
Tony Butler 2016-10-10 16:07:50 +01:00
parent d9520bc04e
commit c156b7b76d
2 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,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 {

View File

@ -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.';