Browse Source

removed text tags from old index pages to move them into new centralised file, set index.xsl to use global textset

svn path=/branches/design/; revision=19101
tags/stw2018
samtuke 8 years ago
parent
commit
2095b8b76d
29 changed files with 56 additions and 132 deletions
  1. 1
    4
      index.bg.xhtml
  2. 0
    5
      index.ca.xhtml
  3. 1
    4
      index.cs.xhtml
  4. 1
    4
      index.da.xhtml
  5. 0
    5
      index.el.xhtml
  6. 4
    4
      index.en.xhtml
  7. 1
    4
      index.es.xhtml
  8. 0
    5
      index.et.xhtml
  9. 1
    4
      index.fi.xhtml
  10. 1
    4
      index.fr.xhtml
  11. 1
    4
      index.hr.xhtml
  12. 1
    4
      index.hu.xhtml
  13. 1
    4
      index.it.xhtml
  14. 3
    8
      index.ku.xhtml
  15. 1
    5
      index.mk.xhtml
  16. 1
    4
      index.nb.xhtml
  17. 1
    4
      index.nl.xhtml
  18. 1
    5
      index.nn.xhtml
  19. 1
    5
      index.pl.xhtml
  20. 1
    5
      index.pt.xhtml
  21. 1
    5
      index.ro.xhtml
  22. 1
    4
      index.ru.xhtml
  23. 1
    5
      index.sk.xhtml
  24. 0
    6
      index.sl.xhtml
  25. 1
    5
      index.sq.xhtml
  26. 1
    5
      index.sr.xhtml
  27. 1
    5
      index.sv.xhtml
  28. 1
    5
      index.tr.xhtml
  29. 27
    1
      index.xsl

+ 1
- 4
index.bg.xhtml View File

@@ -27,10 +27,7 @@
</p>
</body>

<text id="news">Последни новини</text>
<text id="events">Предстоящи събития</text>
<text id="morenews">Още новини…</text>
<text id="moreevents">Още събития…</text>


<translator>Пламен Стоев</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 0
- 5
index.ca.xhtml View File

@@ -28,11 +28,6 @@
</p>
</body>

<text id="news">Notícies recents</text>
<text id="events">Propers esdeveniments</text>
<text id="morenews">Més notícies…</text>
<text id="moreevents">Més esdeveniments…</text>

<translator>SCA</translator>
<timestamp>$Date$ $Author$</timestamp>
</html>

+ 1
- 4
index.cs.xhtml View File

@@ -29,10 +29,7 @@
</p>
</body>

<text id="news">Nejnovější zprávy</text>
<text id="events">Nastávající události</text>
<text id="morenews">Další zprávy…</text>
<text id="moreevents">Další události…</text>


<translator>Michael Hrabánek</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.da.xhtml View File

@@ -31,10 +31,7 @@
</p>
</body>

<text id="news">Seneste nyt</text>
<text id="events">Kommende begivenheder</text>
<text id="morenews">Flere nyheder…</text>
<text id="moreevents">Flere begivenheder…</text>


<timestamp>$Date$ $Author$</timestamp>
</html>

+ 0
- 5
index.el.xhtml View File

@@ -32,11 +32,6 @@
</p>
</body>

<text id="news">Τελευταία νέα</text>
<text id="events">Επόμενες εκδηλώσεις</text>
<text id="morenews">Περισσότερα νέα…</text>
<text id="moreevents">Περισσότερες εκδηλώσεις…</text>

<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 4
- 4
index.en.xhtml View File

@@ -34,7 +34,7 @@
<a class="rss-feed" href="/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<a class="ical" href="http://identi.ca/fsfe"><img src="/graphics/identica.png" alt="identica" title="follow FSFE on identi.ca"/></a>
<a href="/news/news.html">News</a>
<a href="/news/news.html"><news-label /></a>
</h2>
@@ -43,7 +43,7 @@
</div><!--end #news-->

<div id="newsletter" class="section">
<h2><a href="/news/newsletter.html">Newsletter</a></h2>
<h2><a href="/news/newsletter.html"><newsletter-label /></a></h2>
<div class="entry">
<p>
@@ -75,7 +75,7 @@
<all-newsletters />
<li><a href="news/newsletter.html">More...</a></li>
<li><a href="news/newsletter.html"><more-label />...</a></li>
</ul>

@@ -87,7 +87,7 @@
<a class="rss-feed" href="/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
<a href="/events/events.html">Events</a>
<a href="/events/events.html"><events-label /></a>
</h2>

+ 1
- 4
index.es.xhtml View File

@@ -29,10 +29,7 @@
</p>
</body>

<text id="news">Últimas noticias</text>
<text id="events">Próximos eventos</text>
<text id="morenews">Más noticias…</text>
<text id="moreevents">Más eventos…</text>


<timestamp>$Date$ $Author$</timestamp>
</html>

+ 0
- 5
index.et.xhtml View File

