Bugzilla – Attachment 66641 Details for
Bug 18652
Translatability: Get rid of tt directive in translation for uncertainprice.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18652: Get rid of tt directive in translation for uncertainprice.tt
Bug-18652-Get-rid-of-tt-directive-in-translation-f.patch (text/plain), 1.95 KB, created by
Jonathan Druart
on 2017-08-30 19:35:40 UTC
(
hide
)
Description:
Bug 18652: Get rid of tt directive in translation for uncertainprice.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-30 19:35:40 UTC
Size:
1.95 KB
patch
obsolete
>From d3465a02ba83005eb42e6eaac69b888e69b831b6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 22 May 2017 21:09:06 +0200 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >index 506805382b..51d52a3d15 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >@@ -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> >-- >2.11.0
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 18652
:
63639
|
63772
|
63931
|
64141
|
64151
|
65399
| 66641