[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
Sun May 28 12:34:49 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18654
Alex Buckley <alexbuckley at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #63643|0 |1
is obsolete| |
--- Comment #2 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 63773
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63773&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
Followed test plan and patch worked as intended
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list