From 6338c50f330f2771fa71978206a4594b20e6dc1f 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 --- 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 62af2a3..368b783 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 959eed2..3182a30 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 ab7549a..eb1d094 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 %] -- 1.9.1