I don't have any knowledge about packaging and how lintian works, though,
something like this?

-- 
victory
no need to CC me :-)
http://userscripts.org/scripts/show/102724 0.0.1.4
http://userscripts.org/scripts/show/163846 0.0.1
http://userscripts.org/scripts/show/163848 0.0.1
--- po-debconf
+++ po-debconf.new
@@ -146,8 +146,15 @@
     $_ = '';
     open(PO, '<', "$debfiles/po/$file")
         or fail("Can't open debfiles/po/$file file.");
+    my ($msgstrok,$lang-team);
     while (<PO>) {
-        last if m/^msgstr/m;
+        $msgstrok = 1 if m/^msgstr/m;
+        if(/Language\-Team:/){
+            $lang-team = 1;
+            tag 'debconf-template-using-genaral-list', $file
+                if(/<debian\-i18n\@lists\.debian\.org>/);
+        }
+        last if($msgstrok && $lang-team);
     }
     close(PO);
     unless ($_) {
--- po-debconf.desc
+++ po-debconf.desc.new
@@ -77,6 +77,16 @@
  to be discarded. Run <tt>msgfmt</tt> on the file to see the error
  messages.
 
+Tag: debconf-template-using-genaral-list
+Severity: normal
+Certainty: certain
+Info: The debconf-template is using genaral list as 'Language-Team:' field.
+ .
+ The address is used for the language specific contact in addition to the
+ 'Last-Translator:' field.  This means the field needs a list address
+ dedicated to the language of the template file, instead of the genaral
+ list.
+
 Tag: misnamed-po-file
 Severity: normal
 Certainty: possible

Reply via email to