Improve "Selected file contains multiple footprints" string.
This commit is contained in:
parent
8aaca0509c
commit
798db3b5c7
|
@ -2,7 +2,7 @@
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* 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) 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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 )
|
if( footprintNames.size() > 1 )
|
||||||
{
|
{
|
||||||
wxLogWarning( _( "Selected file contains multiple footprints. Only the first one will be "
|
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();
|
aFootprintNameOut = footprintNames.front();
|
||||||
|
|
Loading…
Reference in New Issue