mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-68819 core_contentbank: "Upload" button is not localized.
This commit is contained in:
parent
71965a8572
commit
937c7e5f0c
@ -67,7 +67,7 @@ if (has_capability('moodle/contentbank:upload', $context)) {
|
||||
$accepted = $cb->get_supported_extensions_as_string($context);
|
||||
if (!empty($accepted)) {
|
||||
$importurl = new moodle_url('/contentbank/upload.php', ['contextid' => $contextid]);
|
||||
$toolbar[] = array('name' => 'Upload', 'link' => $importurl, 'icon' => 'i/upload');
|
||||
$toolbar[] = array('name' => get_string('upload', 'contentbank'), 'link' => $importurl, 'icon' => 'i/upload');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user