[Koha-bugs] [Bug 18654] Translatability: Get rid of tt directives starting with [ %% in translation for itemsearch.tt
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 23 09:08:06 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18654
--- Comment #1 from Marc Véron <veron at 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.
More information about the Koha-bugs
mailing list