Bug 15676 - Actions in pending offline circulation actions are not translatable
authorOwen Leonard <oleonard@myacpl.org>
Thu, 26 May 2016 16:29:38 +0000 (12:29 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 15 Jun 2016 07:02:05 +0000 (09:02 +0200)
commitacc459fa1bae3b1abd13b826420bfb836a1250af
treee057c0867d587adbec65cd1dc45154d597f4ca72
parent4b3b7bbd8d6b497e17ad862737c607bcc5fd09e4
Bug 15676 - Actions in pending offline circulation actions are not translatable

This patch modifies the offline circulation transaction processing page
so that English strings describing actions are processed in the template
rather than being output directly from the script.

To test, apply the patch and create an offline circulation file
containing at least one checkout, one check-in, and one payment.

- Upload the file and choose 'Add to offline circulation queue.'
- View pending offline circulation actions
- In the list of pending actions, the actions column should show "Check
  out" instead of "issue," "Check in" instead of "return," and "Payment"
  instead of "payment."

Strings appear as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit e9d6ac9478606d9d123a22635719b99d985b9538)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt