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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-18 / +18 lines)
Lines 322-362 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
            An error occurred when updating this list. Perhaps the value already exists.
325
            <span>An error occurred when updating this list. Perhaps the value already exists.</span>
326
        [% CASE 'error_on_insert' %]
326
        [% CASE 'error_on_insert' %]
327
            An error occurred when inserting this list. Perhaps the name already exists.
327
            <span>An error occurred when inserting this list. Perhaps the name already exists.</span>
328
        [% CASE 'error_on_delete' %]
328
        [% CASE 'error_on_delete' %]
329
            An error occurred when deleting this list. Check the logs.
329
            <span>An error occurred when deleting this list. Check the logs.</span>
330
        [% CASE 'error_on_add_biblio' %]
330
        [% CASE 'error_on_add_biblio' %]
331
            The item has not been added to the list. Please check it's not in this list yet.
331
           <span>The item has not been added to the list. Please check it's not in this list yet.</span>
332
        [% CASE 'success_on_update' %]
332
        [% CASE 'success_on_update' %]
333
            List updated with success.
333
            <span>List updated with success.</span>
334
        [% CASE 'success_on_insert' %]
334
        [% CASE 'success_on_insert' %]
335
            List inserted with success.
335
            <span>List inserted with success.</span>
336
        [% CASE 'success_on_delete' %]
336
        [% CASE 'success_on_delete' %]
337
            List deleted with success.
337
            <span>List deleted with success.</span>
338
        [% CASE 'success_on_add_biblio' %]
338
        [% CASE 'success_on_add_biblio' %]
339
            The item has been added to the list.
339
            <span>The item has been added to the list.</span>
340
        [% CASE 'success_on_remove_biblios' %]
340
        [% CASE 'success_on_remove_biblios' %]
341
            The item has been removed from the list.
341
            <span>The item has been removed from the list.</span>
342
        [% CASE 'does_not_exist' %]
342
        [% CASE 'does_not_exist' %]
343
            This list does not exist.
343
            <span>This list does not exist.</span>
344
        [% CASE 'item_does_not_exist' %]
344
        [% CASE 'item_does_not_exist' %]
345
            This item does not exist.
345
            <span>This item does not exist.</span>
346
        [% CASE 'unauthorized_on_view' %]
346
        [% CASE 'unauthorized_on_view' %]
347
            You do not have permission to view this list.
347
            <span>You do not have permission to view this list.</span>
348
        [% CASE 'unauthorized_on_update' %]
348
        [% CASE 'unauthorized_on_update' %]
349
            You do not have permission to update this list.
349
            <span>You do not have permission to update this list.</span>
350
        [% CASE 'unauthorized_on_delete' %]
350
        [% CASE 'unauthorized_on_delete' %]
351
            You do not have permission to delete this list.
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
            You do not have permission to add a biblio to this list.
353
            <span>You do not have permission to add a biblio to this list.</span>
354
        [% CASE 'no_biblio_removed' %]
354
        [% CASE 'no_biblio_removed' %]
355
            No biblio has been removed.
355
            <span>No biblio has been removed.</span>
