From 4ab69b877e0e43b34e0db8447c3c80f8e18029ae Mon Sep 17 00:00:00 2001 From: bflatastic Date: Mon, 12 Oct 2026 00:19:39 +0700 Subject: [PATCH] Tests and Czech: select.key's new error is translated in cs, and the select tool test sets a shared appearance --- crates/tools/src/select.rs | 2 +- crates/ui-egui/src/i18n/cs.tsv | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/tools/src/select.rs b/crates/tools/src/select.rs index 098f163a8..a766f5926 100644 --- a/crates/tools/src/select.rs +++ b/crates/tools/src/select.rs @@ -863,7 +863,7 @@ mod tests { let member = |id: NodeId, r: Rect| std::sync::Arc::new(Node::path(id, shapes::rectangle(r), Appearance::default())); let children = vec![member(a, Rect::new(150.0, 100.0, 250.0, 200.0)), member(b, beside)]; let mut compound = Node::new(c, NodeKind::Compound { children, rule: Default::default() }); - compound.appearance = Appearance::default_art(); + compound.appearance = Appearance::default_art().into(); d.insert(Some(l), 0, compound).unwrap(); let mut s = Selection::default(); s.add(a); diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 9e8658dcf..e90b7d467 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -3879,6 +3879,7 @@ effect Regular Pravidelný @msg nothing to wrap není co obtékat @msg object {0} cannot have children objekt {0} nemůže mít potomky @msg object {id} is not a path objekt {id} není cesta +@msg object {id} is not a selected top-level object objekt {id} není vybraný objekt nejvyšší úrovně @msg page size {w} × {h} velikost stránky {w} × {h} @msg page {0} does not exist (the PDF has {1}) stránka {0} neexistuje (PDF jich má {1}) @msg paste unavailable vložení není k dispozici