]> git.koha-community.org Git - koha.git/commit
Bug 18695: Translatability: Get rid of [%% INCLUDE in translation for circulation.tt
authorMarc Véron <veron@veron.ch>
Tue, 30 May 2017 08:47:48 +0000 (10:47 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Jun 2017 08:50:26 +0000 (10:50 +0200)
commit6a3477b2cc5d67adc51dae81a0c953f4923b1d99
treeb7b0b2e9b3f5ac33196e3f88e31c85a785bd6510
parentb6f5f0331d6ea8b472a1e06b54d787482f4ae88d
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>
(cherry picked from commit c5726913774ed25c4125e65a12054a00c2f7dd76)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt