From 10c7737838acc1c52ce492307ed18dece226327b Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Mon, 13 Apr 2020 04:18:36 +0200
Subject: [PATCH] Bug 24939: Fix capitalization of labels in sys pref editor

The headings/labels of sections in the sys pref editor didn't follow
Koha's capitalization rules.

To test:
- Go to Administration > System preferences
- Check all tabs for the spelling of the headings
---
 .../en/modules/admin/preferences/admin.pref   |  2 +-
 .../admin/preferences/cataloguing.pref        |  4 ++--
 .../admin/preferences/circulation.pref        | 20 +++++++++----------
 .../admin/preferences/enhanced_content.pref   |  4 ++--
 .../en/modules/admin/preferences/opac.pref    |  6 +++---
 .../modules/admin/preferences/searching.pref  |  6 +++---
 6 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
index 39df333dd8..d2255fdf3f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
@@ -434,7 +434,7 @@ Administration:
             - pref: UsageStatsGeolocation
             - "<br><strong>NOTE:</strong> This value has no effect if the UsageStats system preference is set to \"Don't share\"."
             - "<br><strong>NOTE:</strong> You must use the <a href=\"/cgi-bin/koha/admin/usage_statistics.pl\">dedicated admin configuration page</a> to edit this preference."
-    Search Engine:
+    Search engine:
         -
             - "Use following search engine: "
             - pref: SearchEngine
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
index 20587fa310..613b2dbcd6 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
@@ -27,7 +27,7 @@ Cataloging:
             - the advanced cataloging editor.
             - "<br/> NOTE:"
             - Currently does not include support for UNIMARC or NORMARC fixed fields.
-    Spine Labels:
+    Spine labels:
         -
             - When using the quick spine label printer,
             - pref: SpineLabelAutoPrint
@@ -47,7 +47,7 @@ Cataloging:
                   no:  "Don't display"
             - buttons on the bib details page to print item spine labels.
         -
-    Record Structure:
+    Record structure:
         -
             - Fill in the default language for field 008 Range 35-37 of MARC21 records (e.g. eng, nor, ger, see <a href="http://www.loc.gov/marc/languages/language_code.html">MARC Code List for Languages</a>)
             - pref: DefaultLanguageField008
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
index d9823c74a6..33a3067953 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
@@ -157,7 +157,7 @@ Circulation:
                   no: "Don't allow"
             - patrons to submit notes about checked out items.
 
-    Checkout Policy:
+    Checkout policy:
         -
             - pref: OnSiteCheckoutAutoCheck
               choices:
@@ -513,7 +513,7 @@ Circulation:
             - "<br />ccode: [NEWFIC,NULL,DVD]"
             - "<br />itype: [NEWBK,\"\"]"
             - "<br /> Note: the word 'NULL' can be used to block renewal on undefined fields, while an empty string \"\" will block on an empty (but defined) field."
-    Checkin Policy:
+    Checkin policy:
         -
             - pref: HoldsAutoFill
               choices:
@@ -596,7 +596,7 @@ Circulation:
                   yes: Store
                   no: "Don't store"
             - the last patron to return an item. This setting is independent of opacreadinghistory/AnonymousPatron.
-    Holds Policy:
+    Holds policy:
         -
             - In the staff client, split the holds queue into separate tables by
             - pref: HoldsSplitQueue
@@ -830,7 +830,7 @@ Circulation:
             - pref: UpdateItemWhenLostFromHoldList
               type: textarea
               syntax: text/x-yaml
-    Interlibrary Loans:
+    Interlibrary loans:
         -
             - pref: ILLModule
               default: 0
@@ -870,7 +870,7 @@ Circulation:
                   yes: Check
                   no: Don't check
             - external sources for availability during the request process
-    Fines Policy:
+    Fines policy:
         -
             - pref: finesCalendar
               type: choice
@@ -966,7 +966,7 @@ Circulation:
               type: textarea
               syntax: javascript
               class: code
