Bugzilla – Attachment 63838 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.60 KB, created by
Marc Véron
on 2017-05-30 08:51:27 UTC
(
hide
)
Description:
Bug 18695: Translatability: Get rid of [%% INCLUDE in translation for circulation.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-05-30 08:51:27 UTC
Size:
1.60 KB
patch
obsolete
>From 684d25b06c613488dbf3bd3476f0db24934c3089 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 ) >--- > 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 a0855e8..21fbbf2 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.1.4
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