]> 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)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 19:17:15 +0000 (07:17 +1200)
commit14a0e72d2cd25cce9d3a0b3d1d5c7b9732d58295
tree18c9e793e214cb354be9bbaca9c0ef655f3746aa
parentad0c7f427bae507e1ab6163e8e66908be52698be
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>
(cherry picked from commit 5a30dea05b158fd6a77b0495ee047310865072eb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 649cdbb91bffb37b0ea4958e80b55975ddce65bb)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt