File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -28,24 +28,27 @@ public function handle()
2828
2929 foreach ($ translationFiles as $ file ) {
3030 $ translationData = $ this ->getAlreadyTranslatedKeys ($ file );
31- $ this ->line ("lang " . str_replace ('.json ' , '' , basename ($ file )));
31+ $ this ->line ("Language: " . str_replace ('.json ' , '' , basename ($ file )));
3232 $ added = [];
3333
3434 foreach ($ translationKeys as $ key ) {
3535 if (!isset ($ translationData [$ key ])) {
36- $ this ->warn (" - Added {$ key }" );
36+ $ this ->warn (" - Added: {$ key }" );
3737 $ translationData [$ key ] = '' ;
3838 $ added [] = $ key ;
3939 }
4040 }
4141
4242 if ($ added ) {
4343 $ this ->line ("Updating translation file... " );
44+
4445 $ this ->writeNewTranslationFile ($ file , $ translationData );
45- $ this ->info ("Done! " );
46+
47+ $ this ->info ("Translation file have been updated! " );
4648 } else {
4749 $ this ->warn ("Nothing new found for this language. " );
4850 }
51+
4952 $ this ->line ("" );
5053 }
5154 }
You can’t perform that action at this time.
0 commit comments