A test for the Chinese grid menu problem.

Fixes https://gitlab.com/kicad/code/kicad/issues/9449
This commit is contained in:
Jeff Young 2021-11-15 14:20:30 +00:00
parent 3f60765016
commit 97943e0c7c
1 changed files with 3 additions and 3 deletions

View File

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