]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 19:35:09 +0000 (16:35 -0300)
commit00d3a883b5e4d2ff1f5badef3c5dc33d7913bebe
treedbaf6a17882b5875b784924e07443ff430e46cc8
parent16307c40343cdb0ed4ff69c9c001fc4d9e1a459f
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>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt