Minor fixes related to I18n

This commit is contained in:
jean-pierre charras 2018-09-05 13:59:20 +02:00
parent 5993b33010
commit bfb0fac015
2 changed files with 3 additions and 3 deletions

View File

@ -211,7 +211,7 @@ void DIALOG_ANNOTATE::OnApplyClick( wxCommandEvent& event )
else
message += _( "Clear and annotate all of the symbols on the current sheet?" );
message += _( "\n\nThis operation will change the current annotation and cannot \nbe undone." );
message += _( "\n\nThis operation will change the current annotation and cannot be undone." );
KIDIALOG dlg( this, message, _( "Confirmation" ), wxOK | wxCANCEL | wxICON_WARNING );
dlg.SetOKLabel( _( "Clear and Annotate" ) );

View File

@ -140,11 +140,11 @@ void DIALOG_SELECT_NET_FROM_LIST::buildNetsList()
wxVector<wxVariant> dataLine;
dataLine.push_back( wxVariant( wxString::Format( _( "%.3d" ), netcode ) ) );
dataLine.push_back( wxVariant( wxString::Format( "%.3d", netcode ) ) );
dataLine.push_back( wxVariant( net->GetNetname() ) );
if( netcode )
dataLine.push_back( wxVariant( wxString::Format( _( "%u" ), nodes ) ) );
dataLine.push_back( wxVariant( wxString::Format( "%u", nodes ) ) );
else // For the net 0 (unconnected pads), the pad count is not known
dataLine.push_back( wxVariant( wxT( "---" ) ) );