]> git.koha-community.org Git - koha.git/commit
Bug 18779: Translatability: Get rid of exposed tt directives in authorities-search...
authorMarc Véron <veron@veron.ch>
Mon, 12 Jun 2017 06:20:56 +0000 (08:20 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Aug 2017 19:43:37 +0000 (16:43 -0300)
commit331320f93a5ef5293c3bcad80b9554ddea0196b0
tree2b0ff94b75d1a48d1e15984507288fb605e3f10f
parentc8551645d5bdd3e6fb5b7e03280521a2fbaef636
Bug 18779: Translatability: Get rid of exposed tt directives in authorities-search-results.inc (OPAC)

The file opac-tmpl/bootstrap/en/includes/authorities-search-results.inc
exposes template directives to translation where translators should not
be confronted with.

Example:
"[%% PROCESS showreference heading=seeals.heading linkType='seealso' "
"type=seeals.type authid=seeals.authid %%] "

To test:
- Apply patch
- Verify that Authority search in OPAC works as before
- Bonus test: create a new language 'aa-AA', verify that line above
  does not show up in aa-AA-opac-bootstrap.po

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc