Bug 32284: Fix capitalization for UNIMARC value builders

This patch changes the capitalization for the labels displayed
in the MARC tag editor for UNIMARC subfields 181$a, 181$c,
$182$a, 182$c, and 183$c, when the value builders are used. The
labels are changed from capital case to sentence case, for
consistency with other labels:
- Content Form -> Content form (181$a)
- Content Type -> Content type (181$c)
- Media Type Code -> Media type code (182$a)
- Media Type -> Media type (182$c)
- In the dropdown list (183$a):
  . Audio Carriers -> Audio carriers
  . Computer Carriers -> Computer carriers
  . Microform Carriers -> Microform carriers
  . Microscopic Carriers -> Microscopic carriers
  . Stereographic Carriers -> Stereographic carriers

Test plan:
1. In your KTD shell navigate to
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder
2. Run "git grep Audio Carriers" you should get results
3. Run "git grep Computer Carriers" you should get results
4. Run "git grep Content Form" you should get results
5. Run "git grep Content Type" you should get results
6. Run "git grep Media Type" you should get results
7. Run "git grep Media Type Code" you should get results
8. Run "git grep Microform Carriers" you should get results
9. Run "git grep Microscopic Carriers" you should get results
10. Apply the patch
11. Repeat steps 2-9 you should not get results

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 784c5ac2a1)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Cath Leone 2025-07-17 23:56:34 +00:00 committed by Paul Derscheid
parent d2836ea718
commit 492e40323f
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
5 changed files with 9 additions and 9 deletions

View File

@ -18,7 +18,7 @@
<div class="page-section">
<table>
<tr>
<td><label for="f1">Content Form </label></td>
<td><label for="f1">Content form </label></td>
<td>
<select name="f1" id="f1">
[% IF ( f1 == "a" ) %]

View File

@ -18,7 +18,7 @@
<div class="page-section">
<table>
<tr>
<td><label for="f1">Content Type </label></td>
<td><label for="f1">Content type </label></td>
<td>
<select name="f1" id="f1">
[% IF ( f1 == "cri" ) %]

View File

@ -18,7 +18,7 @@
<div class="page-section">
<table>
<tr>
<td><label for="f1">Media Type Code </label></td>
<td><label for="f1">Media type code </label></td>
<td>
<select name="f1" id="f1">
[% IF ( f1 == "a" ) %]

View File

@ -18,7 +18,7 @@
<div class="page-section">
<table>
<tr>
<td><label for="f1">Media Type </label></td>
<td><label for="f1">Media type </label></td>
<td>
<select name="f1" id="f1">
[% IF ( f1 == "s" ) %]

View File

@ -19,7 +19,7 @@
<tr>
<td>
<select name="f1" id="f1">
<optgroup label="Audio Carriers">
<optgroup label="Audio carriers">
[% IF ( f1 == "sg" ) %]
<option value="sg" selected="selected">sg - audio cartridge</option>
[% ELSE %]
@ -81,7 +81,7 @@
[% END %]
</optgroup>
<optgroup label="Computer Carriers">
<optgroup label="Computer carriers">
[% IF ( f1 == "ck" ) %]
<option value="ck" selected="selected">ck - computer card</option>
[% ELSE %]
@ -137,7 +137,7 @@
[% END %]
</optgroup>
<optgroup label="Microform Carriers">
<optgroup label="Microform carriers">
[% IF ( f1 == "ha" ) %]
<option value="ha" selected="selected">ha - aperture card</option>
[% ELSE %]
@ -199,7 +199,7 @@
[% END %]
</optgroup>
<optgroup label="Microscopic Carriers">
<optgroup label="Microscopic carriers">
[% IF ( f1 == "pp" ) %]
<option value="pp" selected="selected">pp - microscope slide</option>
[% ELSE %]
@ -275,7 +275,7 @@
[% END %]
</optgroup>
<optgroup label="Stereographic Carriers">
<optgroup label="Stereographic carriers">
[% IF ( f1 == "eh" ) %]
<option value="eh" selected="selected">eh - stereograph card</option>
[% ELSE %]