Bugzilla – Attachment 63993 Details for
Bug 18695
Translatability: Get rid of [%% INCLUDE in translation for circulation.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18695: Translatability: Get rid of [%% INCLUDE in translation for circulation.tt
Bug-18695-Translatability-Get-rid-of--INCLUDE-in-t.patch (text/plain), 1.68 KB, created by
Jonathan Druart
on 2017-06-05 20:08:26 UTC
(
hide
)
Description:
Bug 18695: Translatability: Get rid of [%% INCLUDE in translation for circulation.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-05 20:08:26 UTC
Size:
1.68 KB
patch
obsolete
>From c5726913774ed25c4125e65a12054a00c2f7dd76 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 30 May 2017 10:47:48 +0200 >Subject: [PATCH] Bug 18695: Translatability: Get rid of [%% INCLUDE in > translation for circulation.tt > >The file circ/circulation.tt exposes the following line to translation: >%s %s [%% INCLUDE 'blocked-fines.inc' fines = chargesamount %%] %s %s >Translators should not be confronted with code internals. > >This patch fixes it by removing a line break. > >To test: >- Verify that code change makes sense >- Run QA tools in newest version (check for line breaks in tt directives) >- Bonus test: Create a "language" aa-AA (perl translate create aa-AA > from folder misc/translator, verify that line mentioned above do > no longer appear in aa-AA-staff-prog.po ) > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index a0855e8417..21fbbf2744 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -799,9 +799,7 @@ No patron matched <span class="ex">[% message | html %]</span> > [% END %] > > [% IF ( charges ) %] >- [% INCLUDE 'blocked-fines.inc' >- fines = chargesamount >- %] >+ [% INCLUDE 'blocked-fines.inc' fines = chargesamount %] > [% END %] > > [% IF ( charges_guarantees ) %] >-- >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 18695
:
63838
| 63993