From 0e00f4b193786e19e618f65762b08e58161175e1 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 31 Jan 2024 12:55:01 +0000 Subject: [PATCH] Bug 18397: (follow-up) Some tiny style and spelling changes * cc is an abbreviation, so updated to CC * Adding consistency with punctuation for error messages * Updated a borrower to patron Signed-off-by: Katrin Fischer (cherry picked from commit e8c3142d81879eb453468279baa69fa6245c286e) Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/members/notices.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt index 601c1b8b82..2ff0d75d14 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -100,7 +100,7 @@ [% IF ( QUEUED_MESSAGE.failure_code ) %] [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]Invalid borrowernumber [% borrowernumber | html %] - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]Unable to find an email address for this borrower + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]Unable to find an email address for this patron [% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]Invalid [% matches.0 | html %] email address found [% borrowernumber | html %] [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]Missing from email address [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]Missing SMS number @@ -108,18 +108,18 @@ [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_NOTES' ) %]No notes from SMS driver [% ELSIF ( QUEUED_MESSAGE.failure_code == 'SENDMAIL' ) %]Unhandled email failure, check the logs for further details [% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]Unknown error - [% ELSE %]Error occurred while sending email. + [% ELSE %]Error occurred while sending email [% END %] [% END %] [% IF ( QUEUED_MESSAGE.status == 'sent' ) %] [% IF ( QUEUED_MESSAGE.from_address ) %] - from: [% QUEUED_MESSAGE.from_address | html %] + From: [% QUEUED_MESSAGE.from_address | html %] [% END %] [% IF ( QUEUED_MESSAGE.to_address ) %] - to: [% QUEUED_MESSAGE.to_address | html %] + To: [% QUEUED_MESSAGE.to_address | html %] [% END %] [% IF ( QUEUED_MESSAGE.cc_address ) %] - cc: [% QUEUED_MESSAGE.cc_address | html %] + CC: [% QUEUED_MESSAGE.cc_address | html %] [% END %] [% END %] -- 2.39.5