diff --git a/eeschema/libedit.cpp b/eeschema/libedit.cpp index 2fcc666915..c0bc65e7a7 100644 --- a/eeschema/libedit.cpp +++ b/eeschema/libedit.cpp @@ -55,9 +55,9 @@ void LIB_EDIT_FRAME::DisplayLibInfos() { PART_LIB* lib = GetCurLib(); - wxString title = wxString::Format( L"Part Library Editor \u2014 %s%s", + wxString title = wxString::Format( _( "Part Library Editor -- %s %s" ), lib ? lib->GetFullFileName() : _( "no library selected" ), - lib && lib->IsReadOnly() ? _( " [Read Only] ") : wxString( wxEmptyString ) ); + lib && lib->IsReadOnly() ? _( "[Read Only]") : wxString( wxEmptyString ) ); SetTitle( title ); } diff --git a/eeschema/libedit_onrightclick.cpp b/eeschema/libedit_onrightclick.cpp index a7e972ce61..5bcd9db26d 100644 --- a/eeschema/libedit_onrightclick.cpp +++ b/eeschema/libedit_onrightclick.cpp @@ -227,7 +227,7 @@ bool LIB_EDIT_FRAME::OnRightClick( const wxPoint& aPosition, wxMenu* PopMenu ) if( not_edited ) { - msg = AddHotkeyName( _( "Delete Line " ), g_Libedit_Hokeys_Descr, HK_DELETE ); + msg = AddHotkeyName( _( "Delete Line" ), g_Libedit_Hokeys_Descr, HK_DELETE ); AddMenuItem( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM, msg, KiBitmap( delete_segment_xpm ) ); } @@ -280,20 +280,20 @@ void AddMenusForPin( wxMenu* PopMenu, LIB_PIN* Pin, LIB_EDIT_FRAME* frame ) if( not_in_move ) { - msg = AddHotkeyName( _( "Move Pin " ), g_Libedit_Hokeys_Descr, + msg = AddHotkeyName( _( "Move Pin" ), g_Libedit_Hokeys_Descr, HK_LIBEDIT_MOVE_GRAPHIC_ITEM ); AddMenuItem( PopMenu, ID_POPUP_LIBEDIT_MOVE_ITEM_REQUEST, msg, KiBitmap( move_xpm ) ); } - msg = AddHotkeyName( _( "Edit Pin " ), g_Libedit_Hokeys_Descr, HK_EDIT); + msg = AddHotkeyName( _( "Edit Pin" ), g_Libedit_Hokeys_Descr, HK_EDIT); AddMenuItem( PopMenu, ID_LIBEDIT_EDIT_PIN, msg, KiBitmap( edit_xpm ) ); - msg = AddHotkeyName( _( "Rotate Pin " ), g_Libedit_Hokeys_Descr, HK_ROTATE ); + msg = AddHotkeyName( _( "Rotate Pin" ), g_Libedit_Hokeys_Descr, HK_ROTATE ); AddMenuItem( PopMenu, ID_LIBEDIT_ROTATE_ITEM, msg, KiBitmap( rotate_cw_xpm ) ); if( not_in_move ) { - msg = AddHotkeyName( _( "Delete Pin " ), g_Libedit_Hokeys_Descr, HK_DELETE ); + msg = AddHotkeyName( _( "Delete Pin" ), g_Libedit_Hokeys_Descr, HK_DELETE ); AddMenuItem( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM, msg, KiBitmap( delete_pin_xpm ) ); } diff --git a/eeschema/sch_line.cpp b/eeschema/sch_line.cpp index 0d56ccb40b..48c3cb397e 100644 --- a/eeschema/sch_line.cpp +++ b/eeschema/sch_line.cpp @@ -462,7 +462,7 @@ wxString SCH_LINE::GetSelectMenuText() const switch( m_Layer ) { case LAYER_NOTES: - txtfmt = _( "%s Graphic Line from (%s,%s) to (%s,%s) " ); + txtfmt = _( "%s Graphic Line from (%s,%s) to (%s,%s)" ); break; case LAYER_WIRE: