[Koha-patches] [PATCH] Bug 10083 : In Transit string doesn't get translated in the staff interface
Eric Bégin
Eric.Begin at inLibro.com
Fri Apr 19 20:06:44 CEST 2013
To test :
1) Install your translation
2) Transfer an item from branch A to branch B
3) Look a the item in the staff interface : You'll see the 'In transit' message in english
4) Apply patch
5) Install your translation
6) Look again a the items in the staff
---
.../prog/en/modules/catalogue/detail.tt | 7 ++++---
1 file changed, 4 insertions(+), 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 ef2b5b9..bd13d43 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -315,10 +315,11 @@ function verify_images() {
: due [% itemloo.datedue %]
</span>
[% ELSIF ( itemloo.transfertwhen ) %]
- In transit from [% itemloo.transfertfrom %],
- to [% itemloo.transfertto %], since [% itemloo.transfertwhen %]
- <!-- FIXME: the "since" clause is redundant w/ lastseen field -->
+ <span>In transit from </span>[% itemloo.transfertfrom %],
+ <span>to </span>[% itemloo.transfertto %]
+ <span>, since </span>[% itemloo.transfertwhen %]
[% END %]
+ <!-- FIXME: the "since" clause is redundant w/ lastseen field -->
[% IF ( itemloo.itemlost ) %]
[% IF ( itemloo.itemlostloop ) %]
--
1.7.9.5
More information about the Koha-patches
mailing list