]> 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)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 19:10:21 +0000 (07:10 +1200)
commit4b9688650d7d11a667aad54f45773509a37215ae
treed225b26ba0cfeecb7c88a5332a42afeb08d00425
parent367b9f0241609d31b02ba4b3a15d57c0a4cdcc2f
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>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt