Bug 18911: Add the ability to set the preferred lang for notice at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Jun 2020 10:20:36 +0000 (12:20 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Jul 2020 14:55:18 +0000 (14:55 +0000)
commitbe2c5e50a7c4ec0029cb155d42d1b6f8c739dbc8
tree0478497d95b88c639cdf2e3743265ec03e72ee46
parent290e7fe9b9c7d41177204699e61d5419c6cab363
Bug 18911: Add the ability to set the preferred lang for notice at the OPAC

Patron should be allowed to modify this setting without asking a staff
member.

The setting is not configurable and cannot be hidden via a syspref.

Test plan:
- Turn the pref TranslateNotices on
- Install some languages
- Edit your messaging settings at the OPAC
=> Notice the "Preferred language for notices" dropdown list
- Select one
=> Confirm that the value is saved in DB

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0ab27fe6da01095ec3303e35b5736f9ed9bbc07e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt
opac/opac-messaging.pl