356
        [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
356
        [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
357
            An error occurred when inserting this list. The name already [% shelfname %] exists.
357
            <span>An error occurred when inserting this list. The name already [% shelfname %] exists.</span>
358
        [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
358
        [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
359
            List could not be created. (Do not use the database administrator account.).
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
            [% m.msg %]
361
            [% m.msg %]
362
        [% CASE %]
362
        [% CASE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-21 / +20 lines)
Lines 105-149 Link Here
105
                    [% END %]
105
                    [% END %]
106
                    [% SWITCH m.code %]
106
                    [% SWITCH m.code %]
107
                    [% CASE 'error_on_update' %]
107
                    [% CASE 'error_on_update' %]
108
                        An error occurred when updating this list. Perhaps the value already exists.
108
                        <span>An error occurred when updating this list. Perhaps the value already exists.</span>
109
                    [% CASE 'error_on_insert' %]
109
                    [% CASE 'error_on_insert' %]
110
                        An error occurred when inserting this list. Perhaps the name already exists.
110
                        <span>An error occurred when inserting this list. Perhaps the name already exists.</span>
111
                    [% CASE 'error_on_delete' %]
111
                    [% CASE 'error_on_delete' %]
112
                        An error occurred when deleteing this list. Check the logs.
112
                        <span>An error occurred when deleting this list. Check the logs.</span>
113
                    [% CASE 'error_on_add_biblio' %]
113
                    [% CASE 'error_on_add_biblio' %]
114
                        The item has not been added to the list. Please check it's not in this list yet.
114
                        <span>The item has not been added to the list. Please check it's not in this list yet.</span>
115
                    [% CASE 'error_on_remove_share' %]
115
                    [% CASE 'error_on_remove_share' %]
116
                        The share has not been removed.
116
                        <span>The share has not been removed.</span>
117
                    [% CASE 'success_on_update' %]
117
                    [% CASE 'success_on_update' %]
118
                        List updated with success.
118
                        <span>List updated with success.</span>
119
                    [% CASE 'success_on_insert' %]
119
                    [% CASE 'success_on_insert' %]
120
                        List inserted with success.
120
                        <span>List inserted with success.</span>
121
                    [% CASE 'success_on_delete' %]
121
                    [% CASE 'success_on_delete' %]
122
                        List deleted with success.
122
                        <span>List deleted with success.</span>
123
                    [% CASE 'success_on_add_biblio' %]
123
                    [% CASE 'success_on_add_biblio' %]
124
                        The item has been added to the list.
124
                        <span>The item has been added to the list.</span>
125
                    [% CASE 'success_on_remove_biblios' %]
125
                    [% CASE 'success_on_remove_biblios' %]
126
                        The item has been removed from the list.
126
                        <span>The item has been removed from the list.</span>
127
                    [% CASE 'success_on_remove_share' %]
127
                    [% CASE 'success_on_remove_share' %]
128
                        The share has been removed.
128
                        <span>The share has been removed.</span>
129
                    [% CASE 'does_not_exist' %]
129
                    [% CASE 'does_not_exist' %]
130
                        This list does not exist.
130
                        <span>This list does not exist.</span>
131
                    [% CASE 'item_does_not_exist' %]
131
                    [% CASE 'item_does_not_exist' %]
132
                        This item does not exist.
132
                        <span>This item does not exist.</span>
133
                    [% CASE 'unauthorized_on_view' %]
133
                    [% CASE 'unauthorized_on_view' %]
134
                        You do not have permission to view this list.
134
                        <span>You do not have permission to view this list.</span>
135
                    [% CASE 'unauthorized_on_insert' %]
135
                    [% CASE 'unauthorized_on_insert' %]
136
                        You do not have permission to insert a new list.
136
                        <span>You do not have permission to insert a new list.</span>
137
                    [% CASE 'unauthorized_on_update' %]
137
                    [% CASE 'unauthorized_on_update' %]
138
                        You do not have permission to update this list.
138
                        <span>You do not have permission to update this list.</span>
139
                    [% CASE 'unauthorized_on_delete' %]
139
                    [% CASE 'unauthorized_on_delete' %]
140
                        You do not have permission to delete this list.
140
                        <span>You do not have permission to delete this list.</span>
141
                    [% CASE 'unauthorized_on_add_biblio' %]
141
                    [% CASE 'unauthorized_on_add_biblio' %]
142
                        You do not have permission to add a biblio to this list.
142
                        <span>You do not have permission to add a biblio to this list.</span>
143
                    [% CASE 'no_biblio_removed' %]
143
                    [% CASE 'no_biblio_removed' %]
144
                        No biblio has been removed.
144
                        <span>No biblio has been removed.</span>
145
                    [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
145
                    [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
146
                        An error occurred when inserting this list. The name already [% shelfname %] exists.
146
                        <span>An error occurred when inserting this list. The name already [% shelfname %] exists.</span>
147
                    [% CASE 'DBIx::Class::Exception' %]
147
                    [% CASE 'DBIx::Class::Exception' %]
148
                        [% m.msg %]
148
                        [% m.msg %]
149
                    [% CASE %]
149
                    [% CASE %]
150
- 

Return to bug 15208