Bug 18652: Get rid of tt directive in translation for uncertainprice.tt
Translation tool shows toe following for ncertainprice.tt
0; url=[% scriptname %]?booksellerid=[% booksellerid %]
This patch fixes it.
To test:
- Apply patch
- Verify that code change makes sense
- Verify that Home > Acquisitions > [vendor] > Uncertain prices for [vendor]
works as before
- Additional test (for a langunage 'aa-AA')
perl translate create aa-AA
verify that line 41 no longer appears in aa-AA-staff-prog.po
Amended to switch from BLOCK to a template variable, see comment #5
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2ee82801c7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
0f9175c0b2
commit
4d42774019
|
|
@ -38,7 +38,8 @@ var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the p
|
|||
|
||||
[% INCLUDE 'acquisitions-toolbar.inc' %]
|
||||
[% IF ( validate ) %]
|
||||
<META HTTP-EQUIV=Refresh CONTENT="0; url=[% scriptname %]?booksellerid=[% booksellerid %]">
|
||||
[% SET metacontent = '0; url=' _ scriptname _ '?booksellerid=' _ booksellerid %]
|
||||
<META HTTP-EQUIV=Refresh CONTENT="[% metacontent %]">
|
||||
[% ELSE %]
|
||||
[% IF ( booksellername ) %]
|
||||
<h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
|
||||
|
|
|
|||
Loading…
Reference in New Issue