very minor fixes in a few strings (replace ' by ", and module by footprint)

This commit is contained in:
jean-pierre charras 2017-12-16 20:46:55 +01:00
parent 2b4a2ce67b
commit 845ca5f641
3 changed files with 3 additions and 3 deletions

View File

@ -245,7 +245,7 @@ void LEGACY_NETLIST_READER::loadFootprintFilters()
if( component == NULL ) if( component == NULL )
{ {
wxString msg; wxString msg;
msg.Printf( _( "Cannot find component \'%s\' in footprint filter section " msg.Printf( _( "Cannot find component \"%s\" in footprint filter section "
"of netlist." ), GetChars( cmpRef ) ); "of netlist." ), GetChars( cmpRef ) );
THROW_PARSE_ERROR( msg, m_lineReader->GetSource(), line, m_lineReader->LineNumber(), THROW_PARSE_ERROR( msg, m_lineReader->GetSource(), line, m_lineReader->LineNumber(),
m_lineReader->Length() ); m_lineReader->Length() );

View File

@ -1630,7 +1630,7 @@ void LEGACY_PLUGIN::loadMODULE_EDGE( MODULE* aModule )
case 'A': shape = S_ARC; break; case 'A': shape = S_ARC; break;
case 'P': shape = S_POLYGON; break; case 'P': shape = S_POLYGON; break;
default: default:
m_error.Printf( _( "Unknown EDGE_MODULE type:'%c=0x%02x' on line:%d of module:\"%s\"" ), m_error.Printf( _( "Unknown EDGE_MODULE type:'%c=0x%02x' on line:%d of footprint:\"%s\"" ),
(unsigned char) line[1], (unsigned char) line[1],
(unsigned char) line[1], (unsigned char) line[1],
m_reader->LineNumber(), m_reader->LineNumber(),

View File

@ -63,7 +63,7 @@
#define FMT_IMPORT_MODULE _( "Import Footprint" ) #define FMT_IMPORT_MODULE _( "Import Footprint" )
#define FMT_FILE_NOT_FOUND _( "File \"%s\" not found" ) #define FMT_FILE_NOT_FOUND _( "File \"%s\" not found" )
#define FMT_NOT_MODULE _( "Not a footprint file" ) #define FMT_NOT_MODULE _( "Not a footprint file" )
#define FMT_MOD_NOT_FOUND _( "Unable to find or load footprint %s from lib path \"%s\"" ) #define FMT_MOD_NOT_FOUND _( "Unable to find or load footprint \"%s\" from lib path \"%s\"" )
#define FMT_BAD_PATH _( "Unable to find or load footprint from path \"%s\"" ) #define FMT_BAD_PATH _( "Unable to find or load footprint from path \"%s\"" )
#define FMT_BAD_PATHS _( "The footprint library \"%s\" could not be found in any of the search paths." ) #define FMT_BAD_PATHS _( "The footprint library \"%s\" could not be found in any of the search paths." )
#define FMT_LIB_READ_ONLY _( "Library \"%s\" is read only, not writable" ) #define FMT_LIB_READ_ONLY _( "Library \"%s\" is read only, not writable" )