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 <kyle@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2016-04-28 20:46:40 +02:00 committed by Kyle M Hall
parent b9625bbc8b
commit 4f91c48259
3 changed files with 3 additions and 2 deletions

View 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");

View 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 ) {

View 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 %]