]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 13 Jun 2017 05:40:51 +0000 (07:40 +0200)
commitad7cf311847fecda6bcaabb2aae8271a884e656f
tree203533a4b1b2b85d463571a0298dc4fafa9039b8
parent99a4aa57ad4161d2a841b7e11f2c25688ae2864b
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>
(cherry picked from commit 6a3477b2cc5d67adc51dae81a0c953f4923b1d99)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt