Commit 763290ad authored by Wayne Stambaugh's avatar Wayne Stambaugh

Make CvPcb strings translatable.

parent 78d9e7b7
...@@ -196,7 +196,7 @@ bool IFACE::OnKifaceStart( PGM_BASE* aProgram, int aCtlBits ) ...@@ -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() ...@@ -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() ...@@ -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 ) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment