Skip to content

Commit

Permalink
Remove a bug when getting the translation for column names
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkrovitch committed Jul 7, 2020
1 parent ce6b7c9 commit 0a58f54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Utils/TranslationUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace LAG\AdminBundle\Utils;

use LAG\Component\StringUtils\StringUtils;

class TranslationUtils
{
/**
Expand All @@ -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);

Expand Down

0 comments on commit 0a58f54

Please sign in to comment.