2003-11-24 19:26:35 +01:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
<!-- $FreeBSD$ -->
|
|
|
|
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
|
|
|
2012-10-01 13:56:00 +02:00
|
|
|
<!-- must point to master copy, doc/share/xml/transtable-master.xsl -->
|
2003-11-24 19:26:35 +01:00
|
|
|
<xsl:import href="./transtable-master.xsl" />
|
|
|
|
|
|
|
|
<xsl:output type="xml"
|
|
|
|
indent="yes"/>
|
|
|
|
|
|
|
|
<!-- these params should be externally bound. The values
|
|
|
|
here are not used actually -->
|
|
|
|
<xsl:param name="transtable.xml" select="'./transtable.xml'" />
|
Improve transtable.{xml,xsl}, including:
- The structure of transtable.xml is revised. <word> should be
bracketed with <group>.
- A sorting order of the FreeBSD mirror sites rendered using
mirrors.xml has been determined by sort(1).
- A template "transtable-lookup" has been added for localization on
word-by-word basis.
- Replace English month names in news.xml, press.xml, and
advisories.xml with numbers that correspond to the names.
The number->name translation is performed on the fly.
- Since information in mirrors.xml is used in www/ tree, it depends on
doc/ tree now. When WITHOUT_DOC is defined it can be built without
doc/ tree, but some information becomes unavailable. For example,
a list of the mirror sites generated in index.html becomes a dummy
one, and calling "transtable-lookup" with a word returns the word
itself.
Neither www/ nor doc/ build should be broken due to this commit, but
until the necessary changes are applied in the localized directories,
the transtable does not work; it simply generates non-localized contents
even if transtable.xsl is used.
2004-01-12 22:27:01 +01:00
|
|
|
<xsl:param name="transtable-sortkey.xml" select="'./transtable-sortkey.xml'" />
|
|
|
|
|
|
|
|
<xsl:param name="transtable-target-element" select="''" />
|
|
|
|
<xsl:param name="transtable-word-group" select="''" />
|
|
|
|
<xsl:param name="transtable-mode" select="''" />
|
|
|
|
|
2003-11-24 19:26:35 +01:00
|
|
|
</xsl:stylesheet>
|