]> git.koha-community.org Git - koha.git/commit
Bug 18654 - Translatability: Get rid of tt directives starting with [%% in translatio...
authorMarc Véron <veron@veron.ch>
Thu, 29 Jun 2017 13:22:54 +0000 (15:22 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 14 Sep 2017 13:30:56 +0000 (15:30 +0200)
commitdcafcbc036f9229d2d2854012f80fe051012a349
treee88bb4d809233deba8a6912adadfd249df3c5105
parent4c76583e6d3079bad51048f62f43c3c433f1e9bd
Bug 18654 - Translatability: Get rid of tt directives starting with [%% in translation for itemsearch.tt

This patch removes entries like the following in translations of itemsearch.tt:
"[%% INCLUDE form_field_select name=\"homebranch\" options = branches "
"empty_option = \"All libraries\" %%] [%% INCLUDE form_field_select name="
"\"holdingbranch\" options = branches empty_option = \"All libraries\" %%] %s "
"[%% INCLUDE form_field_select name=\"location\" options = locations "
"empty_option = \"All locations\" %%] %s "

New patch on top of Bug 18633 that resolves parts of initial comment.

To test:
- Verify that in itemsearch.tt no tt directives are splitted by new lines
  (search for [% INCLUDE )
- Verify that itemsearch.tt works as before

Followed test plan and verified that tt directives are not split by new
lines, the changes to the fieldset tags in comment 3 have been removed
and itemtype.tt still works correctly as before

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 25fa02272d16c98d49a6020e867f60bc0510d960)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt