block definition: locale coverage, tests for the new defaults, wraps

- block-def strings in every locale (English until translated); the
  catalog test requires each locale to carry them.
- A new block's base point starts at 0, and ATTMAN / BATTMAN report a
  drawing without attributed blocks; the tests expect that now.
- Lines over 100 columns wrapped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 00:16:35 +03:00
1 parent 838e397a6c
commit bcd52be4c7
28 files changed
+153 -36

No files matched your search

+2 -2
View File
@@ -1582,8 +1582,8 @@ mod block_base_point_tests {
app.block_definition
.as_ref()
.map(|s| s.base_point_y.as_str()),
Some("0.0000"),
"a new block still starts at 0.0000"
Some("0"),
"a new block starts at 0"
);
let _ = app.update(Message::BlockDefNameSelect("DEF_BASE".to_string()));