Remove spaces from start of common translated words

This commit is contained in:
Seth Hillbrand 2018-03-08 19:32:01 -08:00
parent 52ab6216c0
commit 26392f8070
2 changed files with 8 additions and 7 deletions

View File

@ -156,6 +156,7 @@ wxString LengthDoubleToString( double aValue, bool aConvertToMils )
} }
text.Printf( format, value ); text.Printf( format, value );
text += " ";
if( g_UserUnit == INCHES ) if( g_UserUnit == INCHES )
text += ( aConvertToMils ) ? _( "mils" ) : _( "in" ); text += ( aConvertToMils ) ? _( "mils" ) : _( "in" );
@ -243,15 +244,15 @@ wxString StringFromValue( EDA_UNITS_T aUnit, int aValue, bool aAddUnitSymbol )
switch( aUnit ) switch( aUnit )
{ {
case INCHES: case INCHES:
stringValue += _( " \"" ); stringValue += " " + _( "\"" );
break; break;
case MILLIMETRES: case MILLIMETRES:
stringValue += _( " mm" ); stringValue += " " + _( "mm" );
break; break;
case DEGREES: case DEGREES:
stringValue += _( " deg" ); stringValue += " " + _( "deg" );
break; break;
case UNSCALED_UNITS: case UNSCALED_UNITS: