FILEPICKER MDL-26583 filepicker should use core language string not string from modules

This commit is contained in:
Dongsheng Cai 2011-03-09 15:16:02 +08:00
parent c09604234a
commit a6b53a7cbe
2 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ class page_requirements_manager {
array('saving', 'repository'), array('search', 'repository'), array('searching', 'repository'), array('size', 'repository'),
array('submit', 'repository'), array('sync', 'repository'), array('title', 'repository'), array('upload', 'repository'),
array('uploading', 'repository'), array('xhtmlerror', 'repository'),
array('xhtml', 'quiz'), array('cancel'), array('chooselicense', 'repository'), array('author', 'repository'),
array('cancel'), array('chooselicense', 'repository'), array('author', 'repository'),
array('ok', 'moodle'), array('error', 'moodle'), array('info', 'moodle'), array('norepositoriesavailable', 'repository'), array('norepositoriesexternalavailable', 'repository'),
array('nofilesattached', 'repository'), array('filepicker', 'repository'),
array('nofilesavailable', 'repository')

View File

@ -812,7 +812,7 @@ M.core_filepicker.init = function(Y, options) {
try {
panel.set('innerHTML', str);
} catch(e) {
alert(e.toString()+M.str.quiz.xhtml);
alert(M.str.repository.xhtmlerror);
}
// register buttons
// process login action