From b8faaee729d3473df04bc6eabeab633e8c5fb5e4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Apr 2014 08:38:08 -0400 Subject: [PATCH] Bug 12034 - MSG_REMOVE_FROM_LIST different wording between OPAC and staff client The staff client lists template contains a warning which differs from the same warning in the OPAC. The OPAC version is correct because it refers to a list rather than a shelf. This patch copies the OPAC version to the staff client template. This patch also corrects a few of other instances where the incorrect term "shelf" is used. To test, apply the patch and view a list in the staff client which is populated with items. Check the box next to one or more items on the list and click the "Remove selected" button. You should see the message, "Are you sure you want to remove these items from the list?" Signed-off-by: Bernardo Gonzalez Kriegel Work as described, no koha-qa errors Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index aca9485..05f28f1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -9,7 +9,7 @@ //A List named [% paramsloo.already %] already exists![% END %] [% IF ( paramsloo.status ) %]
[% paramsloo.string %]
[% END %] [% IF ( paramsloo.nobarcode ) %]
ERROR: No barcode given.
[% END %] - [% IF ( paramsloo.noshelfnumber ) %]
ERROR: No shelfnumber given.
[% END %] + [% IF ( paramsloo.noshelfnumber ) %]
ERROR: No list number given.
[% END %] [% IF ( paramsloo.need_confirm ) %]
The list [% paramsloo.need_confirm %] is not empty.
It has [% paramsloo.count %] entries. @@ -247,10 +247,10 @@ function placeHold () {
A record matching barcode [% paramsloo.duplicatebiblio %] has already been added.
[% END %] [% IF ( paramsloo.nothingdeleted) %] -
Warning: You could not delete any selected items from this shelf.
+
Warning: You could not delete any of the selected items from this list.
[% END %] [% IF ( paramsloo.somedeleted) %] -
Warning: You could not delete all selected items from this shelf.
+
Warning: You could not delete all selected items from this list.
[% END %] [% IF ( paramsloo.modifyfailure) %]
ERROR: List could not be modified.
-- 1.7.10.4