From 1b695f7dd7ba3eb5b2ccc919099cd2c7b0f8c378 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 16 Oct 2014 13:48:36 +0200 Subject: [PATCH] Bug 13095: An email will be sent shortly This patch adjusts two instances where Koha says that an email has been sent while it is just enqueued (put in the message queue). The crontab example still suggests to run process_message_queue once an hour and the manual even speaks about 1-4 hours. In the process of selfregistration and sharing a shelf, I have adjusted the text "has been sent" to "will be sent shortly". This covers imo the one-hour frequency. When writing this patch, I have examined all calls of EnqueueLetter; I only found these two occurrences to be of interest. Note: I would recommend to increase this frequency in the documentation, but consider that for now to be outside the scope of this report. Test plan: [1] Self-register a new user with verification by email required. Look at the text when you submit your data. [2] Share a list with someone else. Look at the text when you submit the invitation. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Works as described, small string change. Signed-off-by: Tomas Cohen Arazi --- .../bootstrap/en/modules/opac-registration-email-sent.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt index 1900acc3cc..2fac057b7d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt @@ -29,7 +29,7 @@

Please confirm your registration

-

A confirmation email has been sent to the email address [% email %].

+

A confirmation email will be sent shortly to the email address [% email %].

Your account will not be activated until you follow the link provided in the confirmation email.

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt index 05a305b5ca..6891891f1e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt @@ -66,7 +66,7 @@ [% ELSIF op=='conf_invite' %]
[% IF approvedaddress %] -

An invitation to share list [% shelfname %] has been sent to [% approvedaddress %].

+

An invitation to share list [% shelfname %] will be sent shortly to [% approvedaddress %].

[% END %] [% IF failaddress %]

Something went wrong while processing the following addresses. Please check them. These are: [% failaddress %]

-- 2.39.5