| 45 |
<xsl:template name="mk_lintian_url"> |
<xsl:template name="mk_lintian_url"> |
| 46 |
<!-- convert maintainer/name to follow lintian.debian.org convention --> |
<!-- convert maintainer/name to follow lintian.debian.org convention --> |
| 47 |
<xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()" ', "'")"/> |
<xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()" ', "'")"/> |
| 48 |
<xsl:variable name="lintian_email" select="translate(//maintainer/email, $lintian_pattern, '_____________________')"/> |
<xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/> |
| 49 |
|
|
| 50 |
<xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text> |
<xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text> |
| 51 |
<xsl:value-of select="$lintian_email" /> |
<xsl:value-of select="$lintian_email" /> |
| 914 |
<li> |
<li> |
| 915 |
<xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable> |
<xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable> |
| 916 |
<a href="http://lintian.debian.org">Lintian</a><xsl:text> </xsl:text> |
<a href="http://lintian.debian.org">Lintian</a><xsl:text> </xsl:text> |
| 917 |
<a href="{$lintian_url}">reported</a> <xsl:text> </xsl:text> |
<xsl:text>reported </xsl:text> |
| 918 |
<xsl:if test="$errors > 0"><xsl:value-of select="$errors" /> error<xsl:if test="$errors>1">s</xsl:if></xsl:if> |
<a href="{$lintian_url}"> |
| 919 |
<xsl:if test="$errors > 0 and $warnings > 0"> and </xsl:if> |
<xsl:if test="$errors > 0"><xsl:value-of select="$errors" /> error<xsl:if test="$errors>1">s</xsl:if></xsl:if> |
| 920 |
<xsl:if test="$warnings >0"><xsl:value-of select="$warnings" /> warning<xsl:if test="$warnings>1">s</xsl:if></xsl:if> about |
<xsl:if test="$errors > 0 and $warnings > 0"> and </xsl:if> |
| 921 |
this package. You should make the package <em>lintian clean</em> getting rid of |
<xsl:if test="$warnings >0"><xsl:value-of select="$warnings" /> warning<xsl:if test="$warnings>1">s</xsl:if></xsl:if> |
| 922 |
<xsl:if test="$errors + $warnings = 1">it</xsl:if> |
</a> |
| 923 |
|
about this package. You should make the package <em>lintian clean</em> |
| 924 |
|
getting rid of <xsl:if test="$errors + $warnings = 1">it</xsl:if> |
| 925 |
<xsl:if test="$errors + $warnings > 1">them</xsl:if>. |
<xsl:if test="$errors + $warnings > 1">them</xsl:if>. |
| 926 |
</li> |
</li> |
| 927 |
</xsl:if> |
</xsl:if> |