@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | $translatables = (new SearchService())->getTranslatableStrings(config('translation.generator.patterns')); |
25 | 25 | |
26 | 26 | $lang = $this->argument('lang'); |
27 | - $fileName = 'resources/lang/'.$lang.'.json'; |
|
27 | + $fileName = 'resources/lang/' . $lang . '.json'; |
|
28 | 28 | $jsonFile = file_get_contents($fileName); |
29 | 29 | $translations = json_decode($jsonFile, true); |
30 | 30 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | } |
36 | 36 | } |
37 | 37 | |
38 | - $content = json_encode($translations, JSON_PRETTY_PRINT + JSON_UNESCAPED_UNICODE + JSON_UNESCAPED_SLASHES); |
|
38 | + $content = json_encode($translations, JSON_PRETTY_PRINT+JSON_UNESCAPED_UNICODE+JSON_UNESCAPED_SLASHES); |
|
39 | 39 | file_put_contents($fileName, $content); |
40 | 40 | |
41 | 41 | $isUpload = $this->option('upload'); |
@@ -90,7 +90,7 @@ |
||
90 | 90 | |
91 | 91 | $this->output->writeln(sprintf('[LOKALISE] Downloading translations from bundle url: %s', $bundleUrl)); |
92 | 92 | |
93 | - $path = storage_path('app').'locale.zip'; |
|
93 | + $path = storage_path('app') . 'locale.zip'; |
|
94 | 94 | $file = fopen($path, 'wb'); |
95 | 95 | $client = new Client(); |
96 | 96 | $client->get($bundleUrl, ['save_to' => $file]); |