doc/ja_JP.eucJP/share/xml/libcommon.xsl
Ryusuke SUZUKI 1a8e76550b - Merge the following from the English version:
r45999 -> r48667	head/ja_JP.eucJP/share/xml/libcommon.xsl
2016-04-21 09:36:38 +00:00

261 lines
9.6 KiB
XML

<?xml version="1.0" encoding="euc-jp"?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd">
<!-- $FreeBSD$ -->
<!-- The FreeBSD Japanese Documentation Project -->
<!-- Original revision: r48667 -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="http://www.FreeBSD.org/XML/share/xml/libcommon.xsl"/>
<!-- default format for date string -->
<xsl:param name="param-l10n-date-format-YMD"
select="'%Y ǯ %M %D Æü'" />
<xsl:param name="param-l10n-date-format-YM"
select="'%Y ǯ %M'" />
<xsl:param name="param-l10n-date-format-MD"
select="'%M %D Æü'" />
<!-- template: "html-usergroups-list-regions"
list all regions in a usergroup database -->
<xsl:key name="html-usergroups-regions-key" match="entry" use="../../@name" />
<xsl:key name="html-usergroups-id-key" match="entry" use="@id" />
<xsl:template name="html-usergroups-map">
<xsl:param name="mapurl" select="'none'" />
<img>
<xsl:attribute name="src">
<xsl:value-of select="$mapurl" />
</xsl:attribute>
</img>
</xsl:template>
<xsl:template name="html-usergroups-list-regions">
<xsl:param name="usergroups.xml" select="'usergroups.xml'" />
<ul>
<xsl:for-each select="document($usergroups.xml)//continent">
<xsl:sort select="format-number(count(country/entry), '000')"
order="descending"/>
<xsl:variable name="id" select="
translate(@name,
' ,ABCDEFGHIJKLMNOPQRSTUVWXYZ',
'--abcdefghijklmnopqrstuvwxyz')" />
<li>
<p><xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="concat('#', $id)" />
</xsl:attribute>
<xsl:call-template name="transtable-lookup">
<xsl:with-param name="word-group" select="'continents'" />
<xsl:with-param name="word" select="@name" />
</xsl:call-template>
</xsl:element>
( <xsl:value-of select="count(country/entry)" /> ¥æ¡¼¥¶¥°¥ë¡¼¥×)</p>
</li>
</xsl:for-each>
</ul>
</xsl:template>
<!-- template: "html-usergroups-list-header"
print header part of usergroup listing (l10n) -->
<xsl:template name="html-usergroups-list-header">
<p>FreeBSD ¤Ï¹­¤¯»È¤ï¤ì¤Æ¤ª¤ê¡¢À¤³¦Ãæ¤Ë¤¿¤¯¤µ¤ó¤Î¥æ¡¼¥¶¥°¥ë¡¼¥×¤¬¤¢¤ê¤Þ¤¹¡£</p>
<p>¤³¤Î¥ê¥¹¥È¤ËºÜ¤Ã¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¥°¥ë¡¼¥×¤ò¤´Â¸ÃΤǤ·¤¿¤é¡¢
¤¼¤Ò¡¢<a href="https://www.FreeBSD.org/support/bugreports.html">¾ã³²Êó¹ð</a>
¤Î Documentation->Website ¥«¥Æ¥´¥ê¤ò»È¤Ã¤Æ°Ê²¼¤Î¾ðÊó¤ò¤ªÃΤ餻¤¯¤À¤µ¤¤¡£</p>
<ol>
<li>¥æ¡¼¥¶¥°¥ë¡¼¥×¤Î¥¦¥§¥Ö¥µ¥¤¥È¤Î URL</li>
<li>ˬÌä¼Ô¤È¥¦¥§¥Ö¥µ¥¤¥È¤Î´ÉÍý¤Î¤¿¤á¤Ë¡¢Ã´Åö¼Ô¤ÎÏ¢ÍíÀè¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹</li>
<li>¥æ¡¼¥¶¥°¥ë¡¼¥×¤Î´Êñ¤Ê (°ìÃÊÍî¤Î) ¾Ò²ðʸ</li>
</ol>
<p>Êó¹ð¤Ï HTML ·Á¼°¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡£
FreeBSD ¤Î¥Ý¥ê¥·¡¼¤«¤é¡¢
³èȯ¤Ê¥æ¡¼¥¶¥°¥ë¡¼¥×¤Î³èÆ°¤Î¸ø³«¤Ï¹¥¤Þ¤·¤¤¤³¤È¤Ç¤¹¡£
¶á¤¯¤Ë¥æ¡¼¥¶¥°¥ë¡¼¥×¤¬¤Ê¤±¤ì¤Ð¡¢<a
href="http://bsd.meetup.com/">http://bsd.meetup.com/</a>
¤ò»È¤Ã¤Æ¶á½ê¤Ë¤¤¤ë¶½Ì£¤ò»ý¤Ã¤Æ¤¤¤ë¸Ä¿Í¤ò¸«¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£
¤½¤·¤Æ¡¢¤¢¤Ê¤¿¼«¿È¤Î¥æ¡¼¥¶¥°¥ë¡¼¥×¤òºî¤Ã¤Æ¤¯¤À¤µ¤¤!</p>
<h3>ÃÏ°è</h3>
</xsl:template>
<!-- template: "html-news-list-newsflash-preface" -->
<xsl:template name="html-news-list-newsflash-preface">
<img src="&enbase;/gifs/news.jpg" align="right" border="0" width="193"
height="144" alt="FreeBSD News"/>
<p>FreeBSD ¤ÏµÞ®¤ËȯŸ¤ò³¤±¤ë¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ê¤Î¤Ç¡¢
ºÇ¿·¤Î¿ÊÊâ¤Ë¤Ä¤¤¤Æ¹Ô¤¯¤Î¤¬ÌÌÅݤˤʤë»þ¤¬¤¢¤ê¤Þ¤¹¤è¤Í¡£
¾ðÊóÄ̤ˤʤ뤿¤á¤Ë¡¢¤³¤Î¥Ú¡¼¥¸¤òÄê´üŪ¤Ë¥Á¥§¥Ã¥¯¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤ç¤¦¡£
¥Ë¥å¡¼¥¹¤Ï¡¢
<a href="https://lists.freebsd.org/mailman/listinfo/freebsd-announce">freebsd-announce
¥á¡¼¥ê¥ó¥°¥ê¥¹¥È</a> ¤ª¤è¤Ó
<a href="&base;/news/rss.xml">RSS ¥Õ¥£¡¼¥É</a>
¤Ç¤â¥¢¥Ê¥¦¥ó¥¹¤µ¤ì¤Þ¤¹¡£</p>
<p>¤½¤ì¤¾¤ì¤Î¥×¥í¥¸¥§¥¯¥È¤ÎºÇ¿·¾ðÊó¤Ï¡¢¼¡¤Î³Æ¥¦¥§¥Ö¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£</p>
<ul>
<li><a href="http://freebsd.kde.org/">KDE on FreeBSD</a></li>
<li><a href="&enbase;/gnome/newsflash.html">GNOME on FreeBSD</a></li>
</ul>
<p>²áµî¡¢¸½ºß¡¢¤½¤·¤Æ¾­Íè¤Î¥ê¥ê¡¼¥¹¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
<a href="&base;/releases/index.html">¥ê¥ê¡¼¥¹¾ðÊó</a>
¤Î¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£</p>
<p>FreeBSD ¥»¥­¥å¥ê¥Æ¥£¾ðÊó¤ä¥»¥­¥å¥ê¥Æ¥£´«¹ð¤Î°ìÍ÷¤Ï¡¢
<a href="&base;/security/">¥»¥­¥å¥ê¥Æ¥£¾ðÊó</a>
¥Ú¡¼¥¸¤Ë¤¢¤ê¤Þ¤¹¡£</p>
</xsl:template>
<!-- template: "html-news-list-newsflash-homelink" -->
<xsl:template name="html-news-list-newsflash-homelink">
<a href="&base;/news/news.html">¥Ë¥å¡¼¥¹¥Ú¡¼¥¸</a>
</xsl:template>
<xsl:template name="html-news-make-olditems-list">
<p>²áµî¤Î¥Ë¥å¡¼¥¹:
<a href="&enbase;/news/2009/index.html">2009</a>,
<a href="&enbase;/news/2008/index.html">2008</a>,
<a href="&enbase;/news/2007/index.html">2007</a>,
<a href="&enbase;/news/2006/index.html">2006</a>,
<a href="&enbase;/news/2005/index.html">2005</a>,
<a href="&enbase;/news/2004/index.html">2004</a>,
<a href="&enbase;/news/2003/index.html">2003</a>,
<a href="&enbase;/news/2002/index.html">2002</a>,
<a href="2001/index.html">2001</a>,
<a href="&enbase;/news/2000/index.html">2000</a>,
<a href="&enbase;/news/1999/index.html">1999</a>,
<a href="&enbase;/news/1998/index.html">1998</a>,
<a href="1997/index.html">1997</a>,
<a href="1996/index.html">1996</a>,
<a href="&enbase;/news/1993/index.html">1993</a></p>
</xsl:template>
<!-- template: "html-news-list-press-preface" -->
<xsl:template name="html-news-list-press-preface">
<p>FreeBSD ¤Ë´ØÏ¢¤·¤¿¥Ë¥å¡¼¥¹µ­»ö¤Î¾ÜºÙ¤ò <a
href="mailto:freebsd-doc@FreeBSD.org">freebsd-doc@FreeBSD.org</a>
¤Þ¤Ç (±Ñ¸ì¤Ç) Á÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£</p>
</xsl:template>
<!-- template: "html-press-make-olditems-list" -->
<xsl:template name="html-press-make-olditems-list">
<p>²áµî¤Î¥Ë¥å¡¼¥¹µ­»ö:
<a href="&enbase;/news/2009/press.html">2009</a>,
<a href="&enbase;/news/2008/press.html">2008</a>,
<a href="&enbase;/news/2007/press.html">2007</a>,
<a href="&enbase;/news/2006/press.html">2006</a>,
<a href="&enbase;/news/2005/press.html">2005</a>,
<a href="&enbase;/news/2004/press.html">2004</a>,
<a href="&enbase;/news/2003/press.html">2003</a>,
<a href="&enbase;/news/2002/press.html">2002</a>,
<a href="&base;/news/2001/press.html">2001</a>,
<a href="&enbase;/news/2000/press.html">2000</a>,
<a href="&enbase;/news/1999/press.html">1999</a>,
<a href="&enbase;/news/1998/press.html">1998-1996</a></p>
</xsl:template>
<!-- for l10n -->
<xsl:template name="html-news-month-headings">
<xsl:param name="year" />
<xsl:param name="month" />
<xsl:value-of select="concat($year, ' ǯ ', $month)" />
</xsl:template>
<xsl:template name="html-events-list-preface">
<p>¤³¤³¤Ë·ÇºÜ¤µ¤ì¤Æ¤¤¤Ê¤¤ FreeBSD ¤Ë´ØÏ¢¤·¤¿¥¤¥Ù¥ó¥È¤ä¡¢
FreeBSD ¥æ¡¼¥¶¤¬¶½Ì£¤ò¤â¤Á¤½¤¦¤Ê¥¤¥Ù¥ó¥È¾ÜºÙ¤ò¤´Â¸ÃΤǤ·¤¿¤é¡¢
<a href="mailto:freebsd-doc@FreeBSD.org">freebsd-doc@FreeBSD.org</a>
¤Þ¤Ç (±Ñ¸ì¤Ç) Á÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£</p>
<p>iCalendar ·Á¼°¤ËÂбþ¤·¤¿¥¹¥±¥¸¥å¡¼¥ë´ÉÍý¥½¥Õ¥È¥¦¥§¥¢¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢
¤³¤³¤ËºÜ¤Ã¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥¤¥Ù¥ó¥È¤ò½¸¤á¤¿
<a href="&base;/events/events.ics">FreeBSD ¥¤¥Ù¥ó¥È¥«¥ì¥ó¥À</a>
¤òÍøÍѤǤ­¤Þ¤¹¡£</p>
</xsl:template>
<xsl:template name="html-events-map">
<xsl:param name="mapurl" select="'none'" />
<p>º£¸å FreeBSD ¤Ë´ØÏ¢¤·¤¿¥¤¥Ù¥ó¥È¤ò³«ºÅ¤¹¤ë¹ñ¤äÃÏ°è¤Ï¡¢
°Ê²¼¤ÎÃϿޤˤª¤¤¤Æ°ÅÀÖ¿§¤ËÅɤé¤ì¤Æ¤¤¤Þ¤¹¡£
²áµî¤Ë FreeBSD ¤Ë´ØÏ¢¤·¤¿¥¤¥Ù¥ó¥È¤ò³«ºÅ¤·¤¿¹ñ¤Ï²«¿§¤ä¥ª¥ì¥ó¥¸¿§¤ÇÅɤé¤ì¤Æ¤¤¤Þ¤¹¡£
¤è¤ê°Å¤¤¿§¤ÇÅɤé¤ì¤¿ÃÏ°è¤Û¤É²áµî¤Ë¿¤¯¤Î¥¤¥Ù¥ó¥È¤ò³«ºÅ¤·¤Æ¤¤¤Þ¤¹¡£</p>
<img>
<xsl:attribute name="src">
<xsl:value-of select="$mapurl" />
</xsl:attribute>
</img>
</xsl:template>
<xsl:template name="html-events-list-upcoming-heading">
<h2 id="upcoming">¸½ºß³«ºÅÃæ¡¢¤Þ¤¿¤Ïº£¸å³«ºÅͽÄê¤Î¥¤¥Ù¥ó¥È</h2>
</xsl:template>
<xsl:template name="html-events-list-past-heading">
<h2 id="past">²áµî¤Î¥¤¥Ù¥ó¥È</h2>
</xsl:template>
<!-- Generate a date interval. -->
<!-- Sample: 27 November, 2002 - 29 December, 2003 -->
<xsl:template name="gen-date-interval">
<xsl:param name="startdate"/>
<xsl:param name="enddate"/>
<xsl:value-of select="startdate/year"/>
<xsl:text> ǯ </xsl:text>
<xsl:value-of select="startdate/month"/>
<xsl:text> ·î </xsl:text>
<xsl:value-of select="startdate/day"/>
<xsl:if test="number(startdate/month) != number(enddate/month) or
number(startdate/day) != number(enddate/day) or
number(startdate/year) != number(enddate/year)">
<xsl:if test="number(startdate/month) != number(enddate/month) or
number(startdate/year) != number(enddate/year)">
<xsl:text> Æü</xsl:text>
</xsl:if>
<xsl:text> - </xsl:text>
<xsl:if test="number(startdate/year) != number(enddate/year)">
<xsl:value-of select="enddate/year"/>
<xsl:text> ǯ </xsl:text>
</xsl:if>
<xsl:if test="number(startdate/month) != number(enddate/month) or
number(startdate/year) != number(enddate/year)">
<xsl:value-of select="enddate/month"/>
<xsl:text> ·î</xsl:text>
</xsl:if>
<xsl:if test="number(startdate/day) != number(enddate/day) or
number(startdate/month) != number(enddate/month) or
number(startdate/year) != number(enddate/year)">
<xsl:text> </xsl:text>
<xsl:value-of select="enddate/day"/>
<xsl:text> Æü</xsl:text>
</xsl:if>
</xsl:if>
<xsl:if test="number(startdate/month) = number(enddate/month) and
number(startdate/day) = number(enddate/day) and
number(startdate/year) = number(enddate/year)">
<xsl:text> Æü</xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>