[Koha-bugs] [Bug 18776] Translatability: Get rid of exposed tt directives in opac-advsearch.tt
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jun 11 16:59:15 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18776
--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 64181
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64181&action=edit
Bug 18776: Translatability: Get rid of exposed tt directives in
opac-advsearch.tt
The file opac-advsearch.tt exposes template directives to translation where
translators should not be confronted with.
Example in po file:
"[%% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype')."
"size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and "
"OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) "
"%%] "
To test:
- Apply patch
- Verify that advanced search in OPAC behaves as before
- Create a new translation for a 'language' aa-AA (perl translate create aa-AA)
- Verify that template directives ar no longer exposed in
aa-AA-opac-bootstrap.po
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list