Label Wrong Since v5 upgrade

9 views
Skip to first unread message

Sarah Butash

unread,
Dec 3, 2020, 4:12:29 PM12/3/20
to dspac...@googlegroups.com
Hello!

I've recently inherited a DSpace environment.  Our item-view.xsl file defines the display for contributor editor as:

    <xsl:template name="itemSummaryView-DIM-editors">

        <xsl:if test="dim:field[@element='contributor'][@qualifier='editor' and descendant::text()]">

            <div class="simple-item-view-editors item-page-field-wrapper table">

                <h4><i18n:text>xmlui.dri2xhtml.METS-1.0.item-editor</i18n:text></h4>

                <hr class="visible-xs section-hr"/>

                <div>

                <xsl:for-each select="dim:field[@element='contributor'][@qualifier='editor']">

                    <xsl:call-template name="itemSummaryView-DIM-authors-entry" />

                </xsl:for-each>

                </div>

            </div>

        </xsl:if>

    </xsl:template>


Prior to the DSpace v5 upgrade, the editor element had a label of 'editor'.  Since the upgrade the editor element is getting a label of 'xmlui.dri2xhtml.METS-1.0.item-editor'.  Running a diff between the backup (pre upgrade) and the current item-view.xsl, the editor clause has no differences.

Have you seen this type of error before?  Can you advise where to check and/or make some changes?


Thank you!

Sarah

--

Sarah Butash

she / her

Library Systems Analyst, OU Libraries

Kresge Library, Room 227

100 Library Drive, Rochester, MI  48309-4479

Phone: 248-370-2368



Keith Gilbertson

unread,
Dec 3, 2020, 4:31:28 PM12/3/20
to Sarah Butash, dspac...@googlegroups.com
Hi, Sarah.

You may need to find the messages.xml file in the i18n directory of xmlui and add an entry there for xmlui.dri2xhtml.METS-1.0.item-editor. :

There's a conversation about that here, with Andrea giving some tips:


The conversation references this page about the message catalog in DSpace 5:

Thanks,
Keith

--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAGdTMAr0uWzqOvT5aYi%3DHwo24yFgZeBDi1PTjE%3DtnZ2rtfq98Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages