From 50dbd36ed573190b8d7ffa23c676bf7c76966cf0 Mon Sep 17 00:00:00 2001
From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Date: Fri, 10 Mar 2023 15:15:30 -0500
Subject: [PATCH] Bug 33191: AutoEmailPrimaryAddress options don't match labels
 in memberentry

This patch changes the wording for the AutoEmailPrimaryAddress system
preference to make it clearer.

To test:
1. Go to Administration > Global system preferences
2. Search for AutoEmailPrimaryAddress
3. Read the sentence and choices, make sure it makes sense, grammar and
   spelling are correct
4. Click the link to AutoEmailNewUser, it should bring up the correct
   system preference
5. Optionally, try the different options, they should work as before
---
 .../prog/en/modules/admin/preferences/patrons.pref | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
index 685a09b2e6..e9035aab48 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
@@ -173,16 +173,16 @@ Patrons:
                0: "Don't send"
          - email receipts to patrons for payments and writeoffs.
      -
-         - "Use"
+         - "Use the patron's"
          - pref: AutoEmailPrimaryAddress
            default: "OFF"
            choices:
-               email: home
-               emailpro: work
-               B_email: alternate
-               cardnumber: cardnumber as
-               "OFF": first valid
-         - "patron email address for sending out emails."
+               email: primary email
+               emailpro: secondary email
+               B_email: alternate email
+               cardnumber: cardnumber
+               "OFF": first valid email address
+         - 'for sending welcome messages with <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AutoEmailNewUser">AutoEmailNewUser</a>.'
      -
          - pref: TalkingTechItivaPhoneNotification
            choices:
-- 
2.34.1