@@ -28,11 +28,6 @@
</p>
</body>

<text id="news">Uudised</text>
<text id="events">Tulevased sündmused</text>
<text id="morenews">Rohkem uudiseil…</text>
<text id="moreevents">Rohkem sündmuseid…</text>

<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 1
- 4
index.fi.xhtml View File

@@ -36,10 +36,7 @@
</p>
</body>

<text id="news">Uusimmat uutiset</text>
<text id="events">Tulevat tapahtumat</text>
<text id="morenews">Lisää uutisia…</text>
<text id="moreevents">Lisää tapahtumia…</text>


<translator>Solarius, Timo Jyrinki</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.fr.xhtml View File

@@ -36,10 +36,7 @@
</p>
</body>

<text id="news">Dernières nouvelles</text>
<text id="events">Prochains évènements</text>
<text id="morenews">Autres nouvelles…</text>
<text id="moreevents">Autres évènements…</text>


<translator>Michel Roche (Vercors - France), Jil Larner (Mont Blanc, France)</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.hr.xhtml View File

@@ -31,10 +31,7 @@
</p>
</body>

<text id="news">Najnovije vijesti</text>
<text id="events">Nadolazeći događaji</text>
<text id="morenews">Više vijesti…</text>
<text id="moreevents">Više događaja…</text>


<translator>paxcoder</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.hu.xhtml View File

@@ -31,10 +31,7 @@
</p>
</body>

<text id="news">Legfrissebb hírek</text>
<text id="events">A közeljövő eseményei</text>
<text id="morenews">További hírek…</text>
<text id="moreevents">További események…</text>


<translator>FSF.hu Alapítvány</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.it.xhtml View File

@@ -31,10 +31,7 @@
</p>
</body>

<text id="news">Ultime notizie</text>
<text id="events">Prossimi eventi</text>
<text id="morenews">Altre notizie…</text>
<text id="moreevents">Altri eventi…</text>


<timestamp>$Date$ $Author$</timestamp>
</html>

+ 3
- 8
index.ku.xhtml View File

@@ -2,11 +2,11 @@

<html>
<head>
<title>FSF Ewrûpâ - Free Software Foundation Ewrûpâ</title>
<title>FSF Ewrûpâ - Free Software Foundation Ewrûpâ</title>
</head>
<body>
<h1 class="centre">Free Software Foundation Ewrûpâ</h1>
<p class="tagline">"Azâd wek nâv azâdî"</p>
<h1 class="centre">Free Software Foundation Ewrûpâ</h1>
<p class="tagline">"Azâd wek nâv azâdî"</p>

<!--

@@ -27,11 +27,6 @@
</p>
</body>

<text id="news">Nûçeyên nû</text>
<text id="events">Nûçeyên hatê</text>
<text id="morenews">Nûçeyên dîn¿</text>
<text id="moreevents">Nûçeyên Zêde¿</text>

<translator>Abdullah Ulas</translator>
<timestamp>$Date$ $Author$</timestamp>
</html>

+ 1
- 5
index.mk.xhtml View File

@@ -31,11 +31,7 @@
</p>
</body>

<text id="news">Вести</text>
<text id="events">Настани</text>
<text id="more">Прочитај повеќе...</text>
<text id="morenews">Повеќе вести...</text>
<text id="moreevents">Повеќе настани...</text>

<translator>Igor Stamatovski (Free Software Macedonia)</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.nb.xhtml View File

@@ -31,10 +31,7 @@
</p>
</body>

<text id="news">Siste nytt</text>
<text id="events">Hva skjer?</text>
<text id="morenews">Flere nyheter…</text>
<text id="moreevents">Flere begivenheter…</text>

<translator>Andreas Tolf Tolfsen</translator>
<timestamp>$Date$ $Author$</timestamp>


+ 1
- 4
index.nl.xhtml View File

@@ -36,10 +36,7 @@
</p>
</body>

<text id="news">Laatste nieuws</text>
<text id="events">Aankomende evenementen</text>
<text id="morenews">Meer nieuws...</text>
<text id="moreevents">Meer evenementen...</text>


<timestamp>$Date$ $Author$</timestamp>


+ 1
- 5
index.nn.xhtml View File

@@ -32,11 +32,7 @@

</body>

<text id="news">Siste nytt</text>
<text id="events">Kva skjer?</text>
<text id="more">Les meir</text>
<text id="morenews">Fleire nyhende …</text>
<text id="moreevents">Fleire hendingar …</text>


<translator>Andreas Tolf Tolfsen</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 5
index.pl.xhtml View File

@@ -54,11 +54,7 @@
</p>
</body>

<text id="news">Najświeższe wiadomości</text>
<text id="events">Nadchodzące wydarzenia</text>
<text id="more">Czytaj dalej...</text>
<text id="morenews">Więcej wiadomości...</text>
<text id="moreevents">Więcej wydarzeń...</text>

<translator>Marcin Olender/Paweł Madej</translator>
</html>
<!--

