Bug 15533: QA follow-up - Formatting and improving translatability
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 28 Apr 2016 18:46:40 +0000 (20:46 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 10:26:05 +0000 (10:26 +0000)
- 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 <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc
koha-tmpl/intranet-tmpl/prog/en/js/holds.js
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt

index 62af2a3..368b783 100644 (file)
@@ -21,6 +21,7 @@
     var RENEWALS_REMAINING = _("%s of %s renewals remaining");
     var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
     var UNTIL = _("until %s");
+    var NEXT_AVAILABLE_ITYPE = _("Next available %s item");
     var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>");
     var ITEM_IS_WAITING_HERE = _("Item is <strong>waiting here</strong>");
     var AT = _("at %s");
index 959eed2..3182a30 100644 (file)
@@ -63,7 +63,7 @@ $(document).ready(function() {
                             }
 
                             if ( oObj.itemtype_limit ) {
-                                data += _("<b> Next available %s item").format( oObj.itemtype_limit );
+                                data += NEXT_AVAILABLE_ITYPE.format( oObj.itemtype_limit );
                             }
 
                             if ( oObj.barcode ) {
index ab7549a..eb1d094 100644 (file)
@@ -814,7 +814,7 @@ function checkMultiHold() {
                 </i>
             [% ELSE %]
                 [% IF reserveloo.itemtype %]
-                    <i><b>Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) %] item</b></i>
+                    <i>Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) %] item</i>
                 [% ELSE %]
                     <i>Next available</i>
                 [% END %]