hgbook
changeset 730:9fb13c6abc1b
Italians do it with style.
author | Giulio@puck |
---|---|
date | Wed Jun 17 17:28:32 2009 +0200 (2009-06-17) |
parents | 1819dd65d5f6 |
children | 68c4d16d2bf4 |
files | it/Makefile stylesheets/it/fo.xsl stylesheets/it/html-single.xsl stylesheets/it/html.xsl stylesheets/it/web.xsl |
line diff
1.1 --- a/it/Makefile Sun Jun 14 17:54:19 2009 +0200 1.2 +++ b/it/Makefile Wed Jun 17 17:28:32 2009 +0200 1.3 @@ -15,11 +15,12 @@ 1.4 1.5 #$(obj-web)/index.html: ../stylesheets/system-xsl .validated-00book.xml #../web/index-read.html.in 1.6 $(obj-web)/index.html: .validated-00book.xml 1.7 - xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/chunk-stylesheet.xsl 00book.xml 1.8 + xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/it/web.xsl 00book.xml 1.9 +# xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/chunk-stylesheet.xsl 00book.xml 1.10 cp ${web-global}/styles.css ${obj-web} 1.11 mkdir -p ${figs-web} 1.12 cp -f ${web-global}/icons/*.png $(figs-web) 1.13 - cp -f examples/figs/*.png $(figs-web) 1.14 + cp -f examples/figs/*.png $(figs-web) 1.15 sed -i -e "s|/support/||g" ${obj-web}/*.html 1.16 # python ../web/texpand.py ../web/index-read.html.in html/read/index.html 1.17 # for i in $(obj-web-read)/*.html; do \
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/stylesheets/it/fo.xsl Wed Jun 17 17:28:32 2009 +0200 2.3 @@ -0,0 +1,10 @@ 2.4 +<?xml version="1.0"?> 2.5 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 2.6 + xmlns:fo="http://www.w3.org/1999/XSL/Format" 2.7 + version='1.0'> 2.8 + 2.9 + <xsl:import href="../fo.xsl"/> 2.10 + 2.11 + <xsl:param name="l10n.gentext.language" select="'it'"/> 2.12 + 2.13 +</xsl:stylesheet>
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/stylesheets/it/html-single.xsl Wed Jun 17 17:28:32 2009 +0200 3.3 @@ -0,0 +1,8 @@ 3.4 +<?xml version="1.0"?> 3.5 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> 3.6 + 3.7 + <xsl:import href="../html-single.xsl"/> 3.8 + 3.9 + <xsl:param name="l10n.gentext.language" select="'it'"/> 3.10 + 3.11 +</xsl:stylesheet>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/stylesheets/it/html.xsl Wed Jun 17 17:28:32 2009 +0200 4.3 @@ -0,0 +1,8 @@ 4.4 +<?xml version="1.0"?> 4.5 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> 4.6 + 4.7 + <xsl:import href="../html.xsl"/> 4.8 + 4.9 + <xsl:param name="l10n.gentext.language" select="'it'"/> 4.10 + 4.11 +</xsl:stylesheet>
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/stylesheets/it/web.xsl Wed Jun 17 17:28:32 2009 +0200 5.3 @@ -0,0 +1,26 @@ 5.4 +<?xml version="1.0"?> 5.5 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> 5.6 + 5.7 + <xsl:import href="../chunk-stylesheet.xsl"/> 5.8 + 5.9 + <xsl:param name="l10n.gentext.language" select="'it'"/> 5.10 + 5.11 + <!-- Overriding parameters for the Italian localisation --> 5.12 + 5.13 + <xsl:template name="user.header.navigation"> 5.14 + <div class="navheader"><h2 class="booktitle"><a href="/">Mercurial: la guida definitiva</a> <span class="authors">di Bryan O'Sullivan</span></h2></div> 5.15 + </xsl:template> 5.16 + 5.17 + <xsl:template name="user.footer.content"> 5.18 + <div class="hgfooter"> 5.19 + <p><img src="/support/figs/rss.png"/> Volete rimanere aggiornati? Abbonatevi al feed delle modifiche per <a id="chapterfeed" class="feed" href="/feeds/comments/">questo capitolo</a> o per <a class="feed" href="/feeds/comments/">l'intero libro</a>.</p> 5.20 + <p>Copyright 2006, 2007, 2008, 2009 Bryan O'Sullivan. 5.21 + Icone realizzate da <a href="mailto:mattahan@gmail.com">Paul Davey</a> alias <a href="http://mattahan.deviantart.com/">Mattahan</a>.</p> 5.22 + </div> 5.23 + </xsl:template> 5.24 + 5.25 + <xsl:template name="user.footer.navigation"> 5.26 + <!-- No Google Analytics script for the moment --> 5.27 + </xsl:template> 5.28 + 5.29 +</xsl:stylesheet>