]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Jun 2017 08:45:26 +0000 (10:45 +0200)
commit649cdbb91bffb37b0ea4958e80b55975ddce65bb
tree3c0f6d53ba743ff73f830658646d7c62b5fc3158
parent9db81e5ead064b21394c75ee9746cd825ec9954f
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt