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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-11 / +10 lines)
Lines 322-340 function placeHold () { Link Here
322
    <div class="dialog [% m.type %]">
322
    <div class="dialog [% m.type %]">
323
        [% SWITCH m.code %]
323
        [% SWITCH m.code %]
324
        [% CASE 'error_on_update' %]
324
        [% CASE 'error_on_update' %]
325
            <span>An error occurred when updating this list. Perhaps the value already exists.</span>
325
            <span>An error occurred when updating this list.</span>
326
        [% CASE 'error_on_insert' %]
326
        [% CASE 'error_on_insert' %]
327
            <span>An error occurred when inserting this list. Perhaps the name already exists.</span>
327
            <span>An error occurred when creating this list./span>
328
        [% CASE 'error_on_delete' %]
328
        [% CASE 'error_on_delete' %]
329
            <span>An error occurred when deleting this list. Check the logs.</span>
329
            <span>An error occurred when deleting this list.</span>
330
        [% CASE 'error_on_add_biblio' %]
330
        [% CASE 'error_on_add_biblio' %]
331
           <span>The item has not been added to the list. Please check it's not in this list yet.</span>
331
           <span>The item has not been added to the list. Please check it's not already in the list.</span>
332
        [% CASE 'success_on_update' %]
332
        [% CASE 'success_on_update' %]
333
            <span>List updated with success.</span>
333
            <span>List updated.</span>
334
        [% CASE 'success_on_insert' %]
334
        [% CASE 'success_on_insert' %]
335
            <span>List inserted with success.</span>
335
            <span>List created.</span>
336
        [% CASE 'success_on_delete' %]
336
        [% CASE 'success_on_delete' %]
337
            <span>List deleted with success.</span>
337
            <span>List deleted.</span>
338
        [% CASE 'success_on_add_biblio' %]
338
        [% CASE 'success_on_add_biblio' %]
339
            <span>The item has been added to the list.</span>
339
            <span>The item has been added to the list.</span>
340
        [% CASE 'success_on_remove_biblios' %]
340
        [% CASE 'success_on_remove_biblios' %]
Lines 350-360 function placeHold () { Link Here
350
        [% CASE 'unauthorized_on_delete' %]
350
        [% CASE 'unauthorized_on_delete' %]
351
           <span>You do not have permission to delete this list.</span>
351
           <span>You do not have permission to delete this list.</span>
352
        [% CASE 'unauthorized_on_add_biblio' %]
352
        [% CASE 'unauthorized_on_add_biblio' %]
353
            <span>You do not have permission to add a biblio to this list.</span>
353
            <span>You do not have permission to add a record to this list.</span>
354
        [% CASE 'no_biblio_removed' %]
354
        [% CASE 'no_biblio_removed' %]
355
            <span>No biblio has been removed.</span>
355
            <span>No record was removed.</span>
356
        [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
356
        [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
357
            <span>An error occurred when inserting this list. The name [% shelfname %] already exists.</span>
357
            <span>An error occurred when creating this list. The name [% shelfname %] already exists.</span>
358
        [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
358
        [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
359
            <span>List could not be created. (Do not use the database administrator account.)</span>
359
            <span>List could not be created. (Do not use the database administrator account.)</span>
360
        [% CASE 'DBIx::Class::Exception' %]
360
        [% CASE 'DBIx::Class::Exception' %]
361
- 

Return to bug 15403