From 4f91c48259b2fe3fd6f1c0f1dfee0f0d99eb10d7 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 28 Apr 2016 20:46:40 +0200 Subject: [PATCH] Bug 15533: QA follow-up - Formatting and improving translatability - Makes new message in the holds tables in the patron account translatable - Unbolds the note in the holds table for the record Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc | 1 + koha-tmpl/intranet-tmpl/prog/en/js/holds.js | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc index 62af2a3275..368b783ef5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc @@ -21,6 +21,7 @@ var RENEWALS_REMAINING = _("%s of %s renewals remaining"); var HOLD_IS_SUSPENDED = _("Hold is suspended"); var UNTIL = _("until %s"); + var NEXT_AVAILABLE_ITYPE = _("Next available %s item"); var ITEM_IS_WAITING = _("Item is waiting"); var ITEM_IS_WAITING_HERE = _("Item is waiting here"); var AT = _("at %s"); diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js b/koha-tmpl/intranet-tmpl/prog/en/js/holds.js index 959eed2380..3182a30dd4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/holds.js @@ -63,7 +63,7 @@ $(document).ready(function() { } if ( oObj.itemtype_limit ) { - data += _(" Next available %s item").format( oObj.itemtype_limit ); + data += NEXT_AVAILABLE_ITYPE.format( oObj.itemtype_limit ); } if ( oObj.barcode ) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index ab7549a475..eb1d094838 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -814,7 +814,7 @@ function checkMultiHold() { [% ELSE %] [% IF reserveloo.itemtype %] - Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) %] item + Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) %] item [% ELSE %] Next available [% END %] -- 2.39.5