From b26090de244c360bd66a92c58c9e5859dc6828cc Mon Sep 17 00:00:00 2001 From: Brian Foley Date: Wed, 15 Apr 2026 12:50:05 +0000 Subject: [PATCH] marc_inspector.php: Fix pasto-s in record tooltip info Cosmetic, but annoying. --- tools/project_manager/marc_inspector.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/project_manager/marc_inspector.php b/tools/project_manager/marc_inspector.php index d95cb7a4b..8bb17adeb 100644 --- a/tools/project_manager/marc_inspector.php +++ b/tools/project_manager/marc_inspector.php @@ -61,8 +61,8 @@ "246" => ["tooltip" => "Varying Form of Title", "url" => "$loc_bib/bd246.html"], "247" => ["tooltip" => "Former Title", "url" => "$loc_bib/bd247.html"], "250" => ["tooltip" => "Edition Statement", "url" => "$loc_bib/bd250.html"], - "257" => ["tooltip" => "Edition Statement", "url" => "$loc_bib/bd250.html"], - "260" => ["tooltip" => "Country of Producing Entity", "url" => "$loc_bib/bd257.html"], + "257" => ["tooltip" => "Country of Producing Entity", "url" => "$loc_bib/bd257.html"], + "260" => ["tooltip" => "Publication, Distribution, etc. (Imprint)", "url" => "$loc_bib/bd260.html"], "264" => ["tooltip" => "Production, Publication, Distribution, Manufacture, and Copyright Notice", "url" => "$loc_bib/bd264.html"], "300" => ["tooltip" => "Physical Description", "url" => "$loc_bib/bd300.html"], "336" => ["tooltip" => "Content Type", "url" => "$loc_bib/bd336.html"], @@ -105,6 +105,9 @@ "740" => ["tooltip" => "Added Entry - Uncontrolled Related/Analytical Title", "url" => "$loc_bib/bd740.html"], "800" => ["tooltip" => "Series Added Entry - Personal Name", "url" => "$loc_bib/bd800.html"], "856" => ["tooltip" => "Electronic Location and Access", "url" => "$loc_bib/bd856.html"], + "906" => ["tooltip" => "OCLC Locally Defined"], + "925" => ["tooltip" => "OCLC Locally Defined"], + "955" => ["tooltip" => "OCLC Locally Defined"], ]; echo "\n"; @@ -118,7 +121,7 @@ if (array_key_exists($field, $field_info)) { $info = $field_info[$field]; $attr = " class='bold' title='" . attr_safe($info["tooltip"]) . "'"; - if (array_key_exists("url", $info)) { /** @phpstan-ignore-line */ + if (array_key_exists("url", $info)) { $match[2] = "{$field}"; } else { $match[2] = "{$field}";