Don't translate empty strings

The _( "" ) msgid is reserved in gettext, so we need to avoid it in code
This commit is contained in:
Seth Hillbrand 2021-10-25 06:24:06 -07:00
parent 39a66d8340
commit 8a3bc3fe4d
1 changed files with 2 additions and 1 deletions

View File

@ -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( "" ) );
}
}