From 2d1b9b744f368ba2d723722dc3f1421390d201ba Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 18 Mar 2021 14:20:20 -0600 Subject: [PATCH] Fix anonymous shared list was not translated --- filemanager/src/Sharing/AnonymousList.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filemanager/src/Sharing/AnonymousList.php b/filemanager/src/Sharing/AnonymousList.php index 21426af858..27f9d9020a 100644 --- a/filemanager/src/Sharing/AnonymousList.php +++ b/filemanager/src/Sharing/AnonymousList.php @@ -50,6 +50,8 @@ class AnonymousList extends filemanager_ui */ function listview(array $content = null, $msg = null) { + Api\Translation::add_app("filemanager"); + $this->etemplate = $this->etemplate ? $this->etemplate : new Api\Etemplate(static::LIST_TEMPLATE); // Override and take over get_rows so we can customize