Standardize error message in Eeschema

This commit is contained in:
Seth Hillbrand 2018-03-07 20:23:16 -08:00
parent 74e13aebca
commit f76b89cf99
2 changed files with 4 additions and 4 deletions

View File

@ -787,9 +787,9 @@ SYMBOL_LIB_TABLE* PROJECT::SchSymbolLibTable()
catch( const IO_ERROR& ioe )
{
wxString msg;
msg.Printf( _( "An error occurred loading the symbol library table.\n\n%s" ),
ioe.What() );
DisplayError( NULL, msg );
msg.Printf( _( "An error occurred loading the symbol library table \"%s\"." ),
fn.GetFullPath() );
DisplayErrorMessage( NULL, msg, ioe.What() );
}
}

View File

@ -34,7 +34,7 @@ static const wxString DescriptionFormat =
"__FIELDS__"
"</table>";
static const wxString AliasOfFormat = "<br><i>" + _( "Alias of " ) + "%s (%s)</i>";
static const wxString AliasOfFormat = "<br><i>" + _( "Alias of" ) + " %s (%s)</i>";
static const wxString DescFormat = "<br>%s";
static const wxString KeywordsFormat = "<br>" + _( "Keywords:" ) + " %s";
static const wxString FieldFormat =