]> git.koha-community.org Git - koha.git/commit
Bug 18648: Translatability: Get rid of tt directives in translation for macles.tt
authorMarc Véron <veron@veron.ch>
Tue, 30 May 2017 19:10:32 +0000 (21:10 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Jun 2017 08:26:53 +0000 (10:26 +0200)
commite7cf94446e1c6ff413bb8d725f9c6cbf2e9adca9
tree0e768b66da173c448cace6fe51a843f6e7152fb6
parent2861d291c3478a5c2f2ba89fa30280484f743a82
Bug 18648: Translatability: Get rid of tt directives in translation for macles.tt

koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt contains
template directives inside a div tag:
<span title="[% FOREACH lib IN cell.libs %][% lib.lib |html %] - [% END %]">
This is exposed in translation tool.

To test:
- Carefully examine code changes
- Apply patch, verify that the directive is no longer exposed (picked for
  po files), e.g. by creating a new "language" aa-AA and examing aa-AA-staff-prog.po
- If you know where / how this macles is used, verify that it behaves as before

(Note: New patch, needs new sign off)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 00d3a883b5e4d2ff1f5badef3c5dc33d7913bebe)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt