hi,

i would like to have one more warning in our .po checker.
if there wont be objections i'll put it in later.
(can this go in branch Juergen ?)

pavel
Index: pocheck.pl
===================================================================
--- pocheck.pl  (revision 21931)
+++ pocheck.pl  (working copy)
@@ -51,6 +51,13 @@
         $i++;
       }
 
+      # Check if translation exists
+      if ( $msgstr eq "" ) {
+        print ( "Missing translation of:\n" );
+        print( "  '$msgid' \n" );
+        $warn++;
+      }
+      
       if ( $msgid ne "" && $msgstr ne "" ) {
 
         # Check colon at the end of a message

Reply via email to