From 5cb1d95b02dcd6f9a38f3cbfd3f2effa14a96f3c Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 23 May 2020 06:23:37 +0000 Subject: [PATCH] Bug 20057: Fix capitalization and rephrase system preference as a sentence This makes changes to strings involved in this feature: - Rephrases the system preference description into a sentence - Rephrases message shown in OPAC on submitting (library has not actively approved, so just say that the record has been modified) Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- .../mysql/atomicupdate/AutoApprovePatronProfileSettings.sql | 2 +- .../prog/en/modules/admin/preferences/patrons.pref | 3 ++- .../bootstrap/en/modules/opac-memberentry-update-submitted.tt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql b/installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql index 55f54def46..d7c0104468 100644 --- a/installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql +++ b/installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql @@ -1,2 +1,2 @@ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type`) VALUES -('AutoApprovePatronProfileSettings', '0', '', 'Automatically approve Patron profile changes.', 'YesNo'); +('AutoApprovePatronProfileSettings', '0', '', 'Automatically approve patron profile changes from the OPAC.', 'YesNo'); 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 be281c43e0..4a6396eab2 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 @@ -78,7 +78,8 @@ Patrons: choices: yes: Enable no: Disable - - "Automatically approve Patron profile changes." + - "automatic approval of patron detail changes from the OPAC." + - Requires OPACPatronDetails to be activated. - - pref: ProtectSuperlibrarianPrivileges choices: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt index 5a2bd8461d..1b3d285c37 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt @@ -26,7 +26,7 @@

Thank you

[% IF ( Koha.Preference('AutoApprovePatronProfileSettings') ) %] -

Your updates have been submitted and accepted by the library.

+

Your updates have been submitted and your patron account has been modified.

[% ELSE %]

Your updates have been submitted. A librarian will review your updates before applying them.

[% END %] -- 2.39.5