From 489bd10295b35b7f880b3a39fbdf5934c2939718 Mon Sep 17 00:00:00 2001
From: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Date: Sat, 7 Mar 2020 14:58:08 +0000
Subject: [PATCH] Bug 24378: Correct wording in AUTO_RENEWAL notice

Test Plan:
- install patch
- update databse
- confirm notice name is now in sentence-case
- confirm too-many error text now reads "reached" rather than "reach"
---
 installer/data/mysql/updatedatabase.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index df895366e2..b6b615c7d5 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -14438,12 +14438,12 @@ if( CheckVersion( $DBversion ) ) {
     }
 
     $dbh->do(q{
-        INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'notification on auto renewing', 'Auto renewals',
+        INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'Notification on automatic renewal', 'Auto renewals',
 "Dear [% borrower.firstname %] [% borrower.surname %],
 [% IF checkout.auto_renew_error %]
 The following item [% biblio.title %] has not been correctly renewed
 [% IF checkout.auto_renew_error == 'too_many' %]
-You have reach the maximum of checkouts possible.
+You have reached the maximum of checkouts possible.
 [% ELSIF checkout.auto_renew_error == 'on_reserve' %]
 This item is on hold for another patron.
 [% ELSIF checkout.auto_renew_error == 'restriction' %]
-- 
2.11.0