[Koha-bugs] [Bug 18778] Translatability: Get rid of tt directive in translation for item-status.inc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 12 07:53:11 CEST 2017


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

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 64189
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64189&action=edit
Bug 18778 - Translatability: Get rid of tt directive in translation for
item-status.inc

The file opac-tmpl/bootstrap/en/includes/item-status.inc exposes a template
directive where translators should not be confronted with.

"%s %s [%%#- This include takes two parameters: an item structure and an "
"optional loan (issue) structure. The issue structure is used by course "
"reserves pages, which do not use an API to fetch items that populates item."
"datedue. -%%] %s %s %s %s "

This patch fixes new lines inside a tt directive (comment).
It is merely a string patch.

To test:
Verify that the code changes make sense.
(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 the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list