diff --git a/src/Entity/Index.php b/src/Entity/Index.php index 9e76ece..da1068d 100644 --- a/src/Entity/Index.php +++ b/src/Entity/Index.php @@ -741,7 +741,7 @@ class Index extends ConfigEntityBase implements IndexInterface { if ($additional) { $nested_label = $property->getLabel(); if (isset($referenced_entity_type_label)) { - $nested_label = str_replace('@label', $referenced_entity_type_label, $nested_label); + $nested_label = t($nested_label, array('@label' => $referenced_entity_type_label)); } $label .= ' ยป ' . $nested_label;