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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-2 / +6 lines)
Lines 191-198 Link Here
191
                <span>An error occurred when creating this list. The name [% shelfname | html %] already exists.</span>
191
                <span>An error occurred when creating this list. The name [% shelfname | html %] already exists.</span>
192
            [% CASE 'Koha::Exceptions::Virtualshelf::UseDbAdminAccount' %]
192
            [% CASE 'Koha::Exceptions::Virtualshelf::UseDbAdminAccount' %]
193
                <span>List could not be created. (Do not use the database administrator account.)</span>
193
                <span>List could not be created. (Do not use the database administrator account.)</span>
194
            [% CASE 'DBIx::Class::Exception' %]
194
            [% CASE 'Koha::Exceptions::Object::FKConstraint' %]
195
                [% m.msg | html %]
195
                <span>Database constraint error: [% m.msg | html %]</span>
196
            [% CASE 'Koha::Exceptions::Object::DuplicateID' %]
197
                <span>Duplicate entry error: [% m.msg | html %]</span>
198
            [% CASE 'Koha::Exceptions::Object::BadValue' %]
199
                <span>Invalid data error: [% m.msg | html %]</span>
196
            [% CASE %]
200
            [% CASE %]
197
                [% m.code | html %]
201
                [% m.code | html %]
198
                [% m.msg | html %]
202
                [% m.msg | html %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-3 / +6 lines)
Lines 210-217 Link Here
210
                                <span>The new owner has no share for this list.</span>
210
                                <span>The new owner has no share for this list.</span>
211
                            [% CASE 'Koha::Exceptions::Virtualshelf::DuplicateObject' %]
211
                            [% CASE 'Koha::Exceptions::Virtualshelf::DuplicateObject' %]
212
                                <span>An error occurred when creating the list. The name [% shelfname | html %] already exists.</span>
212
                                <span>An error occurred when creating the list. The name [% shelfname | html %] already exists.</span>
213
                            [% CASE 'DBIx::Class::Exception' %]
213
                            [% CASE 'Koha::Exceptions::Object::FKConstraint' %]
214
                                [% m.msg | html %]
214
                                <span>Database constraint error: [% m.msg | html %]</span>
215
                            [% CASE 'Koha::Exceptions::Object::DuplicateID' %]
216
                                <span>Duplicate entry error: [% m.msg | html %]</span>
217
                            [% CASE 'Koha::Exceptions::Object::BadValue' %]
218
                                <span>Invalid data error: [% m.msg | html %]</span>
215
                            [% CASE %]
219
                            [% CASE %]
216
                                [% m.code | html %]
220
                                [% m.code | html %]
217
                                [% m.msg | html %]
221
                                [% m.msg | html %]
218
- 

Return to bug 19871