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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-12 / +11 lines)
Lines 105-125 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
                        <span>An error occurred when updating this list. Perhaps the value already exists.</span>
108
                        <span>An error occurred when updating this list.</span>
109
                    [% CASE 'error_on_insert' %]
109
                    [% CASE 'error_on_insert' %]
110
                        <span>An error occurred when inserting this list. Perhaps the name already exists.</span>
110
                        <span>An error occurred when creating this list.</span>
111
                    [% CASE 'error_on_delete' %]
111
                    [% CASE 'error_on_delete' %]
112
                        <span>An error occurred when deleting this list. Check the logs.</span>
112
                        <span>An error occurred when deleting this list.</span>
113
                    [% CASE 'error_on_add_biblio' %]
113
                    [% CASE 'error_on_add_biblio' %]
114
                        <span>The item has not been added to the list. Please check it's not in this list yet.</span>
114
                        <span>The item has not been added to the list. Please check it's not already in the list.</span>
115
                    [% CASE 'error_on_remove_share' %]
115
                    [% CASE 'error_on_remove_share' %]
116
                        <span>The share has not been removed.</span>
116
                        <span>The share has not been removed.</span>
117
                    [% CASE 'success_on_update' %]
117
                    [% CASE 'success_on_update' %]
118
                        <span>List updated with success.</span>
118
                        <span>List updated.</span>
119
                    [% CASE 'success_on_insert' %]
119
                    [% CASE 'success_on_insert' %]
120
                        <span>List inserted with success.</span>
120
                        <span>List created.</span>
121
                    [% CASE 'success_on_delete' %]
121
                    [% CASE 'success_on_delete' %]
122
                        <span>List deleted with success.</span>
122
                        <span>List deleted.</span>
123
                    [% CASE 'success_on_add_biblio' %]
123
                    [% CASE 'success_on_add_biblio' %]
124
                        <span>The item has been added to the list.</span>
124
                        <span>The item has been added to the list.</span>
125
                    [% CASE 'success_on_remove_biblios' %]
125
                    [% CASE 'success_on_remove_biblios' %]
Lines 133-149 Link Here
133
                    [% CASE 'unauthorized_on_view' %]
133
                    [% CASE 'unauthorized_on_view' %]
134
                        <span>You do not have permission to view this list.</span>
134
                        <span>You do not have permission to view this list.</span>
135
                    [% CASE 'unauthorized_on_insert' %]
135
                    [% CASE 'unauthorized_on_insert' %]
136
                        <span>You do not have permission to insert a new list.</span>
136
                        <span>You do not have permission to create a new list.</span>
137
                    [% CASE 'unauthorized_on_update' %]
137
                    [% CASE 'unauthorized_on_update' %]
138
                        <span>You do not have permission to update this list.</span>
138
                        <span>You do not have permission to update this list.</span>
139
                    [% CASE 'unauthorized_on_delete' %]
139
                    [% CASE 'unauthorized_on_delete' %]
140
                        <span>You do not have permission to delete this list.</span>
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
                        <span>You do not have permission to add a biblio to this list.</span>
142
                        <span>You do not have permission to add a record to this list.</span>
143
                    [% CASE 'no_biblio_removed' %]
143
                    [% CASE 'no_biblio_removed' %]
144
                        <span>No biblio has been removed.</span>
144
                        <span>No record was removed.</span>
145
                    [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
145
                    [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
146
                        <span>An error occurred when inserting this list. The name [% shelfname %] already exists.</span>
146
                        <span>An error occurred when creating the list. The name [% shelfname %] already 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 15394