From 3f2be6c36f423a521000f6018dd82ec975800fbe Mon Sep 17 00:00:00 2001 From: Remington Steed Date: Wed, 27 Nov 2013 15:39:11 -0500 Subject: [PATCH] LP#1210161: Finish renaming bookbag to list The JSPAC bookbag feature was renamed to "Lists" in TPAC, but several references still exist to "bookbag", "book bag", "Book Bag", etc. in the public and staff interfaces. This commit attempts to provide simple and clear replacements for the old term. In some cases "list" seems best, but where the context is uncertain "book list" is used to err on the side of clarity. Some of these changes may be in old code that is no longer used. This commit also includes two minor wording changes - one to fix grammar, and the second to update instructions for sharing a list. Signed-off-by: Remington Steed Signed-off-by: Ben Shum --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 20 +++++++++---------- Open-ILS/src/templates/opac/myopac/lists.tt2 | 8 ++++---- .../src/templates/opac/parts/anon_list.tt2 | 2 +- .../src/templates/opac/parts/record/body.tt2 | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index be6fa5bcfc..7801cd51a7 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -5146,15 +5146,15 @@ INSERT INTO container.copy_bucket_type (code,label) VALUES ( 'circ_history', 'Ci INSERT INTO container.call_number_bucket_type (code,label) VALUES ('misc', oils_i18n_gettext('misc', 'Miscellaneous', 'ccnbt', 'label')); INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('misc', oils_i18n_gettext('misc', 'Miscellaneous', 'cbrebt', 'label')); INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('staff_client', oils_i18n_gettext('staff_client', 'General Staff Client container', 'cbrebt', 'label')); -INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('bookbag', oils_i18n_gettext('bookbag', 'Book Bag', 'cbrebt', 'label')); +INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('bookbag', oils_i18n_gettext('bookbag', 'Book List', 'cbrebt', 'label')); INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('reading_list', oils_i18n_gettext('reading_list', 'Reading List', 'cbrebt', 'label')); INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('template_merge',oils_i18n_gettext('template_merge','Template Merge Container', 'cbrebt', 'label')); INSERT INTO container.biblio_record_entry_bucket_type (code,label) VALUES ('url_verify', oils_i18n_gettext('url_verify', 'URL Verification Queue', 'cbrebt', 'label')); INSERT INTO container.user_bucket_type (code,label) VALUES ('misc', oils_i18n_gettext('misc', 'Miscellaneous', 'cubt', 'label')); INSERT INTO container.user_bucket_type (code,label) VALUES ('folks', oils_i18n_gettext('folks', 'Friends', 'cubt', 'label')); -INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:pub_book_bags.view', oils_i18n_gettext('folks:pub_book_bags.view', 'List Published Book Bags', 'cubt', 'label')); -INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:pub_book_bags.add', oils_i18n_gettext('folks:pub_book_bags.add', 'Add to Published Book Bags', 'cubt', 'label')); +INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:pub_book_bags.view', oils_i18n_gettext('folks:pub_book_bags.view', 'List Published Book Lists', 'cubt', 'label')); +INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:pub_book_bags.add', oils_i18n_gettext('folks:pub_book_bags.add', 'Add to Published Book Lists', 'cubt', 'label')); INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:circ.view', oils_i18n_gettext('folks:circ.view', 'View Circulations', 'cubt', 'label')); INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:circ.renew', oils_i18n_gettext('folks:circ.renew', 'Renew Circulations', 'cubt', 'label')); INSERT INTO container.user_bucket_type (code,label) VALUES ('folks:circ.checkout', oils_i18n_gettext('folks:circ.checkout', 'Checkout Items', 'cubt', 'label')); @@ -10931,7 +10931,7 @@ VALUES ( 'cbreb', oils_i18n_gettext( 'container.biblio_record_entry_bucket.csv', - 'Produce a CSV file representing a bookbag', + 'Produce a CSV file representing a book list', 'ath', 'description' ), @@ -10943,7 +10943,7 @@ VALUES ( 'ContainerCSV', oils_i18n_gettext( 'ContainerCSV', - 'Facilitates produce a CSV file representing a bookbag by introducing an "items" variable into the TT environment, sorted as dictated according to user params', + 'Facilitates producing a CSV file representing a book list by introducing an "items" variable into the TT environment, sorted as dictated according to user params', 'atr', 'description' ) @@ -10955,11 +10955,11 @@ INSERT INTO action_trigger.event_definition ( validator, template ) VALUES ( 48, TRUE, 1, - 'Bookbag CSV', 'container.biblio_record_entry_bucket.csv', 'ContainerCSV', + 'Book List CSV', 'container.biblio_record_entry_bucket.csv', 'ContainerCSV', 'NOOP_True', $$ [%- -# target is the bookbag itself. The 'items' variable does not need to be in +# target is the book list itself. The 'items' variable does not need to be in # the environment because a special reactor will take care of filling it in. FOR item IN items; @@ -12802,7 +12802,7 @@ INSERT into config.org_unit_setting_type ), oils_i18n_gettext( 'opac.patron.temporary_list_warn', - 'Present a warning dialog to the patron when a patron adds a book to a temporary book bag.', + 'Present a warning dialog to the patron when a patron adds a book to a temporary book list.', 'coust', 'description' ), @@ -12838,13 +12838,13 @@ VALUES ( FALSE, oils_i18n_gettext( 'opac.default_list', - 'Default list to use when adding to a bookbag', + 'Default list to use when adding to a list', 'cust', 'label' ), oils_i18n_gettext( 'opac.default_list', - 'Default list to use when adding to a bookbag', + 'Default list to use when adding to a list', 'cust', 'description' ), diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index acff603e13..b2c26d2a75 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -6,10 +6,10 @@ offset = ctx.bookbags_offset; item_page = ctx.bookbags_item_page; bb_publish_text = l( -"Sharing a Bookbag means that the contents " _ -"of the Bookbag will be visible to others. " _ -"To see the public view of a shared Bookbag, " _ -"click on the Bookbag\\'s name in the Bookbag list."); +"Sharing a list means that the contents " _ +"of the list will be visible to others. " _ +"To see the public view of a shared list, " _ +"click on the HTML View link in the Saved Lists section."); %]

[% l('My Lists') %]

diff --git a/Open-ILS/src/templates/opac/parts/anon_list.tt2 b/Open-ILS/src/templates/opac/parts/anon_list.tt2 index 47e496f6ca..a0b0dbf014 100644 --- a/Open-ILS/src/templates/opac/parts/anon_list.tt2 +++ b/Open-ILS/src/templates/opac/parts/anon_list.tt2 @@ -32,7 +32,7 @@ [% IF ctx.user AND ctx.bookbags.size %] - + [% FOR bbag IN ctx.bookbags %]] [% END %] diff --git a/Open-ILS/src/templates/opac/parts/record/body.tt2 b/Open-ILS/src/templates/opac/parts/record/body.tt2 index bdb5f41ae8..216f8f96ed 100644 --- a/Open-ILS/src/templates/opac/parts/record/body.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/body.tt2 @@ -8,7 +8,7 @@ [%- INCLUDE "opac/parts/record/navigation.tt2" %] [%- IF ctx.bib_is_dead %]
- [% l("This record has been deleted from the database. We recommend that you remove this title from any bookbags it may have been added to.") %] + [% l("This record has been deleted from the database. We recommend that you remove this title from any lists it may have been added to.") %]
[%- END %] [% INCLUDE "opac/parts/record/summary.tt2" %] -- 2.43.2