File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/Potsky/LaravelLocalizationHelpers/Commands Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -188,3 +188,10 @@ php artisan localization:find -s -r "/.*me$/"
188188
189189Use the github issue system to open a issue and ask for something.
190190
191+ ## Change Log
192+
193+ ### v1.2
194+
195+ - support for Laravel 5 (4.3)
196+ - add ` ignore_lang_files ` parameter in configuration file to ignore lang files (useful for ` validation ` file for example)
197+
Original file line number Diff line number Diff line change @@ -128,6 +128,14 @@ public function fire()
128128
129129 foreach ($ lemmas_structured as $ family => $ array ) {
130130
131+ if ( in_array ( $ family , $ this ->ignore_lang_files ) ) {
132+ if ( $ this ->option ( 'verbose ' ) ) {
133+ $ this ->line ( '' );
134+ $ this ->info ( " ! Skip lang file ' $ family' ! " );
135+ }
136+ continue ;
137+ }
138+
131139 $ file_lang_path = $ dir_lang . DIRECTORY_SEPARATOR . $ lang . DIRECTORY_SEPARATOR . $ family . '.php ' ;
132140
133141 if ( $ this ->option ( 'verbose ' ) ) {
You can’t perform that action at this time.
0 commit comments