]> git.koha-community.org Git - koha.git/commit
Bug 18778 - Translatability: Get rid of tt directive in translation for item-status.inc
authorMarc Véron <veron@veron.ch>
Mon, 12 Jun 2017 05:48:57 +0000 (07:48 +0200)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 02:00:03 +0000 (14:00 +1200)
commit19e5f77c5f8c785dd0a1ed3f92af814e18bc147b
tree4dafe132e468f9645f2c698e0b741428f4a17a47
parent1be172f350150164c5d56e12d2b4614924821920
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)

NOTE: Followed test plan similar to bug 18776 comment 3.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c8551645d5bdd3e6fb5b7e03280521a2fbaef636)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b9ff28f719cb17d37e5eaecc4fb09b9032cc38e5)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc