- Remove $day in html-index-news-press-items because
currently press.xml does not have <day>.
It should be fixed first that the press.xml file has
duplicate information such as year/name and story/date
in a not-reusable way.
- www/<lang>/share/sgml/templates.usergroups.xsl:
customization layer for each language.
- www/<lang>/share/sgml/usergroups.xml:
translation of www/share/sgml/usergroups.xml. The translation teams
can simply copy it from the language-independent directory and keep
the translated items only; items which are not in the translated
file are automatically inserted from the original file on the
fly (so old items in the translated file are harmful).
clean up the previous hack. Now we can redefine the following
parameters in the localized includes.xsl:
<xsl:param name="param-l10n-date-format-YMD" select="'%D %M, %Y'" />
<xsl:param name="param-l10n-date-format-YM" select="'%M %Y'" />
<xsl:param name="param-l10n-date-format-MD" select="'%D %M'" />
news items and putting them into the localized web pages.
If the translation is available it will be used, otherwise
the original (English) version of the news item will be used.
- Removing the announcement links for the 5.X and the 4.X releases.
- Point the title link for the 5.X release to the
announcement, as it is already the case for the 4.X release.
- Only show the 5 first items from the project news and the press
sections.
Reviewed by: hrs
- 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.
- Add several templates for index.xsl into includes.misc.xsl.
- The structure of mirrors.xml has been changed; <host> is
a container of <name> and <url> now.
- add doc.common.mk, which defines variables, targets, and
dependencies commonly used in www/ and doc/.
- move www/<lang>/includes.xsl to the language independent
directory and split into several files.
- add transtable*.xsl and transtable.xml to support localized
mirror names.
- make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use
mirrors.xml (mirrors and eresources).
- make www/{en,ja}/index.xsl use mirrors.xml.
For details, please see doc/share/sgml/README.mirrors for the moment.
Reviewed by: simon and Alex Dupre <sysadmin@alexdupre.com>