← Back to team overview

kicad-developers team mailing list archive

please make ruler tool translatable

 

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

-- 


Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------



Follow ups