]> 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)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 19:11:58 +0000 (07:11 +1200)
commita84990a2114e3912a7d806bb0d04babf9a50b97f
tree0887da232623d947013bf8e06e88af1d1c0c31f2
parentc0c2666c5e8f16ecba5231dad221aa49383b8cf7
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>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt