← Commit history

Source labels: ds2sf entry now reads 'ds2sf <Manufacturer>' instead of 'PDF Datasheet from <Manufacturer>'

John Lauer ·98f0417ccd ·3mo ago ·parent cb425f7
1 file changed +1−1
src/server.rs+1−1
@@ -50,7 +50,7 @@ pub struct AppState { fn source_label(slug: &str, manufacturer: &str, discovery_label: &str) -> String {     match slug {         "auto" => "Auto · grouped".to_string(),-        "ds2sf" => format!("PDF Datasheet from {}", crate::provenance::source_label("manufacturer", manufacturer)),+        "ds2sf" => format!("ds2sf {}", crate::provenance::source_label("manufacturer", manufacturer)),         // The format variants of the SAME downloaded bundle — name the format, not "KiCad".         "manufacturer" => format!("{discovery_label} - KiCad Library"),         "altium" => format!("{discovery_label} - Altium Library"),