Commit e07b4cbe authored by jean-pierre charras's avatar jean-pierre charras

github_plugin.cpp: in error message relative to"cannot get zip archive...",...

github_plugin.cpp: in error message relative to"cannot get  zip archive...", line 496, make the sentence relative to http GET command not translatable
inside the full translated message.
parent 9afc4a0d
......@@ -493,9 +493,11 @@ void GITHUB_PLUGIN::remote_get_zip( const wxString& aRepoURL ) throw( IO_ERROR )
catch( boost::system::system_error& e )
{
// https "GET" has faild, report this to API caller.
wxString fmt( _( "Cannot get/download Zip archive: '%s'\nfor library path: '%s'.\nReason: '%s'" ) );
wxString errorcmd( wxT("https GET command failed") ); // Do not translate this message
wxString fmt( _( "%s\nCannot get/download Zip archive: '%s'\nfor library path: '%s'.\nReason: '%s'" ) );
string msg = StrPrintf( TO_UTF8( fmt ),
TO_UTF8( errorcmd ),
zip_url.c_str(),
TO_UTF8( aRepoURL ),
e.what() );
......
......@@ -328,7 +328,7 @@ void PCB_EDIT_FRAME::OnLeftClick( wxDC* aDC, const wxPoint& aPosition )
if( IsLayerInList( EDGE_LAYER, getActiveLayer() ) )
{
DisplayError( this,
_( "Texts not allowed on Edge Cut layers" ) );
_( "Texts not allowed on Edge Cut layer" ) );
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment