Fix issues in strings that need to be translated (non ASCII7 strings, trailing spaces...)
This commit is contained in:
parent
1466d0cee6
commit
dfc49da29b
|
@ -55,9 +55,9 @@
|
||||||
void LIB_EDIT_FRAME::DisplayLibInfos()
|
void LIB_EDIT_FRAME::DisplayLibInfos()
|
||||||
{
|
{
|
||||||
PART_LIB* lib = GetCurLib();
|
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->GetFullFileName() : _( "no library selected" ),
|
||||||
lib && lib->IsReadOnly() ? _( " [Read Only] ") : wxString( wxEmptyString ) );
|
lib && lib->IsReadOnly() ? _( "[Read Only]") : wxString( wxEmptyString ) );
|
||||||
|
|
||||||
SetTitle( title );
|
SetTitle( title );
|
||||||
}
|
}
|
||||||
|
|
|
@ -227,7 +227,7 @@ bool LIB_EDIT_FRAME::OnRightClick( const wxPoint& aPosition, wxMenu* PopMenu )
|
||||||
|
|
||||||
if( not_edited )
|
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,
|
AddMenuItem( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM, msg,
|
||||||
KiBitmap( delete_segment_xpm ) );
|
KiBitmap( delete_segment_xpm ) );
|
||||||
}
|
}
|
||||||
|
@ -280,20 +280,20 @@ void AddMenusForPin( wxMenu* PopMenu, LIB_PIN* Pin, LIB_EDIT_FRAME* frame )
|
||||||
|
|
||||||
if( not_in_move )
|
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 );
|
HK_LIBEDIT_MOVE_GRAPHIC_ITEM );
|
||||||
AddMenuItem( PopMenu, ID_POPUP_LIBEDIT_MOVE_ITEM_REQUEST, msg, KiBitmap( move_xpm ) );
|
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 ) );
|
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 ) );
|
AddMenuItem( PopMenu, ID_LIBEDIT_ROTATE_ITEM, msg, KiBitmap( rotate_cw_xpm ) );
|
||||||
|
|
||||||
if( not_in_move )
|
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 ) );
|
AddMenuItem( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM, msg, KiBitmap( delete_pin_xpm ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -462,7 +462,7 @@ wxString SCH_LINE::GetSelectMenuText() const
|
||||||
switch( m_Layer )
|
switch( m_Layer )
|
||||||
{
|
{
|
||||||
case LAYER_NOTES:
|
case LAYER_NOTES:
|
||||||
txtfmt = _( "%s Graphic Line from (%s,%s) to (%s,%s) " );
|
txtfmt = _( "%s Graphic Line from (%s,%s) to (%s,%s)" );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LAYER_WIRE:
|
case LAYER_WIRE:
|
||||||
|
|
Loading…
Reference in New Issue