From cfc2740da78657fc5641cb75beda613c3fd944da Mon Sep 17 00:00:00 2001 From: Tamara Gunkel Date: Wed, 23 Feb 2022 16:22:16 +0100 Subject: [PATCH] add aria label for delete icon --- lang/en/local_chunkupload.php | 1 + templates/filepicker.mustache | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/en/local_chunkupload.php b/lang/en/local_chunkupload.php index ae7453d..b533160 100644 --- a/lang/en/local_chunkupload.php +++ b/lang/en/local_chunkupload.php @@ -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.'; diff --git a/templates/filepicker.mustache b/templates/filepicker.mustache index 0688f98..7f226a0 100644 --- a/templates/filepicker.mustache +++ b/templates/filepicker.mustache @@ -46,6 +46,6 @@ - {{#pix}}i/delete, core,{{/pix}} + {{#pix}}i/delete, core,{{#str}} deletefile, local_chunkupload {{/str}}{{/pix}} \ No newline at end of file