]> git.lyx.org Git - lyx.git/blobdiff - po/pocheck.pl
LaTeXConfig.lyx: fix URL of AEA author guide
[lyx.git] / po / pocheck.pl
index 9dd416026af21ff708e7b845e32e50a5e2fa02e1..1cd3a8c94e6e1a5f5790c5c1e734189526515b45 100755 (executable)
@@ -1,4 +1,5 @@
 #! /usr/bin/perl -w
+# -*- mode: perl; -*-
 
 # file pocheck.pl
 #
@@ -57,6 +58,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 +242,8 @@ foreach my $pofilename ( @ARGV ) {
     }
     print "\n";
   }
+  $total_warn += $warn;
 }
+
+exit ($total_warn > 0);
+