mirror of https://github.com/KLayout/klayout.git
Slight adjustment of wording
This commit is contained in:
parent
8422fe8f83
commit
cf8ff2f750
|
|
@ -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 ()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 ()));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue