Fix anonymous shared list was not translated

This commit is contained in:
nathangray 2021-03-18 14:20:20 -06:00
parent c39aafb531
commit 2d1b9b744f

View File

@ -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