Very minor fix in message to avoid a too long sentence
This commit is contained in:
parent
687444b973
commit
3e38b3dca3
|
@ -87,8 +87,9 @@ void PARSE_ERROR::init( const wxString& aProblem, const char* aThrowersFile,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FUTURE_FORMAT_ERROR::FUTURE_FORMAT_ERROR( const PARSE_ERROR& aParseError, const wxString& aRequiredVersion ) :
|
FUTURE_FORMAT_ERROR::FUTURE_FORMAT_ERROR( const PARSE_ERROR& aParseError,
|
||||||
PARSE_ERROR(), requiredVersion( aRequiredVersion )
|
const wxString& aRequiredVersion ) :
|
||||||
|
PARSE_ERROR(), requiredVersion( aRequiredVersion )
|
||||||
{
|
{
|
||||||
// Avoid double-printing the error message
|
// Avoid double-printing the error message
|
||||||
bool wrapped_same_type = !!( dynamic_cast<const FUTURE_FORMAT_ERROR *>( &aParseError ) );
|
bool wrapped_same_type = !!( dynamic_cast<const FUTURE_FORMAT_ERROR *>( &aParseError ) );
|
||||||
|
@ -100,9 +101,9 @@ FUTURE_FORMAT_ERROR::FUTURE_FORMAT_ERROR( const PARSE_ERROR& aParseError, const
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
problem.Printf( _(
|
problem.Printf( _(
|
||||||
"KiCad was unable to open this file, as it was created with a more "
|
"KiCad was unable to open this file, as it was created with\n"
|
||||||
"recent version than the one you are running. To open it, you'll need "
|
"a more recent version than the one you are running.\n"
|
||||||
"to upgrade KiCad to a more recent version.\n\n"
|
"To open it, you'll need to upgrade KiCad to a more recent version.\n\n"
|
||||||
"Date of KiCad version required (or newer): %s\n\n"
|
"Date of KiCad version required (or newer): %s\n\n"
|
||||||
"Full error text:\n%s" ),
|
"Full error text:\n%s" ),
|
||||||
requiredVersion, aParseError.Problem() );
|
requiredVersion, aParseError.Problem() );
|
||||||
|
|
Loading…
Reference in New Issue