Package: qa.debian.org
Severity: minor
Tags: patch

Hi,

When a package has one 'patched' bug, the PTS now displays:
> The Bug Tracking System contains patches fixing 1 bug, you should include .
as seen e.g. here: http://packages.qa.debian.org/s/sword.html

Attached patch restores the word "it", that was accidentally dropped in r1822.


bye,
Thijs
Index: pts.xsl
===================================================================
--- pts.xsl	(revision 1830)
+++ pts.xsl	(working copy)
@@ -849,7 +849,8 @@
           <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$escaped-package}&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done";>patches fixing
 	    <xsl:value-of select="$other/bugs/@patch"/> bug<xsl:if test="$other/bugs/@patch!='1'">s</xsl:if>
           </a>, you should include
-	  <xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>.
+	  <xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>
+	  <xsl:if test="$other/bugs/@patch='1'">it</xsl:if>.
 	</li>
       </xsl:if>
     </xsl:if>

Attachment: pgp8A3LSTVWn4.pgp
Description: PGP signature

Reply via email to