Example for pure tt directives in translations: [% UNLESS opduplicate %][% othernames | html %][% END %]
Created attachment 63586 [details] [review] Bug 18644: Get rid of template directives when translating memberentrygen.tt Work in progress, not yet ready for testing.
Created attachment 63839 [details] [review] 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
Created attachment 63991 [details] [review] 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>
Trivial, skipping QA.
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, will be in 17.05.01
This patch has been pushed to 16.11.x and will be in 16.11.09.
Pushed to 16.05.x, for 16.05.15 release