Bugzilla – Attachment 64736 Details for
Bug 18778
Translatability: Get rid of tt directive in translation for item-status.inc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 18778 - Translatability: Get rid of tt directive in translation for item-status.inc
SIGNED-OFF-Bug-18778---Translatability-Get-rid-of-.patch (text/plain), 2.05 KB, created by
Mark Tompsett
on 2017-06-30 01:21:15 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 18778 - Translatability: Get rid of tt directive in translation for item-status.inc
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-06-30 01:21:15 UTC
Size:
2.05 KB
patch
obsolete
>From fa850f2265c45f5e00146721be2bf5ea703a9d61 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 12 Jun 2017 07:48:57 +0200 >Subject: [PATCH] [SIGNED-OFF] 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> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc >index 843fcf6a46..f078463fb4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc >@@ -1,12 +1,10 @@ > [% USE AuthorisedValues %] > [% SET itemavailable = 1 %] > >-[%#- >-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. >--%] >+[%#- 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. -%] > > [% IF ( item.itemlost ) %] > [% SET itemavailable = 0 %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18778
:
64189
|
64736
|
66645