From 6b293a913bfc55192b9f25dffe0ed0e1026b62e0 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Thu, 29 Oct 2026 20:13:08 +0700 Subject: [PATCH] =?UTF-8?q?i18n:=20Turkish=20"Open"=20is=20the=20verb=20(A?= =?UTF-8?q?=C3=A7);=20the=20Arc=20tool's=20open=20arc=20keeps=20A=C3=A7?= =?UTF-8?q?=C4=B1k=20(#4564)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Turkish catalog translated the bare "Open" as the adjective (Açık), so the Home screen's Open button and the History panel's first row read "open" rather than "open it". The Arc tool's Type choice, where Open is the adjective, now looks its labels up in a "shape" context (falling back to the plain row in the other languages), and Turkish gives it Açık there. --- crates/ui-egui/src/dialogs/shapes.rs | 12 +++++++++++- crates/ui-egui/src/i18n/tr.tsv | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/dialogs/shapes.rs b/crates/ui-egui/src/dialogs/shapes.rs index dd2201de0..392c043f3 100644 --- a/crates/ui-egui/src/dialogs/shapes.rs +++ b/crates/ui-egui/src/dialogs/shapes.rs @@ -229,7 +229,17 @@ fn arc_form(ui: &mut egui::Ui, d: &mut Dialog, unit: Unit) { if d.f64("lengthY", 100.0) != ly0 { arc_pin_to_anchor(d); } - form::choice(ui, d, "arcType", tl!("Type:"), (form::FIELD_W, form::FIELD_W - 12.0), &[("open", tl!("Open")), ("closed", tl!("Closed"))]); + form::choice( + ui, + d, + "arcType", + tl!("Type:"), + (form::FIELD_W, form::FIELD_W - 12.0), + &[ + ("open", crate::i18n::tr_ctx(crate::i18n::current(), "shape", "Open")), + ("closed", crate::i18n::tr_ctx(crate::i18n::current(), "shape", "Closed")), + ], + ); form::choice( ui, d, diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index 8ef43c809..7b40f80b6 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -1965,7 +1965,8 @@ font-technology Variable Değişken Opacity: Default Opaklık: Varsayılan Opacity: {value} Opaklık: {value} Opaque Opak - Open Açık + Open Aç +shape Open Açık Open a document to edit its patterns. Desenlerini düzenlemek için bir belge açın. Open a document to navigate it. Gezinmek için bir belge açın. Open a document to preview its flattening. Düzleştirilmesinin önizlemesini görmek için bir belge açın.