You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/04/12 16:09:00 UTC
svn commit: r527949 - in /lenya/trunk/src/pubs/default:
lenya/resources/i18n/cmsui.xml lenya/resources/i18n/cmsui_de.xml
xslt/page2xhtml.xsl
Author: andreas
Date: Thu Apr 12 07:08:54 2007
New Revision: 527949
URL: http://svn.apache.org/viewvc?view=rev&rev=527949
Log:
Use i18n instead of xsl:choose for publication title
Modified:
lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui.xml
lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui_de.xml
lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
Modified: lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui.xml?view=diff&rev=527949&r1=527948&r2=527949
==============================================================================
--- lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui.xml (original)
+++ lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui.xml Thu Apr 12 07:08:54 2007
@@ -23,6 +23,8 @@
-->
<catalogue xml:lang="en">
+
+ <message key="publication-title">Welcome to the Default Publication from {0}!</message>
<message key="default.createdoc.idtaken">The ID you've entered is already taken. Please choose another one.</message>
Modified: lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui_de.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui_de.xml?view=diff&rev=527949&r1=527948&r2=527949
==============================================================================
--- lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui_de.xml (original)
+++ lenya/trunk/src/pubs/default/lenya/resources/i18n/cmsui_de.xml Thu Apr 12 07:08:54 2007
@@ -24,6 +24,8 @@
<catalogue xml:lang="de">
+ <message key="publication-title">Willkommen zur Default-Publikation von {0}!</message>
+
<message key="default.doc.create.idtaken">Die eingebene ID ist schon vergeben. Bitte wä;hlen Sie eine andere ID.</message>
<message key="Create new language version">Neue Sprachversion anlegen</message>
Modified: lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl?view=diff&rev=527949&r1=527948&r2=527949
==============================================================================
--- lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl (original)
+++ lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl Thu Apr 12 07:08:54 2007
@@ -74,14 +74,10 @@
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="publication-title">
- <xsl:choose>
- <xsl:when test="$language = 'de'">
- Willkommen zur Default-Publikation von <xsl:value-of select="$author"/>!
- </xsl:when>
- <xsl:otherwise>
- Welcome to the Default Publication from <xsl:value-of select="$author"/>!
- </xsl:otherwise>
- </xsl:choose>
+ <i18n:translate>
+ <i18n:text>publication-title</i18n:text>
+ <i18n:param><xsl:value-of select="$author"/></i18n:param>
+ </i18n:translate>
</td>
<td id="project-logo"><img src="{$root}/images/project-logo.png" alt="project logo"/></td>
</tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org