Make CvPcb strings translatable.
This commit is contained in:
parent
78d9e7b789
commit
763290ad56
|
@ -196,7 +196,7 @@ bool IFACE::OnKifaceStart( PGM_BASE* aProgram, int aCtlBits )
|
||||||
|
|
||||||
if( !FP_LIB_TABLE::LoadGlobalTable( GFootprintTable ) )
|
if( !FP_LIB_TABLE::LoadGlobalTable( GFootprintTable ) )
|
||||||
{
|
{
|
||||||
DisplayInfoMessage( NULL, wxT(
|
DisplayInfoMessage( NULL, _(
|
||||||
"You have run CvPcb for the first time using the "
|
"You have run CvPcb for the first time using the "
|
||||||
"new footprint library table method for finding "
|
"new footprint library table method for finding "
|
||||||
"footprints. CvPcb has either copied the default "
|
"footprints. CvPcb has either copied the default "
|
||||||
|
|
|
@ -247,9 +247,9 @@ bool CVPCB_MAINFRAME::ReadNetListAndLinkFiles()
|
||||||
{
|
{
|
||||||
wxString msg = ioe.errorText;
|
wxString msg = ioe.errorText;
|
||||||
msg += wxT( "\n\n" );
|
msg += wxT( "\n\n" );
|
||||||
msg += _( "First check your fp-lib-table entries." );
|
msg += _( "First check your footprint library table entries." );
|
||||||
|
|
||||||
wxMessageBox( msg, wxT( "Problematic fp-lib-tables" ) );
|
wxMessageBox( msg, _( "Problematic Footprint Library Tables" ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -257,12 +257,12 @@ bool CVPCB_MAINFRAME::ReadNetListAndLinkFiles()
|
||||||
{
|
{
|
||||||
HTML_MESSAGE_BOX dlg( this, wxEmptyString );
|
HTML_MESSAGE_BOX dlg( this, wxEmptyString );
|
||||||
|
|
||||||
dlg.MessageSet( wxT( "The following errors occurred attempting to convert the "
|
dlg.MessageSet( _( "The following errors occurred attempting to convert the "
|
||||||
"footprint assignments:\n\n" ) );
|
"footprint assignments:\n\n" ) );
|
||||||
dlg.ListSet( msg );
|
dlg.ListSet( msg );
|
||||||
dlg.MessageSet( wxT( "\nYou will need to reassign them manually if you want them "
|
dlg.MessageSet( _( "\nYou will need to reassign them manually if you want them "
|
||||||
"to be updated correctly the next time you import the "
|
"to be updated correctly the next time you import the "
|
||||||
"netlist in Pcbnew." ) );
|
"netlist in Pcbnew." ) );
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
dlg.ShowModal();
|
dlg.ShowModal();
|
||||||
|
@ -398,8 +398,8 @@ int CVPCB_MAINFRAME::SaveCmpLinkFile( const wxString& aFullFileName )
|
||||||
if( !IsWritable( fn.GetFullPath() ) || WriteComponentLinkFile( fn.GetFullPath() ) == 0 )
|
if( !IsWritable( fn.GetFullPath() ) || WriteComponentLinkFile( fn.GetFullPath() ) == 0 )
|
||||||
{
|
{
|
||||||
DisplayError( this,
|
DisplayError( this,
|
||||||
wxString::Format( _( "Unable to create component footprint link file '%s'" ),
|
wxString::Format( _( "Unable to create component footprint link file '%s'" ),
|
||||||
fn.GetFullPath() ) );
|
fn.GetFullPath() ) );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue