A test for the Chinese grid menu problem.
Fixes https://gitlab.com/kicad/code/kicad/issues/9449
This commit is contained in:
parent
3f60765016
commit
97943e0c7c
|
@ -90,9 +90,9 @@ void GRID_MENU::BuildChoiceList( wxArrayString* aGridsList, APP_SETTINGS_BASE* a
|
||||||
{
|
{
|
||||||
int val = (int) ValueFromString( EDA_UNITS::MILLIMETRES, gridSize );
|
int val = (int) ValueFromString( EDA_UNITS::MILLIMETRES, gridSize );
|
||||||
|
|
||||||
msg.Printf( _( "Grid: %s (%s)" ),
|
msg = _( "Grid" ) + wxString::Format( wxT( ": %s (%s)" ),
|
||||||
MessageTextFromValue( primaryUnit, val ),
|
MessageTextFromValue( primaryUnit, val ),
|
||||||
MessageTextFromValue( secondaryUnit, val ) );
|
MessageTextFromValue( secondaryUnit, val ) );
|
||||||
|
|
||||||
aGridsList->Add( msg );
|
aGridsList->Add( msg );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue