Bug 10083 - In Transit string doesn't get translated in the staff interface
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Apr 2013 19:18:12 +0000 (15:18 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 10:33:36 +0000 (06:33 -0400)
For some reason this text inside a <td> isn't getting picked up by the
translator unless it's inside a <span>. This patch adds the span and
tidies up the text.

To test, apply the patch and "translate update" a translation. Searching
the po file for "In transit from" should return a result from detail.pl.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template only change fixing a translation problem.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index 8f40e31..495d7e3 100644 (file)
@@ -403,9 +403,7 @@ function verify_images() {
                                 : due [% item.datedue %]
                             </span>
                         [% ELSIF ( item.transfertwhen ) %]
-                            In transit from [% item.transfertfrom %],
-                            to [% item.transfertto %], since [% item.transfertwhen %]
-                            <!-- FIXME: the "since" clause is redundant w/ lastseen field -->
+                            <span class="intransit">In transit from [% itemloo.transfertfrom %] to [% itemloo.transfertto %] since [% itemloo.transfertwhen %]</span>
                         [% END %]
 
                         [% IF ( item.itemlost ) %]