diff --git a/modules/admin/lib/Controller/Test.php b/modules/admin/lib/Controller/Test.php index 383debf0a8a696d65b274f7c5bddb5eabbfeedcc..c88646f5b7cfa716ae4bb30c1a4d8640db8c516a 100644 --- a/modules/admin/lib/Controller/Test.php +++ b/modules/admin/lib/Controller/Test.php @@ -174,7 +174,6 @@ class Test */ private function getNameIDHTML(Template $t, NameID $nameId): string { - $translator = $t->getTranslator(); $result = ''; $list = [ "NameId" => [$nameId->getValue()], @@ -212,8 +211,7 @@ class Test . ' summary="attribute overview">'; foreach ($attributes as $name => $value) { $nameraw = $name; - $trans = $t->getTranslator(); - $name = $trans->getAttributeTranslation($parentStr . $nameraw); + $name = Translate::noop($parentStr . $nameraw); if (preg_match('/^child_/', $nameraw)) { $parentName = preg_replace('/^child_/', '', $nameraw); foreach ($value as $child) {