[% SWITCH m.code %]
[% CASE 'error_on_update' %]
-
An error occurred when updating this list.
+
[% t('An error occurred when updating this list.') %]
[% CASE 'error_on_insert' %]
-
An error occurred when creating this list.
+
[% t('An error occurred when creating this list.') %]
[% CASE 'error_on_delete' %]
-
An error occurred when deleting this list.
+
[% t('An error occurred when deleting this list.') %]
[% CASE 'error_on_add_biblio' %]
[% IF m.item_barcode %]
-
The item ([% m.item_barcode %]) has not been added to the list. Please verify it is not already in the list.
+
[% t('The item (') %][% m.item_barcode %][% t(') has not been added to the list. Please verify it is not already in the list.') %]
[% ELSE %]
-
The record ([% m.bibnum %]) has not been added to the list. Please verify it is not already in the list.
+
[% t('The record (') %][% m.bibnum %][% t(') has not been added to the list. Please verify it is not already in the list.') %]
[% END %]
[% CASE 'success_on_update' %]
-
List updated.
+
[% t('List updated.') %]
[% CASE 'success_on_insert' %]
-
List created.
+
[% t('List created.') %]
[% CASE 'success_on_delete' %]
-
List deleted.
+
[% t('List deleted.') %]
[% CASE 'success_on_add_biblio' %]
[% IF m.item_barcode %]
-
The item ([% m.item_barcode %]) has been added to the list.
+
[% t('The item (') %][% m.item_barcode %][% t(') has been added to the list.') %]
[% ELSE %]
-
The record ([% m.bibnum %]) has been added to the list.
+
[% t('The record (') %][% m.bibnum %][% t(') has been added to the list.') %]
[% END %]
[% CASE 'success_on_remove_biblios' %]
-
The item has been removed from the list.
+
[% t('The item has been removed from the list.') %]
[% CASE 'does_not_exist' %]
-
This list does not exist.
+
[% t('This list does not exist.') %]
[% CASE 'item_does_not_exist' %]
[% IF m.item_barcode %]
-
The item ([% m.item_barcode %]) does not exist.
+
[% t('The item (') %][% m.item_barcode %][% t(') does not exist.') %]
[% ELSE %]
-
The record ([% m.bibnum %]) does not exist.
+
[% t('The record (') %][% m.bibnum %][% t(') does not exist.') %]
[% END %]
[% CASE 'unauthorized_on_view' %]
-
You do not have permission to view this list.
+
[% t('You do not have permission to view this list.') %]
[% CASE 'unauthorized_on_update' %]
-
You do not have permission to update this list.
+
[% t('You do not have permission to update this list.') %]
[% CASE 'unauthorized_on_delete' %]
-
You do not have permission to delete this list.
+
[% t('You do not have permission to delete this list.') %]
[% CASE 'unauthorized_on_add_biblio' %]
-
You do not have permission to add a record to this list.
+
[% t('You do not have permission to add a record to this list.') %]
[% CASE 'no_biblio_removed' %]
-
No record was removed.
+
[% t('No record was removed.') %]
[% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
-
An error occurred when creating this list. The name [% shelfname %] already exists.
+
[% t('An error occurred when creating this list. The name') %] [% shelfname %] [% t('already exists.') %]
[% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
-
List could not be created. (Do not use the database administrator account.)
+
[% t('List could not be created. (Do not use the database administrator account.)') %]
[% CASE 'DBIx::Class::Exception' %]
[% m.msg %]
[% CASE %]
@@ -129,7 +130,7 @@
[% IF itemsloop %]
-
Contents of [% shelf.shelfname | html %]
+
[% t('Contents of') %] [% shelf.shelfname | html %]
[% pagination_bar %]
[% END %]