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

View File

@ -394,9 +394,9 @@ void TEXTE_MODULE::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList )
aList.push_back( MSG_PANEL_ITEM( _( "Layer" ), GetLayerName(), DARKGREEN ) );
if( IsMirrored() )
msg = _( " Yes" );
msg = _( "Yes" );
else
msg = _( " No" );
msg = _( "No" );
aList.push_back( MSG_PANEL_ITEM( _( "Mirror" ), msg, DARKGREEN ) );