Merge pull request #13923 from owncloud/l10n-ignore-jsmin
Ignore minified js in translation process
This commit is contained in:
commit
4872d6c08a
|
@ -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$/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue