X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpocheck.pl;h=68dd83f23c4978d80f43d402d8d96b7c43f6fff0;hb=9633b1b9c5f9d272766f382e8e9365b8d6bea546;hp=9dd416026af21ff708e7b845e32e50a5e2fa02e1;hpb=8881a443fb8f2717643021f883ee3d42931d024f;p=lyx.git diff --git a/po/pocheck.pl b/po/pocheck.pl index 9dd416026a..68dd83f23c 100755 --- a/po/pocheck.pl +++ b/po/pocheck.pl @@ -57,6 +57,8 @@ my $check_trans = (!%options or defined($options{t})); my %trans; +my $total_warn = 0; + foreach my $pofilename ( @ARGV ) { my %bad; if (!$silent_mode) { @@ -239,4 +241,8 @@ foreach my $pofilename ( @ARGV ) { } print "\n"; } + $total_warn += $warn; } + +exit ($total_warn > 0); +