diff --git a/app/Console/Commands/GenerateCrmClient.php b/app/Console/Commands/GenerateCrmClient.php index 8e182d8..73446fc 100644 --- a/app/Console/Commands/GenerateCrmClient.php +++ b/app/Console/Commands/GenerateCrmClient.php @@ -43,7 +43,6 @@ class GenerateCrmClient extends Command { $this->copyEnums(); $this->copyExceptions(); - $this->copyTranslations(); $this->copyRoutesList(); $this->copyApiConfigInfo(); } @@ -119,18 +118,6 @@ class GenerateCrmClient extends Command } } - private function copyTranslations() - { - $this->info('Copy Translations'); - $rootTarget = app_path('../' . self::TARGET . '/..'); - $source = \resource_path('lang/en/validation.php'); - $dest = "$rootTarget/resources/lang/en/validation.php"; - if (File::exists($dest)) { - File::delete($dest); - } - File::copy($source, $dest); - } - /** * Copy Classes to specified folder *