-    Self Checkout:
+    Self checkout:
         -
             - "Include the following JavaScript on all pages in the web-based self checkout:"
             - pref: SCOUserJS
@@ -1041,7 +1041,7 @@ Circulation:
             - pref: SelfCheckAllowByIPRanges
               class: short
             - (Leave blank if not used. Use ranges or simple ip addresses separated by spaces, like <code>192.168.1.1 192.168.0.0/24</code>.)
-    Course Reserves:
+    Course reserves:
         -
             - pref: UseCourseReserves
               choices:
@@ -1066,14 +1066,14 @@ Circulation:
                   yes: Enable
                   no: Disable
             - "housebound module"
-    Stockrotation module:
+    Stock rotation module:
         -
             - pref: StockRotation
               choices:
                   yes: Enable
                   no: Disable
             - "the stock rotation module"
-    Article Requests:
+    Article requests:
         -
             - pref: ArticleRequests
               choices:
@@ -1122,7 +1122,7 @@ Circulation:
                 pages: Pages
                 chapters: Chapters
             -
-    Return Claims:
+    Return claims:
         -
             - When marking a checkout as "claims returned",
             - pref: ClaimReturnedChargeFee
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref
index fc47dcaaa9..1b5c0562bd 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref
@@ -329,7 +329,7 @@ Enhanced Content:
               class: url
             - "You can define it using the following patterns: {isbn}, {issn}, {normalized_isbn}.<br/>"
             - "Or you can use the following syntax to specify a field$subfield value: {field$subfield}. For instance {024$a}."
-    HTML5 Media:
+    HTML5 media:
         -
             - Show a tab with a HTML5 media player for files catalogued in field 856
             - pref: HTML5MediaEnabled
@@ -400,7 +400,7 @@ Enhanced Content:
         -
             - RecordedBooks domain
             - pref: RecordedBooksDomain
-    Coce Cover images cache:
+    Coce cover images cache:
         -
             - pref: OpacCoce
               choices:
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
index c705a288c3..ed0a547150 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
@@ -780,7 +780,7 @@ OPAC:
             - pref: RestrictedPageTitle
               class: long
             - "as title of your restricted page (appears in the breadcrumb and on the top of the restricted page)"
-    Shelf Browser:
+    Shelf browser:
         -
             - pref: OPACShelfBrowser
               choices:
@@ -809,7 +809,7 @@ OPAC:
                   no: "Don't use"
             - "the item collection code when finding items for the shelf browser."      
 
-    Self Registration:
+    Self registration:
         -
             - pref: PatronSelfRegistration
               choices:
@@ -874,7 +874,7 @@ OPAC:
                   no: "Do not display and prefill"
             - "password and login form after a patron has self registered."
 
-    Advanced Search Options:
+    Advanced search options:
         -
             - Show search options
             - pref: OpacAdvSearchOptions
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref
index f6b69814cf..9301c59ce7 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref
@@ -86,7 +86,7 @@ Searching:
                   yes: Enable
                   no: Disable
             - "browsing search results from the bibliographic record detail page in staff client."
-    Search Form:
+    Search form:
         -
             - Load the unlogged history to the next user.
             - pref : LoadSearchHistoryToTheFirstLoggedUser
@@ -131,7 +131,7 @@ Searching:
                   yes: use
                   no: "don't use"
             - 'the operator "phr" in the callnumber and standard number staff client searches'
-    Results Display:
+    Results display:
         -
             - pref: numSearchResultsDropdown
               type: boolean
@@ -260,7 +260,7 @@ Searching:
                   yes: "search"
                   no: "don't search"
             - on all variations of the ISBN.
-    Did you Mean/Spell checking:
+    Did you mean/spell checking:
         -
             - "Swedish service for spellchecking.<br/>"
             - LIBRIS Spellchecking API key
-- 
2.17.1