View | Details | Raw Unified | Return to bug 11703
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (-5 / +5 lines)
Lines 14-27 Link Here
14
    var ON_HOLD = _("On hold");
14
    var ON_HOLD = _("On hold");
15
    var NOT_RENEWABLE = _("Not renewable");
15
    var NOT_RENEWABLE = _("Not renewable");
16
    var NOT_RENEWABLE_TOO_SOON = _("Cannot renew, renewal is premature");
16
    var NOT_RENEWABLE_TOO_SOON = _("Cannot renew, renewal is premature");
17
    var RENEWALS_REMAINING = _("_RENEWALS_REMAINING_ of _RENEWALS_ALLOWED_ renewals remaining");
17
    var RENEWALS_REMAINING = _("%s of %s renewals remaining");
18
    var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
18
    var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
19
    var UNTIL = _("until _SUSPEND_UNTIL_");
19
    var UNTIL = _("until %s");
20
    var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>"); //
20
    var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>"); //
21
    var AT = _("at _WAITING_AT_BRANCH_");
21
    var AT = _("at %s");
22
    var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from _FROM_BRANCH_");
22
    var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from %s");
23
    var FROM = _("from");
23
    var FROM = _("from");
24
    var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from _FROM_BRANCH_");
24
    var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from %s");
25
    var NO = _("No");
25
    var NO = _("No");
26
    var YES = _("Yes");
26
    var YES = _("Yes");
27
//]]>
27
//]]>
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js (-1 / +1 lines)
Lines 258-264 $(document).ready(function() { Link Here
258
258
259
                    if ( oObj.renewals_remaining ) {
259
                    if ( oObj.renewals_remaining ) {
260
                        content += "<span class='renewals'>("
260
                        content += "<span class='renewals'>("
261
                                + RENEWALS_REMAINING.replace( "_RENEWALS_REMAINING_", oObj.renewals_remaining ).replace( "_RENEWALS_ALLOWED_", oObj.renewals_allowed )
261
                                + RENEWALS_REMAINING.format( oObj.renewals_remaining, oObj.renewals_allowed )
262
                                + ")</span>";
262
                                + ")</span>";
263
                    }
263
                    }
264
264
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js (-5 / +4 lines)
Lines 50-56 $(document).ready(function() { Link Here
50
                            if ( oObj.suspend == 1 ) {
50
                            if ( oObj.suspend == 1 ) {
51
                                data += "<p>" + HOLD_IS_SUSPENDED;
51
                                data += "<p>" + HOLD_IS_SUSPENDED;
52
                                if ( oObj.suspend_until ) {
52
                                if ( oObj.suspend_until ) {
53
                                    data += " " + UNTIL.replace( "_SUSPEND_UNTIL_", oObj.suspend_until_formatted );
53
                                    data += " " + UNTIL.format( oObj.suspend_until_formatted );
54
                                }
54
                                }
55
                                data += "</p>";
55
                                data += "</p>";
56
                            }
56
                            }
Lines 61-72 $(document).ready(function() { Link Here
61
                                    data += ITEM_IS_WAITING;
61
                                    data += ITEM_IS_WAITING;
62
62
63
                                    if ( ! oObj.waiting_here ) {
63
                                    if ( ! oObj.waiting_here ) {
64
                                        data += " " + AT.replace("_WAITING_AT_BRANCH_", oObj.waiting_at );
64
                                        data += " " + AT.format( oObj.waiting_at );
65
                                    }
65
                                    }
66
                                } else if ( oObj.transferred ) {
66
                                } else if ( oObj.transferred ) {
67
                                    data += ITEM_IS_IN_TRANSIT.replace( "_FROM_BRANCH_", oObj.from_branch );
67
                                    data += ITEM_IS_IN_TRANSIT.format( oObj.from_branch );
68
                                } else if ( oObj.not_transferred ) {
68
                                } else if ( oObj.not_transferred ) {
69
                                    data += NOT_TRANSFERRED_YET.replace( "_FROM_BRANCH_", oObj.not_transferred_by );
69
                                    data += NOT_TRANSFERRED_YET.format( oObj.not_transferred_by );
70
                                }
70
                                }
71
                                data += "</em>";
71
                                data += "</em>";
72
72
73
- 

Return to bug 11703