From a324ab305e04d23961238cb59a65d1ec99bd3625 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 Content-Type: text/plain; charset=utf-8 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. --- .../en/modules/opac-registration-email-sent.tt | 2 +- .../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 1900acc..2fac057 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 05a305b..6891891 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 %]

-- 1.7.7.6