From d1618f1cf169577d527ea99758771022cb4595c2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 29 Jan 2018 09:45:05 +0100 Subject: [PATCH] Read translations from .vue files too Signed-off-by: Joas Schilling --- l10n/l10n.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/l10n/l10n.pl b/l10n/l10n.pl index c8312982fdc11..d4e622e2b8669 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -39,12 +39,13 @@ sub crawlFiles{ foreach my $i ( @files ){ next if substr( $i, 0, 1 ) eq '.'; next if $i eq 'l10n'; + next if $i eq 'node_modules'; if( -d $dir.'/'.$i ){ push( @found, crawlFiles( $dir.'/'.$i )); } else{ - push(@found,$dir.'/'.$i) if $i =~ /.*(?