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