Merge pull request #13923 from owncloud/l10n-ignore-jsmin

Ignore minified js in translation process
This commit is contained in:
Thomas Müller 2015-02-09 21:07:13 +01:00
commit 4872d6c08a
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ sub crawlFiles{
push( @found, crawlFiles( $dir.'/'.$i ));
}
else{
push(@found,$dir.'/'.$i) if $i =~ /\.js$/ || $i =~ /\.php$/;
push(@found,$dir.'/'.$i) if $i =~ /.*(?<!\.min)\.js$/ || $i =~ /\.php$/;
}
}