Support translations for the UI, fixes #1

This commit is contained in:
Stéphane Goetz
2017-10-19 22:18:46 +02:00
parent ef36a953b4
commit a1a65bb9f0
10 changed files with 113 additions and 38 deletions

View File

@ -37,7 +37,7 @@ class ErrorPage extends SimplePage
'language' => '',
];
$template = new Template($params['templates'], $params['theme']['templates']);
$template = new Template($params);
return $template->render('error', ['page' => $page, 'params' => $params]);
}