Slight adjustment of wording

This commit is contained in:
Matthias Koefferlein 2024-05-19 17:35:03 +02:00
parent 8422fe8f83
commit cf8ff2f750
2 changed files with 2 additions and 2 deletions

View File

@ -1705,7 +1705,7 @@ DEFImporter::do_read (db::Layout &layout)
if (fabs (units) > 1e-6) {
scale = 1.0 / (units * layout.dbu ());
if (fabs (scale - 1.0) > db::epsilon) {
warn (tl::sprintf (tl::to_string (tr ("DEF UNITS not matching reader DBU (DEF UNITS is %.12g and corresponds to a DBU of %.12g, but reader unit is %.12g)")),
warn (tl::sprintf (tl::to_string (tr ("DEF UNITS does not match reader DBU (DEF UNITS is %.12g and corresponds to a DBU of %.12g, but reader DBU is set to %.12g)")),
units, 1.0 / units, layout.dbu ()));
}
}

View File

@ -229,7 +229,7 @@ LEFDEFReader::read_lefdef (db::Layout &layout, const db::LoadLayoutOptions &opti
reader.read (*new_layout, options);
if (fabs (new_layout->dbu () / layout.dbu () - 1.0) > db::epsilon) {
importer.warn (tl::sprintf (tl::to_string (tr ("DBU of macro layout file '%s' is not compatible with reader DBU (layout DBU is %.12g, reader DBU is %.12g)")),
importer.warn (tl::sprintf (tl::to_string (tr ("DBU of macro layout file '%s' does not match reader DBU (layout DBU is %.12g, reader DBU is set to %.12g)")),
lp, new_layout->dbu (), layout.dbu ()));
}