Remove spaces from start of common translated words
This commit is contained in:
parent
52ab6216c0
commit
26392f8070
|
@ -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:
|
||||
|
|
|
@ -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 ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue