cadstar: Report warning that imported text may be different

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12195


(cherry picked from commit 69d696660b)
This commit is contained in:
Roberto Fernandez Bautista 2022-08-14 21:13:27 +01:00
parent 47cb817a86
commit f637a820b6
2 changed files with 9 additions and 0 deletions

View File

@ -255,6 +255,11 @@ void CADSTAR_SCH_ARCHIVE_LOADER::Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSh
checkPoint();
m_reporter->Report( _( "CADSTAR fonts are different to the ones in KiCad. This will likely "
"result in alignment issues. Please review the imported text elements "
"carefully and correct manually if required." ),
RPT_SEVERITY_WARNING );
m_reporter->Report( _( "The CADSTAR design has been imported successfully.\n"
"Please review the import errors and warnings (if any)." ) );
}

View File

@ -161,6 +161,10 @@ void CADSTAR_PCB_ARCHIVE_LOADER::Load( BOARD* aBoard, PROJECT* aProject )
"re-use block information has been discarded during the import." ) );
}
wxLogWarning( _( "CADSTAR fonts are different to the ones in KiCad. This will likely result "
"in alignment issues that may cause DRC errors. Please review the imported "
"text elements carefully and correct manually if required." ) );
wxLogMessage(
_( "The CADSTAR design has been imported successfully.\n"
"Please review the import errors and warnings (if any)." ) );