Skip to content

Commit

Permalink
Edit Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrouh committed Sep 11, 2023
1 parent b5f843c commit 13ee891
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/Commands/CheckMissingTranslate.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function handle()
$langArray = file_exists($langFile) ? include $langFile : [];
$pathName = str_replace($directory.'/','',str_replace($directory.'\\' , '', $file->getPathname()));
$match = str_replace("'", '', $match);
$checkValidation = file_exists($langFile) ? (!array_key_exists($key, $langArray) ? true : false) : true;
$checkKey = str_replace('\\', '', $key);
$checkValidation = file_exists($langFile) ? (!array_key_exists($checkKey, $langArray) ? true : false) : true;

if ($checkValidation) {
$array[] = [
Expand Down

0 comments on commit 13ee891

Please sign in to comment.