From b8f173034de44f616e78757596470fc707f6fe6c 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 --- installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql | 2 +- koha-tmpl/intranet-tmpl/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 143433f523..5753123781 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 @@ -77,7 +77,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 1822da692e..0a38569331 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.11.0