diff --git a/files/renderer.php b/files/renderer.php
index <HASH>..<HASH> 100644
--- a/files/renderer.php
+++ b/files/renderer.php
@@ -424,7 +424,7 @@ class core_files_renderer extends plugin_renderer_base {
         $rv = '
 <div class="filemanager fp-dlg">
     <div class="{!}fp-dlg-text"></div>
-    <button class="{!}fp-dlg-butconfirm">'.get_string('delete').'</button>
+    <button class="{!}fp-dlg-butconfirm">'.get_string('ok').'</button>
     <button class="{!}fp-dlg-butcancel">'.get_string('cancel').'</button>
 </div>';
         return preg_replace('/\{\!\}/', '', $rv);
MDL-<I> filemanager : fixed up incorrect string used in dialog button during folder renaming