kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #29336
Re: please make ruler tool translatable
Marco,
I merged your patch into the master branch.
Thanks,
Wayne
On 5/2/2017 3:26 AM, Marco Ciampa wrote:
> Please apply this trivial patch:
>
> diff --git a/pcbnew/onleftclick.cpp b/pcbnew/onleftclick.cpp
> index 38b9ef0..2707fe1 100644
> --- a/pcbnew/onleftclick.cpp
> +++ b/pcbnew/onleftclick.cpp
> @@ -440,7 +440,7 @@ void PCB_EDIT_FRAME::OnLeftClick( wxDC* aDC, const wxPoint& aPosition )
> break;
>
> case ID_PCB_MEASUREMENT_TOOL:
> - DisplayError( this, wxT( "This tool is not available in the legacy canvas" ) );
> + DisplayError( this, _( "This tool is not available in the legacy canvas" ) );
> SetToolID( ID_NO_TOOL_SELECTED, m_canvas->GetDefaultCursor(), wxEmptyString );
> break;
>
> TIA
>
References