Skip to content

Commit

Permalink
add aria label for delete icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamara Gunkel committed Feb 23, 2022
1 parent 3205a64 commit cfc2740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en/local_chunkupload.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
$string['setting:state2duration'] = 'Duration until completed file upload is deleted';
$string['cleanup_task'] = 'Task to clean up old tokens and files';

$string['deletefile'] = 'Delete file from moodle';
$string['uploaded'] = 'File uploaded';
$string['uploadnotfinished'] = 'Upload did not finish!';
$string['tokenexpired'] = 'The upload token has expired. Try refreshing the page to recieve a new one.';
Expand Down
2 changes: 1 addition & 1 deletion templates/filepicker.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
<span class="chunkupload-progress"></span>
</span>
</label>
<span class="chunkupload-delete" {{^showdelete}}hidden{{/showdelete}}>{{#pix}}i/delete, core,{{/pix}}</span>
<span class="chunkupload-delete" {{^showdelete}}hidden{{/showdelete}}>{{#pix}}i/delete, core,{{#str}} deletefile, local_chunkupload {{/str}}{{/pix}}</span>
</div>
</div>

0 comments on commit cfc2740

Please sign in to comment.