Make sure we have different strings for past & future tense.

(In English both were 'Set', but that means our translation framework
won't support two different strings in other languages.  Changed to
'Add' and 'Added'.)

Fixes https://gitlab.com/kicad/code/kicad/issues/7888
This commit is contained in:
Jeff Young 2021-03-12 14:58:35 +00:00
parent ba46a8d12d
commit 24fd326cd1
1 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ bool BOARD_NETLIST_UPDATER::updateFootprintParameters( FOOTPRINT* aPcbFootprint,
{ {
if( aNetlistComponent->GetProperties().count( "exclude_from_bom" ) ) if( aNetlistComponent->GetProperties().count( "exclude_from_bom" ) )
{ {
msg.Printf( _( "Set %s 'exclude from BOM' fabrication attribute." ), msg.Printf( _( "Add %s 'exclude from BOM' fabrication attribute." ),
aPcbFootprint->GetReference() ); aPcbFootprint->GetReference() );
} }
else else
@ -373,7 +373,7 @@ bool BOARD_NETLIST_UPDATER::updateFootprintParameters( FOOTPRINT* aPcbFootprint,
if( aNetlistComponent->GetProperties().count( "exclude_from_bom" ) ) if( aNetlistComponent->GetProperties().count( "exclude_from_bom" ) )
{ {
attributes |= FP_EXCLUDE_FROM_BOM; attributes |= FP_EXCLUDE_FROM_BOM;
msg.Printf( _( "Set %s 'exclude from BOM' fabrication attribute." ), msg.Printf( _( "Added %s 'exclude from BOM' fabrication attribute." ),
aPcbFootprint->GetReference() ); aPcbFootprint->GetReference() );
} }
else else