Bug 10083 [3.10.x] In Transit string doesn't get translated in the staff interface

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: Gaetan Boisson <gaetan.boisson@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
This commit is contained in:
Owen Leonard 2013-05-16 09:20:01 -04:00 committed by Chris Hall
parent 32619477a1
commit 1612e7d5e7
1 changed files with 1 additions and 3 deletions

View File

@ -316,9 +316,7 @@ 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 class="intransit">In transit from [% itemloo.transfertfrom %] to [% itemloo.transfertto %] since [% itemloo.transfertwhen %]</span>
[% END %]
[% IF ( itemloo.itemlost ) %]