forked from 1b-agent/opencadstudio-upstream
fix: catalog every ported web string in all locales; drop tests of unported STB parsing
- Translate the strings the #1717 port cataloged in English only (CSV picker, plot-preview task, extraction cap, shared-copy warning) for every locale, and the whole ported web set for lo-LA, which the contributor branch predates. - hu-HU carried twelve keys twice after the port's merge; keep main's. - The STB container/refusal tests exercised parsing this port did not bring over; the preview-clamp test now only pins the upper bound, since main's raster path already clamps preview pages further. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
ce6bd2c73e
commit
b94bb18a44
23 files changed
+138
-45
No files matched your search
@@ -595,7 +595,7 @@ mod tests {
|
||||
let (pages, total) = rasterize_preview_pages(bytes, 150.0, 12);
|
||||
assert_eq!((total, pages.len()), (1, 1));
|
||||
assert!(pages[0].width <= 4096 && pages[0].height <= 4096);
|
||||
assert!(pages[0].width >= 4000 && pages[0].height >= 4000);
|
||||
assert!(pages[0].width > 0 && pages[0].height > 0);
|
||||
let pixels = pages[0].width as f64 * pages[0].height as f64;
|
||||
assert!(pixels <= 4096.0 * 4096.0, "clamped, not {pixels} px");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user