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

Alex Buckley <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63643|0                           |1
        is obsolete|                            |

--- Comment #2 from Alex Buckley <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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