Permalink
Browse files

MDL-29523 filemanager: Fix a hardcode string

  • Loading branch information...
1 parent c4a12af commit 1ab8cd2e1cecb0c605dd0a2976ecf1eb51649d7b @sunner sunner committed with danpoltawski Sep 26, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/form/filemanager.php
View
@@ -378,6 +378,7 @@ function form_filemanager_render($options) {
$maxsize = get_string('maxfilesize', 'moodle', display_size(get_max_upload_file_size($CFG->maxbytes, $course_maxbytes, $options->maxbytes)));
$strdndenabled = get_string('dndenabled_insentence', 'moodle').$OUTPUT->help_icon('dndenabled');
+ $loading = get_string('loading', 'repository');
$html .= <<<FMHTML
<div class="filemanager-loading mdl-align" id='filemanager-loading-{$client_id}'>
$icon_progress
@@ -393,7 +394,7 @@ function form_filemanager_render($options) {
</div>
<div class="filemanager-container" id="filemanager-{$client_id}" style="position: relative" >
<ul id="draftfiles-{$client_id}" class="fm-filelist">
- <li>Loading...</li>
+ <li>{$loading}</li>
</ul>
</div>
</div>

0 comments on commit 1ab8cd2

Please sign in to comment.