From 9f78a8db272b3a687cd957a5276d2bc77efca4a5 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 31 Oct 2026 11:02:39 -0400 Subject: [PATCH] Follow-ups to #2740, #2691, #2343: comment quotes the rows; locked viewer uses view3d_label; French track-matte pick whip Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/i18n/effects.rs | 2 +- crates/ui-egui/src/i18n/ui.rs | 2 +- crates/ui-egui/src/panels/viewer/view.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/i18n/effects.rs b/crates/ui-egui/src/i18n/effects.rs index 12f6a015b..9f711cb32 100644 --- a/crates/ui-egui/src/i18n/effects.rs +++ b/crates/ui-egui/src/i18n/effects.rs @@ -481,7 +481,7 @@ const TRADITIONAL_CHINESE: &[Row] = &[]; /// the `CC` series, which AE 2026 leaves in English. const JAPANESE_EFFECTS: &[Row] = &[ // Effects this application adds itself have no interface to read a name from, so they follow - // the Chinese catalog's choice to translate them (顔の計測, 顔のトラックポイント) rather than + // the Chinese catalog's choice to translate them (顔の測定, 顔のトラッキングポイント) rather than // staying English. Unmult stays English: that is what the interface it comes from shows. ("ec.3d.instance3d", "3D Layer Instance", "3Dレイヤーインスタンス"), ("ec.color.broadcast", "Broadcast Colors", "ブロードキャストカラー"), diff --git a/crates/ui-egui/src/i18n/ui.rs b/crates/ui-egui/src/i18n/ui.rs index 5022c974f..93e7b2614 100644 --- a/crates/ui-egui/src/i18n/ui.rs +++ b/crates/ui-egui/src/i18n/ui.rs @@ -9741,7 +9741,7 @@ const FRENCH: &[(&str, &str)] = &[ ("Click to sample color", "Cliquez pour échantillonner la couleur"), ("Advanced", "Avancé"), ("Rescan Fonts", "Réanalyser les polices"), - ("Track Matte pick whip: drag onto a layer", "Lasso d’estampe : faites glisser vers un calque"), + ("Track Matte pick whip: drag onto a layer", "Sélecteur d’estampe : faites glisser vers un calque"), ("Play/Stop", "Lecture/Arrêt"), ("Selection Tool", "Outil Sélection"), ("Hand Tool", "Outil Main"), diff --git a/crates/ui-egui/src/panels/viewer/view.rs b/crates/ui-egui/src/panels/viewer/view.rs index e71192376..28c083dba 100644 --- a/crates/ui-egui/src/panels/viewer/view.rs +++ b/crates/ui-egui/src/panels/viewer/view.rs @@ -200,7 +200,7 @@ pub(super) fn locked_pane(app: &mut EffectcraftApp, ui: &mut egui::Ui, full: Rec p.rect_filled(cr, 0.0, Color32::from_rgb((b[0] * 255.0) as u8, (b[1] * 255.0) as u8, (b[2] * 255.0) as u8)); p.image(tex.id(), cr, Rect::from_min_max(pos2(0.0, 0.0), pos2(1.0, 1.0)), Color32::WHITE); p.rect_stroke(cr, 0.0, Stroke::new(1.0, Color32::from_black_alpha(160)), StrokeKind::Outside); - let label = crate::i18n::tr_args("Locked: {} — {}", &[&name, &(if comp.has_3d() { lv.view.label() } else { crate::i18n::tr("Active Camera") })]); + let label = crate::i18n::tr_args("Locked: {} — {}", &[&name, &(if comp.has_3d() { super::view3d_label(lv.view) } else { crate::i18n::tr("Active Camera") })]); p.text(r.left_top() + vec2(8.0, 8.0), Align2::LEFT_TOP, &label, Tokens::ui(11.0), Color32::from_white_alpha(210)); app.auto.add("viewer.locked", r, &label); // Close the locked viewer.