From ed6cd74df4beb2ad6faf8d266d032424b878d9b2 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Sun, 14 May 2023 09:16:20 -0400 Subject: [PATCH] tweaks to miker's tweaks Signed-off-by: Jason Etheridge --- Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts | 2 +- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm | 2 +- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 2 +- Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts index 884f34fe14..f33d3f0524 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts @@ -71,7 +71,7 @@ export class HoldComponent implements OnInit { activeDateYmd: string; activeDate: Date; activeDateInvalid = false; - anyPartLabel = 'All Parts'; + anyPartLabel = $localize`All Parts`; holdContexts: HoldContext[]; recordSummaries: BibRecordSummary[]; diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index 7738f5817e..03ff12d5f0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -1508,7 +1508,7 @@ sub load_place_hold { my $any_part_label = $self->editor->retrieve_config_i18n_string([1, {}]); $any_part_label = $any_part_label->string if $any_part_label; - $ctx->{any_part_label} = $any_part_label || 'All Parts'; + $ctx->{any_part_label} = $any_part_label || $localize`All Parts`; $ctx->{staff_recipient} = $self->editor->retrieve_actor_user([ $e->requestor->id, { 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 6e4307f4b5..3b3e3a6df5 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -18963,7 +18963,7 @@ INSERT INTO config.i18n_core (fq_field, identity_value, translation, string ) AND t.xlate IS NOT NULL AND t.name <> (xlate->value); -INSERT INTO config.i18n_string (id, context, string) VALUES (1, 'In the Place Hold interfaces for staff and patrons; when monographic parts are available, this string provides contextual information about whether and how parts are consider for holds that do not request a specific mongraphic part.', 'All Parts'); +INSERT INTO config.i18n_string (id, context, string) VALUES (1, 'In the Place Hold interfaces for staff and patrons; when monographic parts are available, this string provides contextual information about whether and how parts are considered for holds that do not request a specific mongraphic part.', 'All Parts'); INSERT INTO authority.heading_field(heading_type, heading_purpose, label, heading_xpath, component_xpath, type_xpath, thesaurus_xpath, thesaurus_override_xpath) VALUES ( 'topical_term', 'main', 'Main Topical Term', '/mads21:mads/mads21:authority', '//mads21:topic', NULL, '/mads21:mads/mads21:authority/mads21:topic[1]/@authority', NULL ) diff --git a/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql b/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql index ecee9cdec6..672ef8eb46 100644 --- a/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql +++ b/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql @@ -14,6 +14,6 @@ CREATE TABLE config.i18n_string ( -- 950.data.seed-values.sql -INSERT INTO config.i18n_string (id, context, string) VALUES (1, 'In the Place Hold interfaces for staff and patrons; when monographic parts are available, this string provides contextual information about whether and how parts are consider for holds that do not request a specific mongraphic part.', 'All Parts'); +INSERT INTO config.i18n_string (id, context, string) VALUES (1, 'In the Place Hold interfaces for staff and patrons; when monographic parts are available, this string provides contextual information about whether and how parts are considered for holds that do not request a specific mongraphic part.', 'All Parts'); COMMIT; -- 2.11.0