Hello,

 

We have been using the following approach to modify the text displayed
as needed via the 'theme-name'.xsl file:

 

    <xsl:template match="i18n:text">

        <xsl:choose>            

           <xsl:when
test="text()='xmlui.ArtifactBrowser.Navigation.browse_title'">

                <xsl:text>Case Name</xsl:text>

            </xsl:when>

               (etc.)

            <xsl:otherwise>

                <xsl:copy-of select="."/>

            </xsl:otherwise>

        </xsl:choose>

    </xsl:template> 

 

 

However, this doesn't work for the following messages, which are listed
in the at the top of the body of the browsing pages:

 

                <message
key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.item.title">Browsing
{0} by Title {1}</message>

                <message
key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.item.title">Browsing
{0} by Title</message>

 

This doesn't work:

           

           <xsl:when
test="text()='xmlui.ArtifactBrowser.ConfigurableBrowse.trail.item.title'
">

                <xsl:text>Browsing by Case Name</xsl:text>

            </xsl:when>

 

Any suggestions?

 

Richard Jizba

Creighton University

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to