+ 1
- 5
index.pt.xhtml View File

@@ -30,11 +30,7 @@
</p>
</body>

<text id="news">Últimas notícias</text>
<text id="events">Próximos eventos</text>
<text id="more">Ler mais...</text>
<text id="morenews">Mais notícias...</text>
<text id="moreevents">Mais eventos...</text>

<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 1
- 5
index.ro.xhtml View File

@@ -22,11 +22,7 @@
</p>
</body>

<text id="news">Ultimele noutăţi</text>
<text id="events">Următoarele evenimente </text>
<text id="more">Citiţi mai mult...</text>
<text id="morenews">Mai multe ştiri...</text>
<text id="moreevents">Mai multe evenimente...</text>

<translator>Adi Roiban</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 4
index.ru.xhtml View File

@@ -18,10 +18,7 @@
</p>
</body>

<text id="news">Последние новости</text>
<text id="events">Предстоящие события</text>
<text id="morenews">Архив новостей</text>
<text id="moreevents">Архив событий</text>


<timestamp>$Date$ $Author$</timestamp>


+ 1
- 5
index.sk.xhtml View File

@@ -32,11 +32,7 @@
</p>
</body>

<text id="news">Najnovšie správy</text>
<text id="events">Pripravované akcie</text>
<text id="more">Prečítajte si viac...</text>
<text id="morenews">Staršie správy...</text>
<text id="moreevents">Ďalšie akcie...</text>


<translator>Dominik Smatana</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 0
- 6
index.sl.xhtml View File

@@ -31,12 +31,6 @@
</p>
</body>

<text id="news">Zadnje novice</text>
<text id="events">Dogodki</text>
<text id="more">Več...</text>
<text id="morenews">Več novic...</text>
<text id="moreevents">Več dogodkov...</text>

<translator>Domen Košir</translator>
<timestamp>$Date$ $Author$</timestamp>


+ 1
- 5
index.sq.xhtml View File

@@ -22,11 +22,7 @@
</p>
</body>

<text id="news">Lajmet e fundit</text>
<text id="events">Së afërmi</text>
<text id="more">Lexoni më tepër...</text>
<text id="morenews">Lajme të tjerë...</text>
<text id="moreevents">Ngjarje të tjera...</text>

<translator>Besnik Bletën</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 1
- 5
index.sr.xhtml View File

@@ -27,11 +27,7 @@
</p>
</body>

<text id="news">Najnovije vesti</text>
<text id="events">Događaji koji slede</text>
<text id="more">Pročitajte više...</text>
<text id="morenews">Više vesti...</text>
<text id="moreevents">Više o događajima...</text>


<timestamp>$Date$ $Author$</timestamp>


+ 1
- 5
index.sv.xhtml View File

@@ -32,11 +32,7 @@
</p>
</body>

<text id="news">Senaste nytt</text>
<text id="events">Kommande evenamang</text>
<text id="more">Läs mer...</text>
<text id="morenews">Fler nyheter...</text>
<text id="moreevents">Fler evenemang...</text>

<!-- Add your name here /Marcus -->
<translator>Marcus Rejås med flera</translator>

+ 1
- 5
index.tr.xhtml View File

@@ -29,11 +29,7 @@
</p>
</body>

<text id="news">Haberler</text>
<text id="events">Etkinlikler</text>
<text id="more">Devamı...</text>
<text id="morenews">Haberlerin Devamı...</text>
<text id="moreevents">Etkinliklerin Devamı...</text>


<translator>Oğuzhan Öğreden</translator>
<timestamp>$Date$ $Author$</timestamp>

+ 27
- 1
index.xsl View File

@@ -7,7 +7,11 @@
<xsl:import href="tools/xsltsl/date-time.xsl" />
<xsl:import href="tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />

<!-- The top level element of the input file is "buildinfo" -->
<xsl:template match="buildinfo">
<xsl:apply-templates select="node()"/>
</xsl:template>
<!--display dynamic list of news items-->
<xsl:template match="all-news">
@@ -46,6 +50,28 @@
</xsl:call-template>
</xsl:template>
<!--display labels-->
<!--translated word "newsletter"-->
<xsl:template match="newsletter-label">
<xsl:apply-templates select="/buildinfo/textset/text[@id='newsletter']/node()"/>
</xsl:template>
<!--translated word "news"-->
<xsl:template match="news-label">
<xsl:apply-templates select="/buildinfo/textset/text[@id='news']/node()"/>
</xsl:template>

<!--translated word "events"-->
<xsl:template match="events-label">
<xsl:value-of select="/buildinfo/@language" />
</xsl:template>
<!--translated word "events"-->
<xsl:template match="more-label">
<xsl:apply-templates select="/buildinfo/textset/text[@id='more']/node()"/>
</xsl:template>

<!-- Do not copy <set> to output at all -->
<xsl:template match="set"/>

Loading…
Cancel
Save