File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 77use Bambamboole \LaravelLokalise \Models \TranslationFile ;
88use Bambamboole \LaravelTranslationDumper \TranslationType ;
99use Illuminate \Support \Collection ;
10- use Illuminate \Support \Facades \Cache ;
1110use Illuminate \Support \Str ;
1211
1312class LokaliseService
@@ -22,9 +21,9 @@ public function downloadTranslations(DownloadTranslationFilesCommand $command):
2221 {
2322 $ command ->getComponents ()->info ('Download translation... ' );
2423
25- $ translations = Cache:: remember ( ' foo ' , 300 , fn () => $ this ->client
24+ $ translations = $ this ->client
2625 ->withProgressbar ($ command ->getOutput ()->createProgressBar ())
27- ->getTranslations ()) ;
26+ ->getTranslations ();
2827 $ command ->getComponents ()->info (sprintf ('%s translations downloaded ' , $ translations ->count ()));
2928
3029 $ this ->repository ->saveTranslations ($ translations );
You can’t perform that action at this time.
0 commit comments