Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71965a8
)
MDL-68819 core_contentbank: "Upload" button is not localized.
author
Luca Bösch
<luca.boesch@bfh.ch>
Sun, 24 May 2020 19:50:33 +0000
(21:50 +0200)
committer
Luca Bösch
<luca.boesch@bfh.ch>
Sun, 24 May 2020 19:52:43 +0000
(21:52 +0200)
contentbank/index.php
patch
|
blob
|
blame
|
history
diff --git
a/contentbank/index.php
b/contentbank/index.php
index
f4f101b
..
3b15b1e
100644
(file)
--- a/
contentbank/index.php
+++ b/
contentbank/index.php
@@
-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');
}
}