From c5726913774ed25c4125e65a12054a00c2f7dd76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= 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 --- 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 [% message | html %] [% END %] [% IF ( charges ) %] - [% INCLUDE 'blocked-fines.inc' - fines = chargesamount - %] + [% INCLUDE 'blocked-fines.inc' fines = chargesamount %] [% END %] [% IF ( charges_guarantees ) %] -- 2.39.5