From 23691a37fcb53b46ffd261d6df10cd194dea20e3 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Fri, 15 Jan 2016 00:25:52 +0000 Subject: [PATCH] Bug 15274: Putting tags around entire string where the originally split the sentence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I have only done this where the tags split the sentence. To test: 1) Go to a borrower's check out page (circulation.pl) 2) Check out a book and specify the due date to a past date (ie, to 2015 etc) 3) Confirm the entire sentence in the error message is styled by the span tags. 4) Create a manual invoice of $100 for the borrower 5) Confirm the entire sentence in the error message styled by span tags. 6) Check the patch and the circulation.tt file and confirm that I haven't missed any tags that split the string and make translation difficult. I personally do not prefer this patch because the red bold sentences don't look very good and aren't highly readable. Signed off on this second patch, see screenshots in comment #4. (Forbidden tab char in line 779 removed) Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 7c5573a..0aa566a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -776,14 +776,14 @@ No patron matched [% message %] [% END %] - [% IF ( odues ) %]
  • [% IF ( nonreturns ) %]Overdues: Patron has ITEMS OVERDUE. See highlighted items below[% END %]
  • + [% IF ( odues ) %]
  • [% IF ( nonreturns ) %]Overdues: Patron has ITEMS OVERDUE. See highlighted items below[% END %]
  • [% END %] [% IF ( charges ) %]
  • Fees & Charges: Patron has Outstanding fees & charges[% IF ( chargesamount ) %] of [% chargesamount %][% END %]. [% IF ( charges_is_blocker ) %] - Checkouts are BLOCKED because fine balance is OVER THE LIMIT. + Checkouts are BLOCKED because fine balance is OVER THE LIMIT. [% END %] Make payment or Pay all fines
  • -- 1.7.10.4