pcbnew: Fixing misleading "Rescue Layer" message

Change wording of Undefined Layers dialog to indicate that
rescued layers will be denoted 'User.Comments' rather than
the deprecated 'Cmts.User'

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5967
This commit is contained in:
Jeff Glass 2020-10-12 10:39:08 -05:00
parent 0efe073dec
commit d40faf836e
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ BOARD* PCB_PARSER::parseBOARD_unchecked()
bool deleteItems; bool deleteItems;
std::vector<BOARD_ITEM*> deleteList; std::vector<BOARD_ITEM*> deleteList;
wxString msg = wxString::Format( _( "Items found on undefined layers. Do you wish to\n" wxString msg = wxString::Format( _( "Items found on undefined layers. Do you wish to\n"
"rescue them to the Cmts.User layer?" ) ); "rescue them to the User.Comments layer?" ) );
wxString details = wxString::Format( _( "Undefined layers:" ) ); wxString details = wxString::Format( _( "Undefined layers:" ) );
for( const wxString& undefinedLayer : m_undefinedLayers ) for( const wxString& undefinedLayer : m_undefinedLayers )