Added automatic detection of translation to the spanish pages.
svn path=/trunk/; revision=1944
This commit is contained in:
parent
eb2498328a
commit
51c27b2b9c
7
Makefile
7
Makefile
@ -109,12 +109,13 @@ $(ITPAGES): %.html: %.xhtml fsfe.xsl navigation.it.xsl
|
||||
$(ESPAGES): %.html: %.xhtml fsfe.xsl navigation.es.xsl
|
||||
@$(ECHO) "Building $@ ..."; \
|
||||
path=$< ; \
|
||||
base=`expr $$path : '\(.*\).xhtml'` ; \
|
||||
base=`expr $$path : '\(.*\).es.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:/por/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html) ; \
|
||||
rm -f $$base.html-temp
|
||||
langlinks="`./tools/translate.sh $$base es`" ; \
|
||||
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase.es '$$path='$$path '$$langlinks='"$$langlinks" > $$base.es.html-temp && (cat $$base.es.html-temp | perl -p -e '$$| = 1; (s/Date://, s/Author:/por/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.es.html) ; \
|
||||
rm -f $$base.es.html-temp
|
||||
|
||||
# remove html files for which an xhtml version exists (exclude fr/)
|
||||
clean:
|
||||
|
@ -9,17 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- El encabezado entrará aquí -->
|
||||
<center>
|
||||
[
|
||||
<!-- Actualice según sea necesario y mantenga el orden alfabético -->
|
||||
<a href="boilerplate.de.html">Deutsch</a> |
|
||||
<a href="boilerplate.en.html">English</a> |
|
||||
Español
|
||||
<a href="boilerplate.fr.html">Français</a>|
|
||||
<a href="boilerplate.pt.html">Português</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Comienzo del contenido de la página -->
|
||||
|
||||
<p>Aquí va el contenido</p>
|
||||
|
@ -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> |
|
||||
Español |
|
||||
<a href="whyfs.fr.html">Français</a> |
|
||||
<a href="whyfs.it.html">Italiano</a> |
|
||||
<a href="whyfs.pt.html">Português</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
|
||||
<center><h2>Nosotros hablamos de Software Libre</h2></center>
|
||||
|
@ -9,15 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- El encabezado entrará aquí -->
|
||||
<center>
|
||||
[
|
||||
<!-- Actualice según sea necesario y mantenga el orden alfabético -->
|
||||
<a href="eucd-fs.en.html">English</a> |
|
||||
Español
|
||||
<a href="eucd-fs.fr.html">Français</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Comienzo del contenido de la página -->
|
||||
|
||||
<h1>Las <i>Extensiones de Copyright</i> amenazan al Software Libre en Europa</h1>
|
||||
|
@ -9,18 +9,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- El encabezado entrará aquí -->
|
||||
<center>
|
||||
[
|
||||
<!-- Actualice según sea necesario y mantenga el orden alfabético -->
|
||||
<a href="index.de.html">Deutsch</a> |
|
||||
<a href="index.html">English</a> |
|
||||
Español |
|
||||
<a href="index.fr.html">Français</a> |
|
||||
<a href="index.it.html">Italiano</a> |
|
||||
<a href="index.pt.html">Português</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Comienzo del contenido de la página -->
|
||||
<center>
|
||||
<h1>Free Software Foundation Europa</h1>
|
||||
|
@ -48,6 +48,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> |
|
||||
Español |
|
||||
<a href="article2001-08-23-01.fr.html">Français</a> |
|
||||
<a href="article2001-08-23-01.it.html">Italian</a> |
|
||||
<a href="article2001-08-23-01.pt.html">Português</a>
|
||||
]
|
||||
</center>
|
||||
<p />
|
||||
<blockquote>
|
||||
<center><h2>Expertos en Software Libre</h2></center>
|
||||
|
@ -8,16 +8,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> |
|
||||
Español |
|
||||
<a href="article2001-10-20-01.fr.html">Français</a> |
|
||||
<a href="article2001-10-20-01.pt.html">Português</a>
|
||||
]
|
||||
</center>
|
||||
<p />
|
||||
<blockquote>
|
||||
<center><h2>Cambio de rumbo en SourceForge</h2></center>
|
||||
|
@ -8,13 +8,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- El encabezado entrará aquí -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="article2001-10-26-01.en.html">English</a> |
|
||||
Español
|
||||
]
|
||||
</center>
|
||||
<p />
|
||||
<blockquote>
|
||||
<center><h2>Software Libre en Portugal</h2></center>
|
||||
|
@ -8,16 +8,6 @@
|
||||
<body>
|
||||
|
||||
<div> <!-- The header will be inserted here -->
|
||||
<center>
|
||||
[
|
||||
<!-- Please update as needed and keep it in alphabetical order -->
|
||||
<a href="article2002-01-18-01.es.html">English</a> |
|
||||
Español |
|
||||
<a href="article2002-01-18-01.fr.html">Français</a> |
|
||||
<a href="article2002-01-18-01.pt.html">Português</a>
|
||||
]
|
||||
</center>
|
||||
|
||||
<!-- Begin page content -->
|
||||
|
||||
<center>
|
||||
|
Loading…
Reference in New Issue
Block a user