Be more consistent with periods at the end of sentences.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21614
This commit is contained in:
Jeff Young 2025-09-07 17:50:34 +01:00
parent 288c93198a
commit c33da162d6
2 changed files with 14 additions and 14 deletions

View File

@ -947,7 +947,7 @@ bool DRC_TEST_PROVIDER_LIBRARY_PARITY::Run()
if( !m_drcEngine->IsErrorLimitExceeded( DRCE_LIB_FOOTPRINT_ISSUES ) )
{
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_LIB_FOOTPRINT_ISSUES );
msg.Printf( _( "The current configuration does not include the footprint library '%s'." ),
msg.Printf( _( "The current configuration does not include the footprint library '%s'" ),
UnescapeString( libName ) );
drcItem->SetErrorMessage( msg );
drcItem->SetItems( footprint );
@ -961,7 +961,7 @@ bool DRC_TEST_PROVIDER_LIBRARY_PARITY::Run()
if( !m_drcEngine->IsErrorLimitExceeded( DRCE_LIB_FOOTPRINT_ISSUES ) )
{
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_LIB_FOOTPRINT_ISSUES );
msg.Printf( _( "The footprint library '%s' is not enabled in the current configuration." ),
msg.Printf( _( "The footprint library '%s' is not enabled in the current configuration" ),
UnescapeString( libName ) );
drcItem->SetErrorMessage( msg );
drcItem->SetItems( footprint );
@ -975,7 +975,7 @@ bool DRC_TEST_PROVIDER_LIBRARY_PARITY::Run()
if( !m_drcEngine->IsErrorLimitExceeded( DRCE_LIB_FOOTPRINT_ISSUES ) )
{
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_LIB_FOOTPRINT_ISSUES );
msg.Printf( _( "The footprint library '%s' was not found at '%s'." ),
msg.Printf( _( "The footprint library '%s' was not found at '%s'" ),
UnescapeString( libName ),
libTableRow->GetFullURI( true ) );
drcItem->SetErrorMessage( msg );
@ -1012,7 +1012,7 @@ bool DRC_TEST_PROVIDER_LIBRARY_PARITY::Run()
if( !m_drcEngine->IsErrorLimitExceeded( DRCE_LIB_FOOTPRINT_ISSUES ) )
{
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_LIB_FOOTPRINT_ISSUES );
msg.Printf( _( "Footprint '%s' not found in library '%s'." ),
msg.Printf( _( "Footprint '%s' not found in library '%s'" ),
fpName,
libName );
drcItem->SetErrorMessage( msg );
@ -1025,7 +1025,7 @@ bool DRC_TEST_PROVIDER_LIBRARY_PARITY::Run()
if( !m_drcEngine->IsErrorLimitExceeded( DRCE_LIB_FOOTPRINT_MISMATCH ) )
{
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_LIB_FOOTPRINT_MISMATCH );
msg.Printf( _( "Footprint '%s' does not match copy in library '%s'." ),
msg.Printf( _( "Footprint '%s' does not match copy in library '%s'" ),
fpName,
libName );
drcItem->SetErrorMessage( msg );

View File

@ -120,7 +120,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
&& !m_drcEngine->IsErrorLimitExceeded( DRCE_SCHEMATIC_PARITY ) )
{
wxString msg;
msg.Printf( _( "Value (%s) doesn't match symbol value (%s)." ),
msg.Printf( _( "Value (%s) doesn't match symbol value (%s)" ),
footprint->GetReference(), footprint->GetValue(),
component->GetValue() );
@ -134,7 +134,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
&& !m_drcEngine->IsErrorLimitExceeded( DRCE_SCHEMATIC_PARITY ) )
{
wxString msg;
msg.Printf( _( "%s doesn't match footprint given by symbol (%s)." ),
msg.Printf( _( "%s doesn't match footprint given by symbol (%s)" ),
footprint->GetFPID().GetUniStringLibId(),
component->GetFPID().GetUniStringLibId() );
@ -164,7 +164,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
if( !found )
{
wxString msg;
msg.Printf( _( "%s doesn't match symbol's footprint filters (%s)." ),
msg.Printf( _( "%s doesn't match symbol's footprint filters (%s)" ),
footprint->GetFPID().GetUniStringLibId(),
wxJoin( component->GetFootprintFilters(), ' ' ) );
@ -180,7 +180,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
&& !m_drcEngine->IsErrorLimitExceeded( DRCE_SCHEMATIC_PARITY ) )
{
wxString msg;
msg.Printf( _( "'%s' settings differ." ), _( "Do not populate" ) );
msg.Printf( _( "'%s' settings differ" ), _( "Do not populate" ) );
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_SCHEMATIC_PARITY );
drcItem->SetErrorMessage( drcItem->GetErrorMessage() + wxS( ": " ) + msg );
@ -193,7 +193,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
&& !m_drcEngine->IsErrorLimitExceeded( DRCE_SCHEMATIC_PARITY ) )
{
wxString msg;
msg.Printf( _( "'%s' settings differ." ), _( "Exclude from bill of materials" ) );
msg.Printf( _( "'%s' settings differ" ), _( "Exclude from bill of materials" ) );
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_SCHEMATIC_PARITY );
drcItem->SetErrorMessage( drcItem->GetErrorMessage() + wxS( ": " ) + msg );
@ -215,7 +215,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
if( !pcb_netname.IsEmpty() && sch_net.GetPinName().IsEmpty() )
{
wxString msg;
msg.Printf( _( "No corresponding pin found in schematic." ) );
msg.Printf( _( "No corresponding pin found in schematic" ) );
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_NET_CONFLICT );
drcItem->SetErrorMessage( msg );
@ -225,7 +225,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
else if( pcb_netname.IsEmpty() && !sch_net.GetNetName().IsEmpty() )
{
wxString msg;
msg.Printf( _( "Pad missing net given by schematic (%s)." ),
msg.Printf( _( "Pad missing net given by schematic (%s)" ),
sch_net.GetNetName() );
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_NET_CONFLICT );
@ -239,7 +239,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
&& pcb_netname.starts_with( sch_net.GetNetName() ) ) )
{
wxString msg;
msg.Printf( _( "Pad net (%s) doesn't match net given by schematic (%s)." ),
msg.Printf( _( "Pad net (%s) doesn't match net given by schematic (%s)" ),
pcb_netname,
sch_net.GetNetName() );
@ -272,7 +272,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
sch_net.GetNetName() );
}
msg.Printf( _( "No pad found for pin %s in schematic." ), msg );
msg.Printf( _( "No pad found for pin %s in schematic" ), msg );
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_NET_CONFLICT );
drcItem->SetErrorMessage( msg );