From b50d3966b556eb007a0ed03abebcb8147d2bc549 Mon Sep 17 00:00:00 2001 From: Marco Ciampa Date: Tue, 2 May 2017 09:26:13 +0200 Subject: [PATCH] Pcbnew: make ruler tool warning translatable. --- pcbnew/onleftclick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/onleftclick.cpp b/pcbnew/onleftclick.cpp index 38b9ef08f0..2707fe1511 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;