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

View file

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