Bugzilla – Attachment 17732 Details for
Bug 10083
In Transit string doesn't get translated in the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10083 - In Transit string doesn't get translated in the staff interface
Bug-10083---In-Transit-string-doesnt-get-translate.patch (text/plain), 1.69 KB, created by
Owen Leonard
on 2013-04-26 19:36:38 UTC
(
hide
)
Description:
Bug 10083 - In Transit string doesn't get translated in the staff interface
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-04-26 19:36:38 UTC
Size:
1.69 KB
patch
obsolete
>From e2b0c1ff5182ae965591b182b2f0cf1e517447b0 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 26 Apr 2013 15:18:12 -0400 >Subject: [PATCH] Bug 10083 - In Transit string doesn't get translated in the > staff interface >Content-Type: text/plain; charset="utf-8" > >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10083
:
17561
|
17732
|
17760
|
17767
|
18169
|
18457
|
18459