Browse Source

modified text files and index.xsl so that it corretly fetches words

svn path=/branches/design/; revision=19115
tags/stw2018
nicoulas 8 years ago
parent
commit
e5b80e1e0a

+ 5
- 9
index.xsl View File

@@ -55,26 +55,22 @@
<!--translated word "newsletter"-->
<xsl:template match="newsletter-label">
<xsl:apply-templates select="/buildinfo/textset/text[@id='newsletter']/node()"/>
<xsl:apply-templates select="/html/textset-content/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:apply-templates select="/html/textset-content/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:apply-templates select="/html/textset-content/text[@id='more']/node()"/>
</xsl:template>
<!-- Do not copy <set> to output at all -->
<xsl:template match="set"/>
<xsl:template match="textset-content"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">

+ 2
- 2
tools/texts-content-ar.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">آخر الأخبار</text>
<text id="events">أحداث قادمة</text>
<text id="morenews">أخبار أخرى…</text>
<text id="moreevents">أحداث أخرى…</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-bg.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-ca.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-cs.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-da.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-el.xml View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>



</textset>
</textset-content>

+ 2
- 2
tools/texts-content-en.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">News</text>
<text id="events">Events</text>
@@ -12,4 +12,4 @@
<text id="fax">fax</text>
<text id="address">Address</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-eo.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Latest news</text>
<text id="events">Upcoming events</text>
<text id="morenews">More news…</text>
<text id="moreevents">More events…</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-es.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-et.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-fi.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-fr.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-hr.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-hu.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-it.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-ku.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<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>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-mk.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Вести</text>
<text id="events">Настани</text>
@@ -8,4 +8,4 @@
<text id="morenews">Повеќе вести...</text>
<text id="moreevents">Повеќе настани...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-nb.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-nl.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-nn.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Siste nytt</text>
<text id="events">Kva skjer?</text>
@@ -8,4 +8,4 @@
<text id="morenews">Fleire nyhende …</text>
<text id="moreevents">Fleire hendingar …</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-pl.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Najświeższe wiadomości</text>
<text id="events">Nadchodzące wydarzenia</text>
@@ -8,4 +8,4 @@
<text id="morenews">Więcej wiadomości...</text>
<text id="moreevents">Więcej wydarzeń...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-pt.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Últimas notícias</text>
<text id="events">Próximos eventos</text>
@@ -8,4 +8,4 @@
<text id="morenews">Mais notícias...</text>
<text id="moreevents">Mais eventos...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-ro.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Ultimele noutăţi</text>
<text id="events">Următoarele evenimente </text>
@@ -8,4 +8,4 @@
<text id="morenews">Mai multe ştiri...</text>
<text id="moreevents">Mai multe evenimente...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-ru.xml View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

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

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-sk.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Najnovšie správy</text>
<text id="events">Pripravované akcie</text>
@@ -8,4 +8,4 @@
<text id="morenews">Staršie správy...</text>
<text id="moreevents">Ďalšie akcie...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-sl.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Zadnje novice</text>
<text id="events">Dogodki</text>
@@ -8,4 +8,4 @@
<text id="morenews">Več novic...</text>
<text id="moreevents">Več dogodkov...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-sq.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Lajmet e fundit</text>
<text id="events">Së afërmi</text>
@@ -8,4 +8,4 @@
<text id="morenews">Lajme të tjerë...</text>
<text id="moreevents">Ngjarje të tjera...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-sr.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Najnovije vesti</text>
<text id="events">Događaji koji slede</text>
@@ -8,4 +8,4 @@
<text id="morenews">Više vesti...</text>
<text id="moreevents">Više o događajima...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-sv.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Senaste nytt</text>
<text id="events">Kommande evenamang</text>
@@ -8,4 +8,4 @@
<text id="morenews">Fler nyheter...</text>
<text id="moreevents">Fler evenemang...</text>

</textset>
</textset-content>

+ 2
- 2
tools/texts-content-tr.xml View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<textset>
<textset-content>

<text id="news">Haberler</text>
<text id="events">Etkinlikler</text>
@@ -8,4 +8,4 @@
<text id="morenews">Haberlerin Devamı...</text>
<text id="moreevents">Etkinliklerin Devamı...</text>

</textset>
</textset-content>

Loading…
Cancel
Save