https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43946
--- Comment #13 from Caroline Cyr La Rose <[email protected]> --- Created attachment 211804 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211804&action=edit Bug 43946: (follow-up) Do not extract strings from export-only stylesheets The stylesheets used to export records (MODS, MADS, DC, RDF DC, OAI DC, SRW DC, RSS2, ATOM) are always loaded from prog/en: - opac/unapi - C4::Record::marc2modsxml and marc2madsxml - Koha::OAI::Server::Repository - the Z39.50/SRU configuration in koha-conf.xml Their translated copies are never used. However their strings are extracted into the marc-MARC21 and marc-UNIMARC po files, and translators spend time on ~550 strings that are never displayed. Most of them are controlled vocabularies that must not be translated anyway, e.g. the type attribute of the MODS identifier for 028: "issue number", "matrix number", "music plate"... Exclude these files from the extraction. Test plan: 1. gulp po:extract --task marc-MARC21 gulp po:extract --task marc-UNIMARC 2. Confirm that misc/translator/Koha-marc-MARC21.pot and Koha-marc-UNIMARC.pot no longer reference MARC21slim2MODS.xsl, MARC21slim2MADS.xsl, *slim2DC.xsl, *slim2OAIDC.xsl, etc. 3. Confirm that they still reference the display stylesheets (MARC21slim2OPACDetail.xsl, MARC21slimUtils.xsl, UNIMARCslim2intranetDetail.xsl, etc.) Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Caroline Cyr La Rose <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
