From 798db3b5c759c3682e7634f0d02c7a1f0ea16b84 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Tue, 14 May 2024 16:04:02 +0300 Subject: [PATCH] Improve "Selected file contains multiple footprints" string. --- pcbnew/pcb_io/pcb_io.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcb_io/pcb_io.cpp b/pcbnew/pcb_io/pcb_io.cpp index 62ccf1f6c0..db16b71b4e 100644 --- a/pcbnew/pcb_io/pcb_io.cpp +++ b/pcbnew/pcb_io/pcb_io.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2011-2012 SoftPLC Corporation, Dick Hollenbeck - * Copyright (C) 2016-2023 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2016-2024 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -119,7 +119,9 @@ FOOTPRINT* PCB_IO::ImportFootprint( const wxString& aFootprintPath, wxString& aF if( footprintNames.size() > 1 ) { wxLogWarning( _( "Selected file contains multiple footprints. Only the first one will be " - "imported." ) ); + "imported.\nTo load all footprints, add it as a library using Preferences " + "-> Manage Footprint " + "Libraries..." ) ); } aFootprintNameOut = footprintNames.front();