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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-24 / +1 lines)
Lines 147-179 Link Here
147
[% END %]
147
[% END %]
148
148
149
<script>
149
<script>
150
151
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
152
    var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?");
153
    var MSG_NO_SUGGESTION_SELECTED = _("No suggestion was selected");
154
    var MSG_SEARCHING = _("Searching %s...");
150
    var MSG_SEARCHING = _("Searching %s...");
155
    var MSG_ERROR_SEARCHING_COLLECTION = _("Error searching %s collection");
151
    var MSG_ERROR_SEARCHING_COLLECTION = _("Error searching %s collection");
156
    var MSG_NO_RESULTS_FOUND_IN_COLLECTION = _("No results found in the library's %s collection");
152
    var MSG_NO_RESULTS_FOUND_IN_COLLECTION = _("No results found in the library's %s collection");
157
    var MSG_RESULTS_FOUND_IN_COLLECTION = _("Found %s results in the library's %s collection");
153
    var MSG_RESULTS_FOUND_IN_COLLECTION = _("Found %s results in the library's %s collection");
158
    var MSG_BY = _("by");
159
    var MSG_TYPE = _("Type");
160
    var MSG_NEXT = _("Next");
161
    var MSG_PREVIOUS = _("Previous");
162
    var MSG_CHECKOUTS = _("Checkouts");
163
    var MSG_NO_CHECKOUTS = _("No checkouts");
164
    var MSG_CHECK_OUT = _("Check out");
165
    var MSG_CHECK_OUT_CONFIRM = _("Are you sure you want to check out this item?");
166
    var MSG_CHECKED_OUT_UNTIL = _("Checked out until %s");
167
    var MSG_CHECK_IN = _("Check in");
168
    var MSG_CHECK_IN_CONFIRM = _("Are you sure you want to return this item?");
169
    var MSG_NO_CHECKOUTS = _("No checkouts");
170
    var MSG_DOWNLOAD = _("Download");
171
    var MSG_HOLDS = _("Holds");
172
    var MSG_NO_HOLDS = _("No holds");
173
    var MSG_PLACE_HOLD = _("Place hold");
174
    var MSG_CANCEL_HOLD = _("Cancel");
175
    var MSG_CANCEL_HOLD_CONFIRM = _("Are you sure you want to cancel this hold?");
176
    var MSG_ON_HOLD = _("On hold");
177
154
178
    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) %]
155
    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) %]
179
        var MSG_TAGS_DISABLED = _("Sorry, tags are not enabled on this system.");
156
        var MSG_TAGS_DISABLED = _("Sorry, tags are not enabled on this system.");
Lines 221-227 Link Here
221
        delSingleRecord( biblionumber );
198
        delSingleRecord( biblionumber );
222
    });
199
    });
223
    $(".clearsh").on("click", function(){
200
    $(".clearsh").on("click", function(){
224
        return confirmDelete(MSG_DELETE_SEARCH_HISTORY);
201
        return confirmDelete( _("Are you sure you want to delete your search history?") );
225
    });
202
    });
226
203
227
</script>
204
</script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-1 / +1 lines)
Lines 614-620 Link Here
614
            var no_label;
614
            var no_label;
615
            var message = "";
615
            var message = "";
616
            if ( selected_titles.size() < 1 ) {
616
            if ( selected_titles.size() < 1 ) {
617
                alert(MSG_NO_SUGGESTION_SELECTED);
617
                alert( _("No suggestion was selected") );
618
                return false;
618
                return false;
619
            } else {
619
            } else {
620
                if( selected_titles.size() > 1 ){
620
                if( selected_titles.size() > 1 ){
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/privacy.js (-2 / +2 lines)
Lines 1-5 Link Here
1
/* global __ confirmDelete */
1
$(document).ready(function(){
2
$(document).ready(function(){
2
    $('.privacy-confirm-delete').on('click',function(){
3
    $('.privacy-confirm-delete').on('click',function(){
3
        return confirmDelete(MSG_CONFIRM_AGAIN);
4
        return confirmDelete( __("Warning: Cannot be undone. Please confirm once again") );
4
    });
5
    });
5
});
6
});
6
- 

Return to bug 34031