From 0a58f54e794bd3ab3193daeec972caa42c89b4a8 Mon Sep 17 00:00:00 2001 From: johnkrovitch Date: Tue, 7 Jul 2020 20:03:59 +0200 Subject: [PATCH] Remove a bug when getting the translation for column names --- src/Utils/TranslationUtils.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Utils/TranslationUtils.php b/src/Utils/TranslationUtils.php index 9f06f55b1..59d4e6b61 100644 --- a/src/Utils/TranslationUtils.php +++ b/src/Utils/TranslationUtils.php @@ -2,8 +2,6 @@ namespace LAG\AdminBundle\Utils; -use LAG\Component\StringUtils\StringUtils; - class TranslationUtils { /** @@ -14,7 +12,6 @@ public static function getTranslationKey( string $adminName, string $key ): string { - $key = StringUtils::underscore($key); $translationPattern = str_replace('{key}', $key, $translationPattern); $translationPattern = str_replace('{admin}', $adminName, $translationPattern);