Fix a minor I18n issue
Fixes: lp:1811640 https://bugs.launchpad.net/kicad/+bug/1811640
This commit is contained in:
parent
4f0749b0b4
commit
31fa3af8d8
|
@ -254,7 +254,7 @@ protected:
|
||||||
if( i == 0 )
|
if( i == 0 )
|
||||||
msg = _( "Track netclass width" );
|
msg = _( "Track netclass width" );
|
||||||
else
|
else
|
||||||
msg = _( "Track " ) + MessageTextFromValue( units, width, true );
|
msg.Printf( _( "Track %s" ), MessageTextFromValue( units, width, true ) );
|
||||||
|
|
||||||
int menuIdx = ID_POPUP_PCB_SELECT_WIDTH1 + i;
|
int menuIdx = ID_POPUP_PCB_SELECT_WIDTH1 + i;
|
||||||
Append( menuIdx, msg, wxEmptyString, wxITEM_CHECK );
|
Append( menuIdx, msg, wxEmptyString, wxITEM_CHECK );
|
||||||
|
@ -271,10 +271,12 @@ protected:
|
||||||
msg = _( "Via netclass values" );
|
msg = _( "Via netclass values" );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
msg = _( "Via " ) + MessageTextFromValue( units, via.m_Diameter, true );
|
|
||||||
|
|
||||||
if( via.m_Drill > 0 )
|
if( via.m_Drill > 0 )
|
||||||
msg << _(", drill " ) << MessageTextFromValue( units, via.m_Drill, true );
|
msg.Printf( _("Via %s, drill %s" ),
|
||||||
|
MessageTextFromValue( units, via.m_Diameter, true ),
|
||||||
|
MessageTextFromValue( units, via.m_Drill, true ) );
|
||||||
|
else
|
||||||
|
msg.Printf( _( "Via %s" ), MessageTextFromValue( units, via.m_Diameter, true ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
int menuIdx = ID_POPUP_PCB_SELECT_VIASIZE1 + i;
|
int menuIdx = ID_POPUP_PCB_SELECT_VIASIZE1 + i;
|
||||||
|
|
Loading…
Reference in New Issue