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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (-11 / +8 lines)
Lines 10-30 Link Here
10
    var REASON_UNKNOWN = _("reason unkown");
10
    var REASON_UNKNOWN = _("reason unkown");
11
    var TODAYS_CHECKOUTS = _("Today's checkouts");
11
    var TODAYS_CHECKOUTS = _("Today's checkouts");
12
    var PREVIOUS_CHECKOUTS = _("Previous checkouts");
12
    var PREVIOUS_CHECKOUTS = _("Previous checkouts");
13
    var BY = _("by");
13
    var BY = _("by _AUTHOR_");
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 OF = _("of");
17
    var RENEWALS_REMAINING = _("_RENEWALS_REMAINING_ of _RENEWALS_ALLOWED_ renewals remaining");
18
    var RENEWALS_REMAINING = _("renewals remaining");
18
    var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
19
    var HOLD_IS = _("Hold is");
19
    var UNTIL = _("until _SUSPEND_UNTIL_");
20
    var SUSPENDED = _("suspended");
20
    var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>"); //
21
    var UNTIL = _("until");
21
    var AT = _("at _WAITING_AT_BRANCH_");
22
    var ITEM_IS = _("Item is");
22
    var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from _FROM_BRANCH_");
23
    var WAITING = _("waiting");
24
    var AT = _("at");
25
    var IN_TRANSIT = _("in transit");
26
    var FROM = _("from");
23
    var FROM = _("from");
27
    var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from");
24
    var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from _FROM_BRANCH_");
28
    var NO = _("No");
25
    var NO = _("No");
29
    var YES = _("Yes");
26
    var YES = _("Yes");
30
//]]>
27
//]]>
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js (-5 / +3 lines)
Lines 169-175 $(document).ready(function() { Link Here
169
                    title += "</a></span>";
169
                    title += "</a></span>";
170
170
171
                    if ( oObj.author ) {
171
                    if ( oObj.author ) {
172
                        title += " " + BY + " " + oObj.author;
172
                        title += " " + BY.replace( "_AUTHOR_",  " " + oObj.author );
173
                    }
173
                    }
174
174
175
                    if ( oObj.itemnotes ) {
175
                    if ( oObj.itemnotes ) {
Lines 254-263 $(document).ready(function() { Link Here
254
254
255
                    if ( oObj.renewals_remaining ) {
255
                    if ( oObj.renewals_remaining ) {
256
                        content += "<span class='renewals'>("
256
                        content += "<span class='renewals'>("
257
                                + oObj.renewals_remaining
257
                                + RENEWALS_REMAINING.replace( "_RENEWALS_REMAINING_", oObj.renewals_remaining ).replace( "_RENEWALS_ALLOWED_", oObj.renewals_allowed )
258
                                + " " + OF + " "
258
                                + ")</span>";
259
                                + oObj.renewals_allowed + " "
260
                                + RENEWALS_REMAINING + ")</span>";
261
                    }
259
                    }
262
260
263
                    content += "</span>";
261
                    content += "</span>";
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js (-8 / +8 lines)
Lines 48-56 $(document).ready(function() { Link Here
48
                            var data = "";
48
                            var data = "";
49
49
50
                            if ( oObj.suspend == 1 ) {
50
                            if ( oObj.suspend == 1 ) {
51
                                data += "<p>" + HOLD_IS + " <strong> " + SUSPENDED + " </strong>";
51
                                data += "<p>" + HOLD_IS_SUSPENDED;
52
                                if ( oObj.suspend_until ) {
52
                                if ( oObj.suspend_until ) {
53
                                    data += " " + UNTIL + " " + oObj.suspend_until_formatted;
53
                                    data += " " + UNTIL.replace( "_SUSPEND_UNTIL_", oObj.suspend_until_formatted );
54
                                }
54
                                }
55
                                data += "</p>";
55
                                data += "</p>";
56
                            }
56
                            }
Lines 58-73 $(document).ready(function() { Link Here
58
                            if ( oObj.barcode ) {
58
                            if ( oObj.barcode ) {
59
                                data += "<em>";
59
                                data += "<em>";
60
                                if ( oObj.found == "W" ) {
60
                                if ( oObj.found == "W" ) {
61
                                    data += ITEM_IS + " <strong> " + WAITING + " </strong>";
61
                                    data += ITEM_IS_WAITING";
62
62
63
                                    if ( ! oObj.waiting_here ) {
63
                                    if ( ! oObj.waiting_here ) {
64
                                        data += " " + AT + " " + oObj.waiting_at;
64
                                        data += " " + AT.replace("_WAITING_AT_BRANCH_", oObj.waiting_at );
65
                                    }
65
                                    }
66
                                } else if ( oObj.transferred ) {
66
                                } else if ( oObj.transferred ) {
67
                                    data += ITEM_IS + " <strong> " + IN_TRANSIT + " </strong> " + FROM + " " + oObj.from_branch;
67
                                    data += ITEM_IS_IN_TRANSIT.replace( "_FROM_BRANCH_", oObj.from_branch );
68
                                } else if ( oObj.not_transferred ) {
68
                                } else if ( oObj.not_transferred ) {
69
                                    data += NOT_TRANSFERRED_YET + " " + oObj.not_transferred_by;
69
                                    data += NOT_TRANSFERRED_YET.replace( "_FROM_BRANCH_", oObj.not_transferred_by;
70
                                }                                 data += "</em>";
70
                                }                                 
71
                                data += "</em>";
71
72
72
                                data += " <a href='/cgi-bin/koha/catalogue/detail.pl?biblionumber="
73
                                data += " <a href='/cgi-bin/koha/catalogue/detail.pl?biblionumber="
73
                                  + oObj.biblionumber
74
                                  + oObj.biblionumber
74
- 

Return to bug 11703