From 937c7e5f0ca20cdd7cfcba20d8714b9efb8c0283 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luca=20B=C3=B6sch?= Date: Sun, 24 May 2020 21:50:33 +0200 Subject: [PATCH] MDL-68819 core_contentbank: "Upload" button is not localized. --- contentbank/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentbank/index.php b/contentbank/index.php index f4f101baa34..3b15b1e9699 100644 --- 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'); } } -- 2.43.0