Browse Source

Improve "Selected file contains multiple footprints" string.

fusion360
Alex Shvartzkop 1 year ago
parent
commit
798db3b5c7
  1. 6
      pcbnew/pcb_io/pcb_io.cpp

6
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 <dick@softplc.com>
* 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();

Loading…
Cancel
Save