Bug 14655: Fix wording

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Fixed a missing space after Error: :)
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
This commit is contained in:
Jonathan Druart 2015-09-14 13:22:21 +01:00 committed by Tomas Cohen Arazi
parent aaf2903cc0
commit fdc859281c
3 changed files with 3 additions and 3 deletions

View file

@ -2088,7 +2088,7 @@ sub MarkIssueReturned {
# We need to check if the anonymous patron exist, Koha will fail loudly if it does not # We need to check if the anonymous patron exist, Koha will fail loudly if it does not
# Note that a warning should appear on the about page (System information tab). # Note that a warning should appear on the about page (System information tab).
$anonymouspatron = C4::Context->preference('AnonymousPatron'); $anonymouspatron = C4::Context->preference('AnonymousPatron');
die "Fatal error: the patron ($borrowernumber) has requested a privacy on returning item but the AnonymousPatron pref is not set correctly" die "Fatal error: the patron ($borrowernumber) has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or not set correctly."
unless C4::Members::GetMember( borrowernumber => $anonymouspatron ); unless C4::Members::GetMember( borrowernumber => $anonymouspatron );
} }
my $dbh = C4::Context->dbh; my $dbh = C4::Context->dbh;

View file

@ -590,7 +590,7 @@ No patron matched <span class="ex">[% message %]</span>
<div class="yui-g"> <div class="yui-g">
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
<div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div> <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div>
[% END %] [% END %]
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]

View file

@ -119,7 +119,7 @@ $(document).ready(function () {
<div class="yui-g"> <div class="yui-g">
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
<div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div> <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div>
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %] [% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
<div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div> <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
[% END %] [% END %]