Bug 41000: Relabel 041$d "Spoken language" to "Sung or spoken language"

Updates the XSLT templates for detail pages in the staff interface
and OPAC to label 041$d in MARC21 as "Sung or spoken language",
matching the MARC21 definition.

For music libraries, this also better reflects the information
about the record.

To test:
1. Apply patch
2. Catalog a record with 041$d
3. Navigate to the record details both in the staff interface
   and OPAC
4. Observe "Sung or spoken language: <041$d>"

Signed-off-by: Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lari Taskula 2025-10-11 13:21:46 +03:00 committed by Lucas Gass
parent 011f38553f
commit 88e07a074e
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@
</xsl:call-template>
<xsl:call-template name="show-lang-node">
<xsl:with-param name="langNode" select="marc:subfield[@code='d']"/>
<xsl:with-param name="langLabel">Spoken language: </xsl:with-param>
<xsl:with-param name="langLabel">Sung or spoken language: </xsl:with-param>
</xsl:call-template>
<xsl:call-template name="show-lang-node">
<xsl:with-param name="langNode" select="marc:subfield[@code='h']"/>

View File

@ -332,7 +332,7 @@
</xsl:call-template>
<xsl:call-template name="show-lang-node">
<xsl:with-param name="langNode" select="marc:subfield[@code='d']"/>
<xsl:with-param name="langLabel">Spoken language: </xsl:with-param>
<xsl:with-param name="langLabel">Sung or spoken language: </xsl:with-param>
</xsl:call-template>
<xsl:call-template name="show-lang-node">
<xsl:with-param name="langNode" select="marc:subfield[@code='h']"/>