From f76b89cf999caa9dce5b6d8d82503f711d13e7c0 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 7 Mar 2018 20:23:16 -0800 Subject: [PATCH] Standardize error message in Eeschema --- eeschema/eeschema_config.cpp | 6 +++--- eeschema/generate_alias_info.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp index f98a123ed8..edf69e3d6b 100644 --- a/eeschema/eeschema_config.cpp +++ b/eeschema/eeschema_config.cpp @@ -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() ); } } diff --git a/eeschema/generate_alias_info.cpp b/eeschema/generate_alias_info.cpp index 7346c220f7..4ad4302201 100644 --- a/eeschema/generate_alias_info.cpp +++ b/eeschema/generate_alias_info.cpp @@ -34,7 +34,7 @@ static const wxString DescriptionFormat = "__FIELDS__" ""; -static const wxString AliasOfFormat = "
" + _( "Alias of " ) + "%s (%s)"; +static const wxString AliasOfFormat = "
" + _( "Alias of" ) + " %s (%s)"; static const wxString DescFormat = "
%s"; static const wxString KeywordsFormat = "
" + _( "Keywords:" ) + " %s"; static const wxString FieldFormat =