private function translateLabel($transString, $parameters = [])
    {
        $translator = $this->translator;
        if ($transString !== ($label =
                $translator->translate($transString, $this->definition->getName(), $parameters))) {
            return $label;
        }

        if ($transString !== ($label = $translator->translate('MSC.'.$transString, $parameters))
        ) {
            return $label;
        }

        // Fallback, just return the key as is it.
        return $transString;
    }