From 6078ca85e57f7b7fd809accfd94b152576aefeee Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Thu, 29 Dec 2016 12:22:48 -0500 Subject: [PATCH] Improve broken edge outline error message --- 3d-viewer/3d_canvas/cinfo3d_visu.cpp | 4 +--- pcbnew/specctra_export.cpp | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/3d-viewer/3d_canvas/cinfo3d_visu.cpp b/3d-viewer/3d_canvas/cinfo3d_visu.cpp index c7b01ecb05..353546db46 100644 --- a/3d-viewer/3d_canvas/cinfo3d_visu.cpp +++ b/3d-viewer/3d_canvas/cinfo3d_visu.cpp @@ -483,9 +483,7 @@ void CINFO3D_VISU::createBoardPolygon() if( !m_board->GetBoardPolygonOutlines( m_board_poly, allLayerHoles, &errmsg ) ) { errmsg.append( wxT( "\n\n" ) ); - errmsg.append( _( "Unable to calculate the board outlines." ) ); - errmsg.append( wxT( "\n" ) ); - errmsg.append( _( "Therefore use the board boundary box." ) ); + errmsg.append( _( "Cannot determine the board outline." ) ); wxLogMessage( errmsg ); } diff --git a/pcbnew/specctra_export.cpp b/pcbnew/specctra_export.cpp index dd1f83b80c..eb2c7e51c3 100644 --- a/pcbnew/specctra_export.cpp +++ b/pcbnew/specctra_export.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2007-2015 SoftPLC Corporation, Dick Hollenbeck - * Copyright (C) 2015 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2015-2016 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -1157,8 +1157,8 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) else { wxString error = wxString::Format( - _( "Unable to find the next boundary segment with an endpoint of (%s mm, %s mm).\n" - "Edit Edge.Cuts perimeter graphics, making them contiguous polygons each." ), + _( "Unable to find the next boundary segment with an endpoint of (%s mm, %s mm). " + "Edge.Cuts perimeter graphics must form a contiguous, closed polygon." ), GetChars( FROM_UTF8( BOARD_ITEM::FormatInternalUnits( prevPt.x ).c_str() ) ), GetChars( FROM_UTF8( BOARD_ITEM::FormatInternalUnits( prevPt.y ).c_str() ) ) );