]> git.koha-community.org Git - koha.git/commit
Bug 26420: Use translated notices for overdue_notices.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 10 Sep 2020 07:42:58 +0000 (09:42 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 15 Oct 2020 21:50:26 +0000 (21:50 +0000)
commiteb88ec34bffb57554f31e7b56cd40b37aaa08e6b
tree6ecd942e6465f4a0a8fe48df9ef56e4ddc8074aa
parent6b6650ff90893b42e837d809ac1a5ea34c52079d
Bug 26420: Use translated notices for overdue_notices.pl

This script does not pass the patron's preferred lang for notices.

Test plan:
Enable TranslateNotices
Create a patron with a preferred lang for notices != default
Translate ODUE for this language
Setup the overdue notices for this patron's category
Check an item out for this patron (select the correct due date to
trigger the notice)
Run the script overdue_notices.pl
Check the message_queue table and confirm that the notice enqueued is
translated

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8e397330f687bd0e9e39387e32a8a8acbbb3b31a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/cronjobs/overdue_notices.pl