diff --git a/src/Commands/Publish.php b/src/Commands/Publish.php index 08867f1..df2680c 100644 --- a/src/Commands/Publish.php +++ b/src/Commands/Publish.php @@ -73,7 +73,7 @@ public function handle() continue; } - $filename = str_replace('_', '-', $locale); + $filename = str_replace('_', '-', $filename); $file = $sourcePath.'/'.trim($filename); $jsonFile = $sourceJsonPath.'/'.trim($filename).'.json';