]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 02:08:19 +0000 (14:08 +1200)
commit552af02c9f4e800d49334e3b87f50bb76da7bba8
treeadcc29847742d3c6735eefaad379666469bbf428
parent286b6f4e3e8db593fbe218ab08c622e5491ac44d
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>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt