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.
This commit is contained in:
parent
9afc4a0db6
commit
e07b4cbe86
|
@ -493,9 +493,11 @@ void GITHUB_PLUGIN::remote_get_zip( const wxString& aRepoURL ) throw( IO_ERROR )
|
||||||
catch( boost::system::system_error& e )
|
catch( boost::system::system_error& e )
|
||||||
{
|
{
|
||||||
// https "GET" has faild, report this to API caller.
|
// 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 ),
|
string msg = StrPrintf( TO_UTF8( fmt ),
|
||||||
|
TO_UTF8( errorcmd ),
|
||||||
zip_url.c_str(),
|
zip_url.c_str(),
|
||||||
TO_UTF8( aRepoURL ),
|
TO_UTF8( aRepoURL ),
|
||||||
e.what() );
|
e.what() );
|
||||||
|
|
|
@ -328,7 +328,7 @@ void PCB_EDIT_FRAME::OnLeftClick( wxDC* aDC, const wxPoint& aPosition )
|
||||||
if( IsLayerInList( EDGE_LAYER, getActiveLayer() ) )
|
if( IsLayerInList( EDGE_LAYER, getActiveLayer() ) )
|
||||||
{
|
{
|
||||||
DisplayError( this,
|
DisplayError( this,
|
||||||
_( "Texts not allowed on Edge Cut layers" ) );
|
_( "Texts not allowed on Edge Cut layer" ) );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue