tweaks to miker's tweaks
authorJason Etheridge <phasefx@gmail.com>
Sun, 14 May 2023 13:16:20 +0000 (09:16 -0400)
committerJason Etheridge <phasefx@gmail.com>
Sun, 14 May 2023 13:18:51 +0000 (09:18 -0400)
Signed-off-by: Jason Etheridge <phasefx@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql

index 884f34f..f33d3f0 100644 (file)
@@ -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[];
index 7738f58..03ff12d 100644 (file)
@@ -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,
         {
index 6e4307f..3b3e3a6 100644 (file)
@@ -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 )
index ecee9cd..672ef8e 100644 (file)
@@ -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;