Added automatic detection of translation to the italian pages.
svn path=/trunk/; revision=1941
This commit is contained in:
7
Makefile
7
Makefile
@@ -97,12 +97,13 @@ $(PTPAGES): %.html: %.xhtml fsfe.xsl navigation.pt.xsl tools/translate.sh
|
||||
$(ITPAGES): %.html: %.xhtml fsfe.xsl navigation.it.xsl
|
||||
@$(ECHO) "Building $@ ..."; \
|
||||
path=$< ; \
|
||||
base=`expr $$path : '\(.*\).xhtml'` ; \
|
||||
base=`expr $$path : '\(.*\).it.xhtml'` ; \
|
||||
filebase=`basename $$base` ; \
|
||||
dir=`dirname $$path` ; \
|
||||
root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
|
||||
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase '$$path='$$path > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; (s/Date://, s/Author:/, da/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html) ; \
|
||||
rm -f $$base.html-temp
|
||||
langlinks="`./tools/translate.sh $$base it`" ; \
|
||||
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase.it '$$path='$$path '$$langlinks='"$$langlinks" > $$base.it.html-temp && (cat $$base.it.html-temp | perl -p -e '$$| = 1; (s/Date://, s/Author:/, da/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.it.html) ; \
|
||||
rm -f $$base.it.html-temp
|
||||
|
||||
$(ESPAGES): %.html: %.xhtml fsfe.xsl navigation.es.xsl
|
||||
@$(ECHO) "Building $@ ..."; \
|
||||
|
@@ -10,18 +10,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="whyfs.de.html">Deutsch</a> |
|
||||
<a href="whyfs.en.html">English</a> |
|
||||
<a href="wnyfs.es.html">Espa<EFBFBD>ol</a> |
|
||||
<a href="whyfs.fr.html">Fran<EFBFBD>ais</a> |
|
||||
Italiano |
|
||||
<a href="whyfs.pt.html">Portugu<EFBFBD>s</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
|
||||
<center><h2>Parliamo di Software Libero</h2></center>
|
||||
|
@@ -9,15 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="donate.de.html">Deutsch</a> |
|
||||
<a href="donate.html">English</a> |
|
||||
Italiano
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<h2>Donazioni per FSF Europa</h2>
|
||||
|
||||
|
@@ -9,16 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="help.de.html">Deutsch</a> |
|
||||
<a href="help.html">English</a> |
|
||||
Italiano |
|
||||
<a href="help.pt.html">Portugu<EFBFBD>s</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<h2>Come puoi aiutarci?</h2>
|
||||
|
||||
|
@@ -9,15 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="thankgnus-2001.de.html">Deutsch</a> |
|
||||
<a href="thankgnus-2001.html">English</a> |
|
||||
Italiano
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<center>
|
||||
[
|
||||
|
@@ -13,15 +13,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="thankgnus-2002.de.html">Deutsch</a> |
|
||||
<a href="thankgnus-2002.html">English</a> |
|
||||
Italiano
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<center>
|
||||
[
|
||||
|
@@ -9,17 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="index.de.html">Deutsch</a> |
|
||||
<a href="index.html"> English</a> |
|
||||
<a href="index.fr.html">Fran<EFBFBD>ais</a> |
|
||||
Italiano |
|
||||
<a href="index.pt.html">Portugu<EFBFBD>s</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<center>
|
||||
<h1>Free Software Foundation Europa</h1>
|
||||
|
@@ -47,6 +47,9 @@
|
||||
<tr>
|
||||
<td width="99%" valign="top">
|
||||
<div class="content">
|
||||
<center>
|
||||
<xsl:value-of select="$langlinks" disable-output-escaping="yes"/>
|
||||
</center>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</div>
|
||||
</td>
|
||||
|
@@ -8,17 +8,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="article2001-08-23-01.de.html">Deutsch</a> |
|
||||
<a href="article2001-08-23-01.en.html">English</a> |
|
||||
<a href="article2001-08-23-01.es.html">Espa<EFBFBD>ol</a> |
|
||||
<a href="article2001-08-23-01.fr.html">Fran<EFBFBD>ais</a> |
|
||||
Italian |
|
||||
<a href="article2001-08-23-01.pt.html">Portugu<EFBFBD>s</a>
|
||||
]
|
||||
</center>
|
||||
<p />
|
||||
<blockquote>
|
||||
<center><h2>Esperti in Software Libero</h2></center>
|
||||
|
@@ -9,17 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="article2001-10-20-01.de.html">Deutsch</a> |
|
||||
<a href="article2001-10-20-01.en.html">English</a> |
|
||||
<a href="article2001-10-20-01.es.html">Espa<EFBFBD>ol</a> |
|
||||
<a href="article2001-10-20-01.fr.html">Fran<EFBFBD>ais</a> |
|
||||
Italiano |
|
||||
<a href="article2001-10-20-01.pt.html">Portugu<EFBFBD>s</a>
|
||||
]
|
||||
</center>
|
||||
<p />
|
||||
<blockquote>
|
||||
<center><h2>FSF Europa raccomanda: cominciate ad evitare SourceForge e
|
||||
|
@@ -9,17 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="index.de.html">Deutsch</a> |
|
||||
<a href="index.html">English</a> |
|
||||
<a href="index.fr.html">Fran<EFBFBD>ais</a> |
|
||||
Italiano |
|
||||
<a href="index.pt.html">Portugu<EFBFBD>s</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<h2>Contatto Stampa</h2>
|
||||
|
||||
|
Reference in New Issue
Block a user