]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 13 Jun 2017 05:39:37 +0000 (07:39 +0200)
commitd197d725a85298a33670d5fe27acba20ee563821
tree9eb5fdb8c3d936db4c773a072c45bc280a90ffe2
parentdadfbe1ca112b4a38ddcad10857caed6713080fb
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