]> git.koha-community.org Git - koha.git/commit
Bug 18644: Translatability: Get rid of pure template directives in translation for...
authorMarc Véron <veron@veron.ch>
Tue, 30 May 2017 09:23:20 +0000 (11:23 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 19:36:14 +0000 (16:36 -0300)
commit5a30dea05b158fd6a77b0495ee047310865072eb
tree9cc0bda3cc6d87f685419b874c4a20a4be433ce4
parent953504a0769a38a60f379a2e9c72bf7b71814fd0
Bug 18644: Translatability: Get rid of pure template directives in translation for memberentrygen.tt

Translation for memberentrygen.tt exposes a lot of template directives
like the following:
[% UNLESS opduplicate %][% othernames | html %][% END %]
Translators should not be confronted with such code internals.

To test:
- Review code changes
- Verify that creating / editing patrons works as before
- Bonus test: Create a "language" aa-AA (perl translate create aa-AA
  from folder misc/translator, verify that lines like mentioned above
  do no longer appear in aa-AA-staff-prog.po

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt