mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
FILEPICKER MDL-26583 filepicker should use core language string not string from modules
This commit is contained in:
parent
c09604234a
commit
a6b53a7cbe
@ -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')
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user