Skip to content

Commit

Permalink
v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
potsky committed Oct 3, 2014
1 parent f912a5d commit e461acd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,10 @@ php artisan localization:find -s -r "/.*me$/"

Use the github issue system to open a issue and ask for something.

## Change Log

### v1.2

- support for Laravel 5 (4.3)
- add `ignore_lang_files` parameter in configuration file to ignore lang files (useful for `validation` file for example)

Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ public function fire()

foreach ($lemmas_structured as $family => $array) {

if ( in_array( $family , $this->ignore_lang_files ) ) {
if ( $this->option( 'verbose' ) ) {
$this->line( '' );
$this->info( " ! Skip lang file '$family' !" );
}
continue;
}

$file_lang_path = $dir_lang . DIRECTORY_SEPARATOR . $lang . DIRECTORY_SEPARATOR . $family . '.php';

if ( $this->option( 'verbose' ) ) {
Expand Down

0 comments on commit e461acd

Please sign in to comment.