From d64afea6f5297f553d1cc45230039d839404e5c9 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Sat, 7 Nov 2015 23:59:23 -0600 Subject: [PATCH] Bug 15102: Fix capitalization for some strings on XSLT detail pages To test: -Search records with 336, 337, 338, 700$i, and 7XXind=2 -Search records with 508, 264Ind=4, 246, 856, and LDR/6 and LDR/7 (BK, VM, CR, CF) -Notice the capitalization (Contained Works, Related Works, Media Type, Content Type, and Carrier Type, Production Credits, Copyright Date, Other Title, Online Access, Continuing Resource, Mixed Materials, Computer File, Visual Material) in both OPAC and Intranet for records detail pages and results pages -Apply this patch -Search again and get notice about the capitalization following Koha coding guidelines Signed-off-by: Frederic Demians Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 12 ++++++------ .../prog/en/xslt/MARC21slim2intranetResults.xsl | 12 ++++++------ .../intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 2 +- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 12 ++++++------ .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 10 +++++----- .../opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 2 +- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 8ad6047bf9..a2f7a0c659 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -400,7 +400,7 @@ - Content Type: + Content type: a @@ -412,7 +412,7 @@ - Media Type: + Media type: a @@ -424,7 +424,7 @@ - Carrier Type: + Carrier type: a @@ -585,7 +585,7 @@ - Related Works: + Related works: @@ -627,7 +627,7 @@ - Contained Works: + Contained works: @@ -842,7 +842,7 @@
- Production Credits: + Production credits: a diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index 51af8ddbd4..0d40cab382 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -430,16 +430,16 @@ book Book - serial Continuing Resource + serial Continuing resource article Article book Book kit Kit - mixed materialsMixed Materials - computer file Computer File + mixed materialsMixed materials + computer file Computer file map Map - visual material Visual Material + visual material Visual material score Score sound Sound music Music @@ -880,7 +880,7 @@ 246 ab results_summary - Other Title: + Other title: @@ -898,7 +898,7 @@ - Online Access: + Online access: diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index 38d1acd6ee..9d1264384c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -253,7 +253,7 @@ Manufacturer: - Copyright Date: + Copyright date: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 466b41f89e..6a92a4e0fc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -75,7 +75,7 @@ Book - Continuing Resource + Continuing resource Series @@ -437,7 +437,7 @@ - Content Type: + Content type: a @@ -449,7 +449,7 @@ - Media Type: + Media type: a @@ -461,7 +461,7 @@ - Carrier Type: + Carrier type: a @@ -632,7 +632,7 @@ - Related Works: + Related works: @@ -674,7 +674,7 @@ - Contained Works: + Contained works: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 39ac70d5a6..18225acd3f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -559,16 +559,16 @@ book Book - serial Continuing Resource + serial Continuing resource article Article book Book kit Kit - mixed materialsMixed Materials - computer file Computer File + mixed materialsMixed materials + computer file Computer file map Map - visual material Visual Material + visual material Visual material score Score sound Sound music Music @@ -1007,7 +1007,7 @@ - Online Access: + Online access: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index bc68f37b38..9ceb9edc0a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -251,7 +251,7 @@ Manufacturer: - Copyright Date: + Copyright date: -- 2.39.2