From 8a3bc3fe4de199c72251377a87a47ec045bbb545 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 25 Oct 2021 06:24:06 -0700 Subject: [PATCH] Don't translate empty strings The _( "" ) msgid is reserved in gettext, so we need to avoid it in code --- pcbnew/tools/drawing_tool.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/tools/drawing_tool.cpp b/pcbnew/tools/drawing_tool.cpp index 55c8a6e72d..a2ec5bbe3d 100644 --- a/pcbnew/tools/drawing_tool.cpp +++ b/pcbnew/tools/drawing_tool.cpp @@ -262,7 +262,8 @@ void DRAWING_TOOL::updateStatusBar() const else constrained = m_frame->Settings().m_FpeditUse45DegreeLimit; - m_frame->DisplayConstraintsMsg( constrained ? _( "Constrain to H, V, 45" ) : _( "" ) ); + m_frame->DisplayConstraintsMsg( + constrained ? _( "Constrain to H, V, 45" ) : wxString( "" ) ); } }