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.
---
 .../prog/en/modules/catalogue/detail.tt            |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt 
b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 8f40e31..495d7e3 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -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 ) %]
-- 
1.7.9.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to