[Koha-bugs] [Bug 18780] Translatability: Get rid of exposed tt directive in masthead-langmenu.inc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 12 08:55:00 CEST 2017


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

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 64191
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64191&action=edit
Bug 18780: Translatability: Get rid of exposed tt directive in
masthead-langmenu.inc

The file opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc exposes
following tt directive to translators:

"[%% IF ( ( opaclanguagesdisplay ) && ( ! one_language_enabled ) && "
"( languages_loop ) && ( OpacLangSelectorMode == 'both' || "
"OpacLangSelectorMode == 'top') ) %%] "

This patch fixes it.

To test:
- Apply patch
- Verify that language selector in OPAC (top of the page) works as expected
- Bonus test: create a new language 'aa-AA', verify that line above does not
show up 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