[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r344 - in trunk: checks debian



Author: jeroen
Date: 2004-10-13 00:02:04 +0200 (Wed, 13 Oct 2004)
New Revision: 344

Modified:
   trunk/checks/debconf
   trunk/checks/debconf.desc
   trunk/debian/changelog
Log:
checks/debconf:
+ [JvW] Don't warn when you're not translation choices of a debconf
  question, it might not make sense (Closes: #262649)


Modified: trunk/checks/debconf
===================================================================
--- trunk/checks/debconf	2004-10-12 21:57:19 UTC (rev 343)
+++ trunk/checks/debconf	2004-10-12 22:02:04 UTC (rev 344)
@@ -173,7 +173,7 @@
     if (exists $template->{choices}
 	&& $template->{choices} !~ m/^\s*\$\{\w+\}\s*$/) {
 	foreach my $lang (sort keys %languages) {
-	    if ($languages{$lang}{choices} xor $languages{$lang}{description}) {
+	    if (not $languages{$lang}{choices} and $languages{$lang}{description}) {
 		tag "partially-translated-question", "$template->{template} $lang";
 	    }
 	}
@@ -353,4 +353,4 @@
 
 1;
 
-# vim: syntax=perl
+# vim: syntax=perl ts=8

Modified: trunk/checks/debconf.desc
===================================================================
--- trunk/checks/debconf.desc	2004-10-12 21:57:19 UTC (rev 343)
+++ trunk/checks/debconf.desc	2004-10-12 22:02:04 UTC (rev 344)
@@ -95,8 +95,8 @@
 
 Tag: partially-translated-question
 Type: warning
-Info: If you translate either of the `Choices:' and `Description:' fields in
- a template, you should translate the other one as well.
+Info: If you translate the `Choices:' fields in a template, you should
+ translate the 'Description:' field as well
 
 Tag: config-does-not-load-confmodule
 Type: warning

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-10-12 21:57:19 UTC (rev 343)
+++ trunk/debian/changelog	2004-10-12 22:02:04 UTC (rev 344)
@@ -10,6 +10,9 @@
     + [JvW] Revert the extra pedantic check introduced in 1.23.0 that
       complained about unstrict dependencies when one as a
       /usr/share/doc/<package> that is a symlink (Closes: #249414)
+  * checks/debconf:
+    + [JvW] Don't warn when you're not translation choices of a debconf
+      question, it might not make sense (Closes: #262649)
   * checks/po-debconf:
     + [JvW] Don't give missing-file-from-potfile-in on empty lines
       (Thanks Adam Conrad for noticing)



Reply to: