Skip to content
Snippets Groups Projects
Unverified Commit 6645452b authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Properly load languageFile

parent ba20e7f4
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_name = $translator->getTag('sp_empty_name'); $sp_empty_name = $translator->getTag('sp_empty_name');
$sp_empty_description = $translator->getTag('sp_empty_description'); $sp_empty_description = $translator->getTag('sp_empty_description');
......
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