diff --git a/src/Console/Commands/FetchCommand.php b/src/Console/Commands/FetchCommand.php index 9b36bdf..8556f81 100644 --- a/src/Console/Commands/FetchCommand.php +++ b/src/Console/Commands/FetchCommand.php @@ -64,7 +64,7 @@ protected function flattenArray($keys, $prefix = '') { } protected function cleanLocaleDir($item) { - return str_replace($this->lang_path.'/', '', $item); + return basename($item); } protected function cleanGroupDir($item, $locale) {