New translations.

fr/security/mkindex.xsl: MFen 1.2
  fr/gnome/rss.xsl: MFen 1.2
This commit is contained in:
Stephane Legrand 2003-12-15 15:41:15 +00:00
parent 999469a00c
commit 00a0ab3c1e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=19193
2 changed files with 105 additions and 0 deletions

52
fr/gnome/rss.xsl Normal file
View file

@ -0,0 +1,52 @@
<!-- $FreeBSD$ -->
<!--
The FreeBSD French Documentation Project
Original revision: 1.2
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdf1="http://my.netscape.com/rdf/simple/0.9/"
version="1.0">
<xsl:import href="../includes.xsl"/>
<xsl:import href="includes.xsl"/>
<xsl:variable name="base" select="'..'"/>
<xsl:variable name="date" select="'$FreeBSD$'"/>
<xsl:variable name="title" select="'Syst&#232;me de nouvelles du Projet GNOME pour FreeBSD'"/>
<xsl:output type="xml" />
<xsl:template match="/">
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
<title>Nouvelles du Projet GNOME pour FreeBSD</title>
<link>http://www.FreeBSD.org/gnome</link>
<description>Syst&#232;me de nouvelles pour GNOME sous FreeBSD</description>
</channel>
<xsl:for-each select="descendant::event[position() &lt;= 10]">
<item>
<title>
<xsl:choose>
<xsl:when test="count(child::title)">
<xsl:value-of select="title"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="p"/>
</xsl:otherwise>
</xsl:choose>
</title>
<link>http://www.FreeBSD.org/gnome/newsflash#<xsl:call-template name="generate-event-anchor"/></link>
</item>
</xsl:for-each>
</rdf:RDF>
</xsl:template>
</xsl:stylesheet>

53
fr/security/mkindex.xsl Normal file
View file

@ -0,0 +1,53 @@
<?xml version="1.0"?>
<!-- $FreeBSD$ -->
<!--
The FreeBSD French Documentation Project
Original revision: 1.2
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../includes.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="date" select="'$FreeBSD$'"/>
<xsl:variable name="title" select="'untitled'"/>
<xsl:variable name="ftpbase" select="'ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/'" />
<xsl:variable name="ftpbaseold" select="'ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/old/'" />
<xsl:variable name="ulopen" select="'&lt;ul&gt;'" />
<xsl:variable name="ulclose" select="'&lt;/ul&gt;'" />
<xsl:output type="xml" encoding="iso-8859-1"
omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:value-of select="$ulopen" disable-output-escaping="yes" />
<xsl:for-each select="descendant::advisory|descendant::release">
<xsl:choose>
<xsl:when test="self::release">
<xsl:value-of select="$ulclose" disable-output-escaping="yes" />
<p>Sortie de <xsl:value-of select="name"/>.</p>
<xsl:value-of select="$ulopen" disable-output-escaping="yes" />
</xsl:when>
<xsl:when test="self::advisory">
<li>
<xsl:choose>
<xsl:when test="./name/@role='old'">
<a><xsl:attribute name="href"><xsl:value-of select="concat($ftpbaseold, name, '.asc')" /></xsl:attribute><xsl:value-of select="concat(name, '.asc')" /></a>
</xsl:when>
<xsl:otherwise>
<a><xsl:attribute name="href"><xsl:value-of select="concat($ftpbase, name, '.asc')" /></xsl:attribute><xsl:value-of select="concat(name, '.asc')" /></a> </xsl:otherwise>
</xsl:choose>
</li>
</xsl:when>
</xsl:choose>
</xsl:for-each>
<xsl:value-of select="$ulclose" disable-output-escaping="yes" />
</xsl:template>
</xsl:stylesheet>