@@ -84,10 +84,10 @@ public function handle()
8484
8585 // When the from driver will be entered manually or if the argument is invalid.
8686 else {
87- $ this ->fromDriver = $ this ->anticipate (__ ( ' translation::translation.prompt_from_driver ' ) , $ this ->drivers );
87+ $ this ->fromDriver = $ this ->anticipate (' Which driver would you like to take translations from? ' , $ this ->drivers );
8888
8989 if (! in_array ($ this ->fromDriver , $ this ->drivers )) {
90- return $ this ->error (__ ( ' translation::translation.invalid_driver ' ) );
90+ return $ this ->error (' Invalid driver ' );
9191 }
9292 }
9393
@@ -101,10 +101,10 @@ public function handle()
101101
102102 // When the to driver will be entered manually.
103103 else {
104- $ this ->toDriver = $ this ->anticipate (__ ( ' translation::translation.prompt_to_driver ' ) , $ this ->drivers );
104+ $ this ->toDriver = $ this ->anticipate (' Which driver would you like to add the translations to? ' , $ this ->drivers );
105105
106106 if (! in_array ($ this ->toDriver , $ this ->drivers )) {
107- return $ this ->error (__ ( ' translation::translation.invalid_driver ' ) );
107+ return $ this ->error (' Invalid driver ' );
108108 }
109109 }
110110
@@ -122,18 +122,18 @@ public function handle()
122122 elseif (in_array ($ this ->argument ('language ' ), $ languages )) {
123123 $ language = $ this ->argument ('language ' );
124124 } else {
125- return $ this ->error (__ ( ' translation::translation.invalid_language ' ) );
125+ return $ this ->error (' Invalid language ' );
126126 }
127127 } // When the language will be entered manually or if the argument is invalid.
128128 else {
129- $ language = $ this ->anticipate (__ ( ' translation::translation.prompt_language_if_any ' ) , $ languages );
129+ $ language = $ this ->anticipate (' Which language? (leave blank for all) ' , $ languages );
130130
131131 if ($ language && ! in_array ($ language , $ languages )) {
132- return $ this ->error (__ ( ' translation::translation.invalid_language ' ) );
132+ return $ this ->error (' Invalid language ' );
133133 }
134134 }
135135
136- $ this ->line (__ ( ' translation::translation.syncing ' ) );
136+ $ this ->line (' Syncing translations ' );
137137
138138 // If a specific language is set.
139139 if ($ language ) {
@@ -143,7 +143,7 @@ public function handle()
143143 $ translations = $ this ->mergeLanguages ($ this ->toDriver , $ this ->fromDriver ->allTranslations ());
144144 }
145145
146- $ this ->info (__ ( ' translation::translation. synced ') );
146+ $ this ->info (' Translations have been synced ' );
147147 }
148148
149149 private function createDriver ($ driver )
0 commit comments