Permalink
Browse files

MDL-29523 filemanager: Fix a hardcode string

  • Loading branch information...
1 parent 62b0af5 commit 7020701b75631e59c7374780f0645953620d74f1 @sunner sunner committed with danpoltawski Sep 26, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/form/filemanager.php
View
@@ -274,6 +274,7 @@ function form_filemanager_render($options) {
}
$maxsize = get_string('maxfilesize', 'moodle', display_size(get_max_upload_file_size($CFG->maxbytes, $course_maxbytes, $options->maxbytes)));
+ $loading = get_string('loading', 'repository');
$html .= <<<FMHTML
<div class="filemanager-loading mdl-align" id='filemanager-loading-{$client_id}'>
$icon_progress
@@ -288,7 +289,7 @@ function form_filemanager_render($options) {
</div>
<div class="filemanager-container" id="filemanager-{$client_id}">
<ul id="draftfiles-{$client_id}" class="fm-filelist">
- <li>Loading...</li>
+ <li>{$loading}</li>
</ul>
</div>
</div>

0 comments on commit 7020701

Please sign in to comment.