Bug 9140 - Untranslatable strings in item circulation history
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Nov 2012 14:24:28 +0000 (09:24 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 22 Dec 2012 21:02:54 +0000 (16:02 -0500)
commit533c9bc657812a18c9479d01419418d7c38ec889
tree38f0c0e41d3f476816158cd5970d640f408410f4
parentd9213da3ad39ad8a83fab1046aa1918aba38c33c
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>
circ/bookcount.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt