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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-1 / +1 lines)
Lines 787-793 Link Here
787
                            }
787
                            }
788
                        },
788
                        },
789
                        error: function() {
789
                        error: function() {
790
                            alert( _("An error occurred. Check the logs") );
790
                            alert( _("An error occurred. Check the logs for details.") );
791
                        }
791
                        }
792
                    });
792
                    });
793
                }
793
                }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt (-1 / +1 lines)
Lines 71-77 Link Here
71
        [% CASE 'error_on_insert' %]
71
        [% CASE 'error_on_insert' %]
72
            <span>An error occurred when adding this issue</span>
72
            <span>An error occurred when adding this issue</span>
73
        [% CASE 'error_on_delete' %]
73
        [% CASE 'error_on_delete' %]
74
            <span>An error occurred when deleting this issue. Check the logs.</span>
74
            <span>An error occurred when deleting this issue. Check the logs for details.</span>
75
        [% CASE 'success_on_update' %]
75
        [% CASE 'success_on_update' %]
76
            <span>Issue updated successfully.</span>
76
            <span>Issue updated successfully.</span>
77
        [% CASE 'success_on_insert' %]
77
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +2 lines)
Lines 214-222 Link Here
214
                            [% CASE 'error_on_insert_cat' %]
214
                            [% CASE 'error_on_insert_cat' %]
215
                                <span>An error occurred when inserting this authorized value category. Perhaps the category name already exists.</span>
215
                                <span>An error occurred when inserting this authorized value category. Perhaps the category name already exists.</span>
216
                            [% CASE 'error_on_delete' %]
216
                            [% CASE 'error_on_delete' %]
217
                                <span>An error occurred when deleting this authorized value. Check the logs.</span>
217
                                <span>An error occurred when deleting this authorized value. Check the logs for details.</span>
218
                            [% CASE 'error_on_delete_category' %]
218
                            [% CASE 'error_on_delete_category' %]
219
                                <span>An error occurred when deleting this authorized value category. Check the logs.</span>
219
                                <span>An error occurred when deleting this authorized value category. Check the logs for details.</span>
220
                            [% CASE 'success_on_update' %]
220
                            [% CASE 'success_on_update' %]
221
                                <span>Authorized value updated successfully.</span>
221
                                <span>Authorized value updated successfully.</span>
222
                            [% CASE 'success_on_insert' %]
222
                            [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-1 / +1 lines)
Lines 88-94 Link Here
88
        [% CASE 'error_on_insert' %]
88
        [% CASE 'error_on_insert' %]
89
            <span>An error occurred when adding this authority type. The authority type code might already exist.</span>
89
            <span>An error occurred when adding this authority type. The authority type code might already exist.</span>
90
        [% CASE 'error_on_delete' %]
90
        [% CASE 'error_on_delete' %]
91
            <span>An error occurred when deleting this authority type. Check the logs.</span>
91
            <span>An error occurred when deleting this authority type. Check the logs for details.</span>
92
        [% CASE 'success_on_update' %]
92
        [% CASE 'success_on_update' %]
93
            <span>Authority type updated successfully.</span>
93
            <span>Authority type updated successfully.</span>
94
        [% CASE 'success_on_insert' %]
94
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-1 / +1 lines)
Lines 82-88 Link Here
82
        [% CASE 'error_on_insert' %]
82
        [% CASE 'error_on_insert' %]
83
            <span>An error occurred when adding this framework. The framework might already exist.</span>
83
            <span>An error occurred when adding this framework. The framework might already exist.</span>
84
        [% CASE 'error_on_delete' %]
84
        [% CASE 'error_on_delete' %]
85
            <span>An error occurred when deleting this framework. Check the logs.</span>
85
            <span>An error occurred when deleting this framework. Check the logs for details.</span>
86
        [% CASE 'success_on_update' %]
86
        [% CASE 'success_on_update' %]
87
            <span>Framework updated successfully.</span>
87
            <span>Framework updated successfully.</span>
88
        [% CASE 'success_on_insert' %]
88
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-1 / +1 lines)
Lines 86-92 Link Here
86
        [% CASE 'error_on_insert' %]
86
        [% CASE 'error_on_insert' %]
87
            <span>An error occurred when adding this library. The branchcode might already exist.</span>
87
            <span>An error occurred when adding this library. The branchcode might already exist.</span>
88
        [% CASE 'error_on_delete' %]
88
        [% CASE 'error_on_delete' %]
89
            <span>An error occurred when deleting this library. Check the logs.</span>
89
            <span>An error occurred when deleting this library. Check the logs for details.</span>
90
        [% CASE 'success_on_update' %]
90
        [% CASE 'success_on_update' %]
91
            <span>Library updated successfully.</span>
91
            <span>Library updated successfully.</span>
92
        [% CASE 'success_on_insert' %]
92
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-1 / +1 lines)
Lines 97-103 Link Here
97
        [% CASE 'error_on_insert' %]
97
        [% CASE 'error_on_insert' %]
98
            <span>An error occurred when inserting this patron category. The patron category might already exist.</span>
98
            <span>An error occurred when inserting this patron category. The patron category might already exist.</span>
99
        [% CASE 'error_on_delete' %]
99
        [% CASE 'error_on_delete' %]
100
            <span>An error occurred when deleting this patron category. Check the logs.</span>
100
            <span>An error occurred when deleting this patron category. Check the logs for details.</span>
101
        [% CASE 'success_on_update' %]
101
        [% CASE 'success_on_update' %]
102
            <span>Patron category updated successfully.</span>
102
            <span>Patron category updated successfully.</span>
103
        [% CASE 'success_on_insert' %]
103
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-1 / +1 lines)
Lines 76-82 Link Here
76
        [% CASE 'error_on_insert' %]
76
        [% CASE 'error_on_insert' %]
77
            <span>An error occurred when adding this city. The city ID might already exist.</span>
77
            <span>An error occurred when adding this city. The city ID might already exist.</span>
78
        [% CASE 'error_on_delete' %]
78
        [% CASE 'error_on_delete' %]
79
            <span>An error occurred when deleting this city. Check the logs.</span>
79
            <span>An error occurred when deleting this city. Check the logs for details.</span>
80
        [% CASE 'success_on_update' %]
80
        [% CASE 'success_on_update' %]
81
            <span>City updated successfully.</span>
81
            <span>City updated successfully.</span>
82
        [% CASE 'success_on_insert' %]
82
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-1 / +1 lines)
Lines 83-89 Link Here
83
        [% CASE 'error_on_insert' %]
83
        [% CASE 'error_on_insert' %]
84
            <span>An error occurred when adding this currency. The currency code might already exist</span>
84
            <span>An error occurred when adding this currency. The currency code might already exist</span>
85
        [% CASE 'error_on_delete' %]
85
        [% CASE 'error_on_delete' %]
86
            <span>An error occurred when deleting this currency. Check the logs</span>
86
            <span>An error occurred when deleting this currency. Check the logs for details.</span>
87
        [% CASE 'success_on_update' %]
87
        [% CASE 'success_on_update' %]
88
            <span>Currency updated successfully</span>
88
            <span>Currency updated successfully</span>
89
        [% CASE 'success_on_insert' %]
89
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt (-1 / +1 lines)
Lines 75-81 Link Here
75
        [% CASE 'error_on_insert' %]
75
        [% CASE 'error_on_insert' %]
76
            <span>An error occurred when adding this desk. The desk ID might already exist</span>
76
            <span>An error occurred when adding this desk. The desk ID might already exist</span>
77
        [% CASE 'error_on_delete' %]
77
        [% CASE 'error_on_delete' %]
78
            <span>An error occurred when deleting this desk. Check the logs</span>
78
            <span>An error occurred when deleting this desk. Check the logs for details.</span>
79
        [% CASE 'success_on_update' %]
79
        [% CASE 'success_on_update' %]
80
            <span>Desk updated successfully</span>
80
            <span>Desk updated successfully</span>
81
        [% CASE 'success_on_insert' %]
81
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt (-1 / +1 lines)
Lines 477-483 Link Here
477
                        $("#smtp_delete_success").html(_("Server '%s' deleted successfully.").format(identity_provider_domain)).show();
477
                        $("#smtp_delete_success").html(_("Server '%s' deleted successfully.").format(identity_provider_domain)).show();
478
                    });
478
                    });
479
                }).fail(function () {
479
                }).fail(function () {
480
                    $("#smtp_delete_error").html(_("Error deleting server '%s'. Check the logs.").format(identity_provider_domain)).show();
480
                    $("#smtp_delete_error").html(_("Error deleting server '%s'. Check the logs for details.").format(identity_provider_domain)).show();
481
                }).done(function () {
481
                }).done(function () {
482
                    $("#delete_confirm_modal").modal('hide');
482
                    $("#delete_confirm_modal").modal('hide');
483
                });
483
                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt (-1 / +1 lines)
Lines 482-488 Link Here
482
                        $("#identity_provider_delete_success").html(_("Server '%s' deleted successfully.").format(identity_provider_code)).show();
482
                        $("#identity_provider_delete_success").html(_("Server '%s' deleted successfully.").format(identity_provider_code)).show();
483
                    });
483
                    });
484
                }).fail(function () {
484
                }).fail(function () {
485
                    $("#identity_provider_delete_error").html(_("Error deleting server '%s'. Check the logs.").format(identity_provider_code)).show();
485
                    $("#identity_provider_delete_error").html(_("Error deleting server '%s'. Check the logs for details.").format(identity_provider_code)).show();
486
                }).done(function () {
486
                }).done(function () {
487
                    $("#delete_confirm_modal").modal('hide');
487
                    $("#delete_confirm_modal").modal('hide');
488
                });
488
                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-1 / +1 lines)
Lines 124-130 Link Here
124
        [% CASE 'error_on_insert' %]
124
        [% CASE 'error_on_insert' %]
125
            <span>An error occurred when inserting this item type. Perhaps the value already exists</span>
125
            <span>An error occurred when inserting this item type. Perhaps the value already exists</span>
126
        [% CASE 'error_on_delete' %]
126
        [% CASE 'error_on_delete' %]
127
            <span>An error occurred when deleting this item type. Check the logs</span>
127
            <span>An error occurred when deleting this item type. Check the logs for details.</span>
128
        [% CASE 'success_on_update' %]
128
        [% CASE 'success_on_update' %]
129
            <span>Item type updated successfully</span>
129
            <span>Item type updated successfully</span>
130
        [% CASE 'success_on_insert' %]
130
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt (-1 / +1 lines)
Lines 475-481 Link Here
475
                        $("#smtp_delete_success").html(_("Server '%s' deleted successfully.").format(smtp_server_name)).show();
475
                        $("#smtp_delete_success").html(_("Server '%s' deleted successfully.").format(smtp_server_name)).show();
476
                    });
476
                    });
477
                }).fail(function () {
477
                }).fail(function () {
478
                    $("#smtp_delete_error").html(_("Error deleting server '%s'. Check the logs.").format(smtp_server_name)).show();
478
                    $("#smtp_delete_error").html(_("Error deleting server '%s'. Check the logs for details.").format(smtp_server_name)).show();
479
                }).done(function () {
479
                }).done(function () {
480
                    $("#delete_confirm_modal").modal('hide');
480
                    $("#delete_confirm_modal").modal('hide');
481
                });
481
                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt (-1 / +1 lines)
Lines 44-50 Link Here
44
        [% CASE 'error_on_insert' %]
44
        [% CASE 'error_on_insert' %]
45
            <span>An error occurred when inserting this patron category. The patron category might already exist</span>
45
            <span>An error occurred when inserting this patron category. The patron category might already exist</span>
46
        [% CASE 'error_on_delete' %]
46
        [% CASE 'error_on_delete' %]
47
            <span>An error occurred when deleting this patron category. Check the logs</span>
47
            <span>An error occurred when deleting this patron category. Check the logs for details.</span>
48
        [% CASE 'success_on_update' %]
48
        [% CASE 'success_on_update' %]
49
            <span>Patron category updated successfully</span>
49
            <span>Patron category updated successfully</span>
50
        [% CASE 'success_on_insert' %]
50
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 2033-2042 Link Here
2033
                          if ( response.error_code === "failed_nesting" ) {
2033
                          if ( response.error_code === "failed_nesting" ) {
2034
                              $('#addResult').replaceWith('<div id="addResult" class="alert alert-danger">'+_("Failure: Item '%s' is a bundle and bundles cannot be nested").format(barcode)+'</div>');
2034
                              $('#addResult').replaceWith('<div id="addResult" class="alert alert-danger">'+_("Failure: Item '%s' is a bundle and bundles cannot be nested").format(barcode)+'</div>');
2035
                          } else {
2035
                          } else {
2036
                              $('#addResult').replaceWith('<div id="addResult" class="alert alert-danger">'+_("Failure: Check the logs for details")+'</div>');
2036
                              $('#addResult').replaceWith('<div id="addResult" class="alert alert-danger">'+_("Failure: Check the logs for details.")+'</div>');
2037
                          }
2037
                          }
2038
                      } else {
2038
                      } else {
2039
                          $('#addResult').replaceWith('<div id="addResult" class="alert alert-danger">'+_("Failure: Check the logs for details")+'</div>');
2039
                          $('#addResult').replaceWith('<div id="addResult" class="alert alert-danger">'+_("Failure: Check the logs for details.")+'</div>');
2040
                      }
2040
                      }
2041
                      $('#external_id').val('').focus();
2041
                      $('#external_id').val('').focus();
2042
                  });
2042
                  });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-1 / +1 lines)
Lines 99-105 Link Here
99
                        <div class="dialog alert">
99
                        <div class="dialog alert">
100
                        [% SWITCH error_message %]
100
                        [% SWITCH error_message %]
101
                            [% CASE 'article_request_limit_reached'       %]<p>Patron reached daily limit.</p>
101
                            [% CASE 'article_request_limit_reached'       %]<p>Patron reached daily limit.</p>
102
                            [% CASE 'article_request_unhandled_exception' %]<p>An error has occurred. Check the logs.</p>
102
                            [% CASE 'article_request_unhandled_exception' %]<p>An error has occurred. Check the logs for details.</p>
103
                        [% END %]
103
                        [% END %]
104
                        </div>
104
                        </div>
105
                    [% END %]
105
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-2 / +2 lines)
Lines 72-80 legend:hover { Link Here
72
                [% FOR message IN borrower_data.messages %]
72
                [% FOR message IN borrower_data.messages %]
73
                    [% SWITCH message.error %]
73
                    [% SWITCH message.error %]
74
                        [% CASE 'error_on_insert_patron' %]
74
                        [% CASE 'error_on_insert_patron' %]
75
                            <div class="dialog alert">Something went wrong when creating the patron. Check the logs.</div>
75
                            <div class="dialog alert">Something went wrong when creating the patron. Check the logs for details.</div>
76
                        [% CASE 'error_on_update_patron' %]
76
                        [% CASE 'error_on_update_patron' %]
77
                            <div class="dialog alert">Something went wrong when updating the patron. Check the logs.</div>
77
                            <div class="dialog alert">Something went wrong when updating the patron. Check the logs for details.</div>
78
                        [% CASE %]<div class="dialog alert">Unhandled error: [% message.error | html %]</div>
78
                        [% CASE %]<div class="dialog alert">Unhandled error: [% message.error | html %]</div>
79
                    [% END %]
79
                    [% END %]
80
                [% END %]
80
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-2 / +2 lines)
Lines 129-137 Link Here
129
            [% CASE 'error_on_update' %]
129
            [% CASE 'error_on_update' %]
130
                <span>An error occurred when updating this content. Perhaps it already exists</span>
130
                <span>An error occurred when updating this content. Perhaps it already exists</span>
131
            [% CASE 'error_on_insert' %]
131
            [% CASE 'error_on_insert' %]
132
                <span>An error occurred when adding this content. Check the logs</span>
132
                <span>An error occurred when adding this content. Check the logs for details.</span>
133
            [% CASE 'error_on_delete' %]
133
            [% CASE 'error_on_delete' %]
134
                <span>An error occurred when deleting this content. Check the logs</span>
134
                <span>An error occurred when deleting this content. Check the logs for details.</span>
135
            [% CASE 'success_on_update' %]
135
            [% CASE 'success_on_update' %]
136
                <span>Content updated successfully</span>
136
                <span>Content updated successfully</span>
137
            [% CASE 'success_on_insert' %]
137
            [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-1 / +1 lines)
Lines 70-76 Link Here
70
        [% CASE 'error_on_insert' %]
70
        [% CASE 'error_on_insert' %]
71
            <span>An error occurred when adding this CSV profile</span>
71
            <span>An error occurred when adding this CSV profile</span>
72
        [% CASE 'error_on_delete' %]
72
        [% CASE 'error_on_delete' %]
73
            <span>An error occurred when deleting this CSV profile. Check the logs</span>
73
            <span>An error occurred when deleting this CSV profile. Check the logs for details.</span>
74
        [% CASE 'success_on_update' %]
74
        [% CASE 'success_on_update' %]
75
            <span>CSV profile updated successfully</span>
75
            <span>CSV profile updated successfully</span>
76
        [% CASE 'success_on_insert' %]
76
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-1 / +1 lines)
Lines 255-261 Link Here
255
                            $("#quote_delete_success").html(_("Quote #%s deleted successfully.").format(quote_id)).show();
255
                            $("#quote_delete_success").html(_("Quote #%s deleted successfully.").format(quote_id)).show();
256
                        });
256
                        });
257
                    }).error(function () {
257
                    }).error(function () {
258
                        $("#quote_delete_error").html(_("Error deleting quote #%s. Check the logs.").format(quote_id)).show();
258
                        $("#quote_delete_error").html(_("Error deleting quote #%s. Check the logs for details.").format(quote_id)).show();
259
                    });
259
                    });
260
                });
260
                });
261
            });
261
            });
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-2 / +2 lines)
Lines 350-356 $(document).ready(function() { Link Here
350
                            alert(__("Unable to resume, hold not found"));
350
                            alert(__("Unable to resume, hold not found"));
351
                        }
351
                        }
352
                        else {
352
                        else {
353
                            alert(__("Your request could not be processed. Check the logs"));
353
                            alert(__("Your request could not be processed. Check the logs for details."));
354
                        }
354
                        }
355
                        holdsTable.api().ajax.reload();
355
                        holdsTable.api().ajax.reload();
356
                    });
356
                    });
Lines 436-442 $(document).ready(function() { Link Here
436
                alert(__("Unable to suspend, hold not found"));
436
                alert(__("Unable to suspend, hold not found"));
437
            }
437
            }
438
            else {
438
            else {
439
                alert(__("Your request could not be processed. Check the logs"));
439
                alert(__("Your request could not be processed. Check the logs for details."));
440
            }
440
            }
441
            holdsTable.api().ajax.reload();
441
            holdsTable.api().ajax.reload();
442
        }).done(function() {
442
        }).done(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/js/modals/display_ticket.js (-2 / +2 lines)
Lines 86-92 $(document).ready(function() { Link Here
86
                $("#concern_delete_success").html(__("Concern #%s updated successfully.").format(ticket_id)).show();
86
                $("#concern_delete_success").html(__("Concern #%s updated successfully.").format(ticket_id)).show();
87
            });
87
            });
88
        }).error(function() {
88
        }).error(function() {
89
            $("#concern_update_error").html(__("Error resolving concern #%s. Check the logs.").format(ticket_id)).show();
89
            $("#concern_update_error").html(__("Error resolving concern #%s. Check the logs for details.").format(ticket_id)).show();
90
        });
90
        });
91
    });
91
    });
92
92
Lines 114-120 $(document).ready(function() { Link Here
114
                $("#concern_delete_success").html(__("Concern #%s updated successfully.").format(ticket_id)).show();
114
                $("#concern_delete_success").html(__("Concern #%s updated successfully.").format(ticket_id)).show();
115
            });
115
            });
116
        }).error(function() {
116
        }).error(function() {
117
            $("#concern_update_error").html(__("Error resolving concern #%s. Check the logs.").format(ticket_id)).show();
117
            $("#concern_update_error").html(__("Error resolving concern #%s. Check the logs for details.").format(ticket_id)).show();
118
        });
118
        });
119
    });
119
    });
120
});
120
});
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +1 lines)
Lines 470-476 function patron_autocomplete(node, options) { Link Here
470
                },
470
                },
471
                error: function (e) {
471
                error: function (e) {
472
                    if (e.state() != 'rejected') {
472
                    if (e.state() != 'rejected') {
473
                        alert(__("An error occurred. Check the logs"));
473
                        alert(__("An error occurred. Check the logs for details."));
474
                    }
474
                    }
475
                    return response();
475
                    return response();
476
                }
476
                }
477
- 

Return to bug 35650