Bug 9140 - Untranslatable strings in item circulation history
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Nov 2012 14:24:28 +0000 (09:24 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 26 Dec 2012 19:56:51 +0000 (08:56 +1300)
commit74fcfe7a7e430d2d0707558dda37841ad3e7581f
tree891826e024387af3ff926c996df5b8683add8559
parent4cf4e11faa42af3636305e8ba348f46c5e6a9b32
Bug 9140 - Untranslatable strings in item circulation history

This patch removes the text of a message from the script
to the template. The lastmove sub now returns either the date
or 0, and the template displays the "no transfers" message
if the date doesn't exist.

To test, view the circulation history for items which
do and do not have a transfer history. A date should be displayed
for items which have a transfer history. A messages should
be displayed for those which do not.

This patch also adds a <span> around the text "Never" which
was not getting picked up by the translation script. To test
this change, run "perl translate update <lang>" from misc/translator,
then check if the string shows up in the po file. (Thanks kf!)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
circ/bookcount.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt