From d6ca541b5553331da83e5ae4c16b425c1a085ffd Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 7 May 2020 15:16:35 +0000 Subject: [PATCH] Bug 24963: Terminology: Use "auto-renewal" instead of alternatives This patch updates terminology in the templates so that "auto-renewal" is used instead of "auto renewal" or "autorenewal." To test, apply the patch and set the 'AllowPatronToControlAutorenewal' preference to "allow patrons." - Log in to the OPAC and view the "your account" page. - At the top of the "Checked out" tab you should see controls for turning auto-renewals on and off. The labels should be correct. - Turn off auto-renewals for this patron. - In the staff interface, view the detail page for the patron you updated in the previous step. - In right-hand column of information about the patron you should see "Auto-renewal: Patron has opted out." - Add "&print=brief" to the page URL. Check that auto-renewal information displays correctly on this brief view as well. - Go to Administration -> System preferences. - Under the "Circulation" tab, check that the description of the OPACFineNoRenewalsBlockAutoRenew preference refers to "auto-renewal." - Under the "Patrons" tab, check the description of the AllowPatronToControlAutorenewal refers to "auto-renewal." Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../prog/en/modules/admin/preferences/circulation.pref | 2 +- .../prog/en/modules/admin/preferences/patrons.pref | 2 +- .../intranet-tmpl/prog/en/modules/members/moremember-brief.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) 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 dc2e7dae19..9ea394b716 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 @@ -486,7 +486,7 @@ Circulation: choices: yes: Block no: Allow - - their auto renewals. + - their auto-renewals. - - If a patron pays off all fines on an overdue item that is accruing fines - pref: RenewAccruingItemWhenPaid 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 b9a0ee6261..13858bc151 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 @@ -84,7 +84,7 @@ Patrons: choices: yes: Allow patrons no: Allow only staff - - "to allow/disallow auto renewal for account. If allowed a patron will be able to update their own account to allow/disallow auto renewals" + - "to allow/disallow auto-renewal for account. If allowed a patron will be able to update their own account to allow/disallow auto renewals" Membership expiry: - - When renewing borrowers, base the new expiry date on diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt index 2eded98efb..c2745dfa7a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt @@ -84,7 +84,7 @@
  • Library: [% patron.library.branchname | html %]
  • [% IF ( patron.sort1 ) %]
  • Sort field 1:[% AuthorisedValues.GetByCode('Bsort1', patron.sort1) | html %]
  • [% END %] [% IF ( patron.sort2 ) %]
  • Sort field 2:[% AuthorisedValues.GetByCode('Bsort2', patron.sort2) | html %]
  • [% END %] - [% UNLESS ( patron.autorenew_checkouts ) %]
  • Auto renewal: Patron has opted out
  • [% END %] + [% UNLESS ( patron.autorenew_checkouts ) %]
  • Auto-renewal: Patron has opted out
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 01587de3e2..fe2e7afdbc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -522,7 +522,7 @@ [% END %] [% UNLESS ( patron.autorenew_checkouts ) %]
  • - Auto renewal: + Auto-renewal: Patron has opted out
  • [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index e101127ca2..3eaf7c16a3 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -154,7 +154,7 @@ [% IF Koha.Preference('AllowPatronToControlAutorenewal') %]
    [% IF ( borrower.autorenew_checkouts ) %]