Skip to content
Snippets Groups Projects
Commit 107f3772 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Properly load translationFile

parent 0d971957
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ $template_sp_content = array(); ...@@ -217,7 +217,7 @@ $template_sp_content = array();
// Init template // Init template
$template = new \SimpleSAML\XHTML\Template($config, 'consentAdmin:consentadmin.php', 'consentAdmin:consentadmin'); $template = new \SimpleSAML\XHTML\Template($config, 'consentAdmin:consentadmin.php', 'consentAdmin:consentadmin');
$translator = $template->getTranslator(); $translator = $template->getTranslator();
$translator->includeLanguageFile('attributes.php'); // attribute listings translated by this dictionary $translator->includeLanguageFile('attributes'); // attribute listings translated by this dictionary
$sp_empty_description = $translator->getTag('sp_empty_description'); $sp_empty_description = $translator->getTag('sp_empty_description');
// Process consents for all SP // Process consents for all SP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment