minor fix component subref in russian GOST
This commit is contained in:
parent
560abfa30a
commit
cf8f8ca2cc
|
@ -261,7 +261,7 @@ wxString LIB_COMPONENT::GetLibraryName()
|
|||
wxString LIB_COMPONENT::ReturnSubReference( int aUnit )
|
||||
{
|
||||
wxString subRef;
|
||||
#if defined(KICAD_GOST)
|
||||
#if defined(KICAD_GOST)
|
||||
subRef.Printf( wxT(".%d" ), aUnit);
|
||||
#else
|
||||
subRef.Append( wxChar(aUnit + 'A' - 1) );
|
||||
|
|
|
@ -597,14 +597,14 @@ int SCH_REFERENCE_LIST::CheckAnnotation( wxArrayString* aMessageList )
|
|||
if( componentFlatList[ii].CompareValue( componentFlatList[next] ) != 0 )
|
||||
{
|
||||
#if defined(KICAD_GOST)
|
||||
msg.Printf( _( "Different values for %s%d.%c (%s) and %s%d.%c (%s)" ),
|
||||
msg.Printf( _( "Different values for %s%d.%d (%s) and %s%d.%d (%s)" ),
|
||||
GetChars( componentFlatList[ii].GetRef() ),
|
||||
componentFlatList[ii].m_NumRef,
|
||||
componentFlatList[ii].m_Unit + '1' - 1,
|
||||
componentFlatList[ii].m_Unit,
|
||||
GetChars( *componentFlatList[ii].m_Value ),
|
||||
GetChars( componentFlatList[next].GetRef() ),
|
||||
componentFlatList[next].m_NumRef,
|
||||
componentFlatList[next].m_Unit + '1' - 1,
|
||||
componentFlatList[next].m_Unit,
|
||||
componentFlatList[next].m_Value->GetData() );
|
||||
#else
|
||||
msg.Printf( _( "Different values for %s%d%c (%s) and %s%d%c (%s)" ),
|
||||
|
|
Loading…
Reference in New Issue