]> git.koha-community.org Git - koha.git/commit
Bug 18701: Translatability: Get rid of exposed tt directives in matching-rules.tt
authorMarc Véron <veron@veron.ch>
Tue, 30 May 2017 15:50:57 +0000 (17:50 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 13 Jun 2017 05:35:09 +0000 (07:35 +0200)
commit48e77a77b6105ae96d97d9d1d03034cf1c2478cc
tree00f6b94fb581468320ef2b27b46a8104c063f1ae
parent3bbb4b17066b1a9e4887862a03e8fe4a4662e58d
Bug 18701: Translatability: Get rid of exposed tt directives in matching-rules.tt

Translation for file matching-rules.tt exposes a lot of template directives.

Translators should not be confronted with internal code like the following:

[%% PROCESS norms_select selected_norm=\"none\" id=\"mc_1_src_c_1_n_1_norm\" "name=\"mc_1_src_c_1_n_1_norm\" %%]

To test:
- Apply patch
- Verify that code changes make sense (removes line breaks in directives)
- Run QA tools in newset version (tests for line breaks in tt)
- Bonus test: create a new translation e.g. fpr language 'aa-AA', verify
  that such lines no longer appear in po/aa-AA-staff-prog.po
  (for matching-rules.tt)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1a023a670c1bf0faffe51faefc42fdd6407c2320)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 884467bf481a4c77d0dae5a7add47ebc828f17ce)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt