Bug 15355: Translatability: Fix issues on check in page
authorMarc Véron <veron@veron.ch>
Fri, 11 Dec 2015 17:06:10 +0000 (18:06 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 29 Jan 2016 12:23:02 +0000 (13:23 +0100)
commitd11bc6f6b86bad7b113b71046e2bd0a5d2a3c89f
tree11dd3573ba8edfce0e389a6659fd663ee21945ad
parentdcebc487e50ad876b7f70431d4718d4cc5f60be0
Bug 15355: Translatability: Fix issues on check in page

This patch fixes translatability issues on checkin page, due to sentence splitting by html tags at
several places and ambiguous word 'to'.

Additionally, fix message related to syspref AllowReturnToBranch set to 'only the library where the
item is checked out from' (it wrongly displays the home library instead of the holding library),
and streamline the display of similar messages to look more consistent.

To test:
- Apply patch
- Go to Home > Circulation > Check in
- Do check ins with different expected results / messages
- Verify that the messages are meaningful and display nicely
- Play with items checked out / checked in at different branches (home branch, holding branch, other
  branch) and different settings for syspref 'AllowREturnToBranch' and verify that the messages display
  properly (with correct home rsp. holding branch)
- Carfully review code changes.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ee64d19fab61bc2e4f4e78e698802cf3d4bc3d1c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt