https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18654

--- Comment #1 from Marc VĂ©ron <ve...@veron.ch> ---
Created attachment 63643
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63643&action=edit
Bug 18654: Translatability: Get rid of tt directives starting with [%% in
translation for itemsearch.tt

Translation for file itemsearch.tt exposes tt directifes like:
%s %s %s %s %s %s %s %s %s [%% params = { f => f.$i q = q.$i op = op.$i } %%]
%s %s %s %s %s %s %s %s %s %s %s
or
[%% 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

This patch fixes it.

To test:
- Apply patch
- Verify that itemsearch behaves as before
- Verify that code changes make sense
- Test a translatiion e.g. translator create aa-AA and
  verifiy that strings from itemsearch.tt starting with [%%
  no longer appear

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to